View forum topicList of forum topics
Subject: Shortcut missing icon file - path issue?
I'm using CreateInstall Light 8.0.1. In this case, I've been using the CreateInstall Assistant to set up what is, or should be, a very simple installation. It just needs to put an executable in a suitably-named folder and put shortcuts in the programs menu and desktop. No data files, no Registry changes, nothing. (it's actually a totally portable program that doesn't care where it is -- you could run off a flash drive if you wanted to -- but people expect an installer, so they're getting an installer)
The problem is that after it installed (which works properly) the desktop shortcut has the default icon. Going through "Properties" to "Change Icon" results in a message that Windows can't find %ProgramFiles%\(the path). But if you click "Browse", it is looking at exactly the correct folder, and there's the file right in front of you. I've tried this using both the executable itself and even a separate icon file, and neither one is properly picked up by the installer.
I'm obviously doing *something* wrong with my path settings in CreateInstall; I'm just not sure what. What may be relevant is that this is a 64-bit OS installing a 32-bit program, so it's possible that the issue somehow involves the difference between %ProgramFiles% and %ProgramFiles(86)%. Or maybe not.
I know this is something simple that I'm just overlooking, and I'm going to facepalm when someone points out what it is, but I've spent half a day messing with it and gotten no results.
So: what SHOULD I be setting, and where, to assign the correct icon location, which is the executable itself? (or a separate icon file in the same folder; I've tried either way)
Include .ico file into your setup in the same folder where there is your application .exe file.
In this case, it is enough to specify only icon file in Icon File field.
Icon File: myapp.ico
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.