I am new with nsis development, sorry if I ask obvious things! Just I'm having some troubles with the use of icons and with uninstaller options. Mainly I encountered 2 "problems":
- ICONS
At the beginning of the nsi file after the field "Name" I used the following code:
Icon "icon-inst.ico"
Seeing that the icon is in the same path as the nsi file.
Then in uninstaller section I used:
UninstallIcon "icon-uninst.ico"
Once I compile the file I have this error:
Generating uninstaller...
the fact is that both the icon are exactly of the same size and they are both made with 1 single image 48x48 with 256 colors.
Error finding icon resources: installer, uninstaller icon size mismatch - see the Icon instruction's documentation for more information -- failing!
Error - aborting creation process - UNINSTALLER
Concerning the uninstaller I have to say that after the installation, the installer creates an icon on the desktop, linking the executable file. If I rename this link, then the uninstaller doesn't delete it. The instructions I used to delete the desktop link in the nsi file is:
Delete "$DESKTOP\Exefile.lnk"
Any suggestions concerning these 2 questions( /problems )?
Thanks in advance, regards