View Full Version : Shortcuts and icon path warning
NewsArchive
05-29-2009, 01:36 AM
Hallo,
The compiler will not warn if the path of the icon [on shortcuts] is invalid. It will be nice if we could have an warning here.
Thank you,
Regards,
Robert Iliuta
NewsArchive
05-29-2009, 01:36 AM
Hi Robert,
> The compiler will not warn if the path of the icon [on shortcuts] is
> invalid. It will be nice if we could have an warning here.
Well, the path of the icon is a runtime thing. What can the compiler do
here?
For example: %TEST%\test.ico
%TEST% is resolved at runtime, say, to c:\robert
It's impossible to check (at compile time) if c:\test\test.ico is valid at
runtime ;-)
Do you see what I mean?
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder is installation -- "point. click. ship"
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
05-29-2009, 01:36 AM
Hallo Friedrich,
Maybe you could take the path from Files and Folders \ Application Folder\
and on the right side there is the icon with the relative path. It is the
same icon name that we used for shortcut. Maybe this will do the trick.
Regards,
Robert Iliuta
NewsArchive
05-29-2009, 01:37 AM
Robert,
> Maybe you could take the path from Files and Folders \ Application
> Folder\ and on the right side there is the icon with the relative
> path. It is the same icon name that we used for shortcut. Maybe
> this will do the trick.
I think you are missing something. You can use the browse button (...) to
point to an .ico file (or files that include icon resources) that are part
of your installation (see attached screenshot).
If you point to other icons (standard Windows icons in the Windows folder,
or icons from already installed .exe or .dll, etc.) then you have to use
variables here. The compiler cannot check the validity of this specified
file at compile time.
Do you see what I mean?
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.