When a *.lnk file is added to the Project, Windows recognizes this as a shortcut and adds the program that the link points to.
Follow these steps to get your installer to change the .exe back to a .lnk extension:
- Change the file extension of this file to something other than *.lnk.
- Create a batch file for your installer that programmatically changes the shortcut extension back to .lnk .
- Add batch file to your project and include it in the installer in My Installer Properties>Source Files.
- In My Installer Properties>Advanced select the batch file to run after the installation.
See figures and related links for additional details on how to do this.
![](/servlet/rtaImage?eid=ka03q000001ENWv&feoid=00N3q00000HUsuI&refid=0EM0Z000000WBEy)
Additional Information
This is an issue with Windows OS and this process will have to be done in any development environment.