View Full Version : At what point is the desktop shortcut added

02-23-2005, 05:08 PM
My project now installs and uninstalls fine but if I need to reboot the setup doesn't add the desktop shortcut. grrr. At what point is the desktop icon added so I can manually add it into my script.

I have an InstallScript project.

02-25-2005, 05:54 AM
Shorcuts are created just after finishing OnFirstUIBefore function. you can note "Creating shortcuts.." text almost at the end of StatusEx dialog..i mean on completion state 100%..

you can very well create shortcuts thru Script in OnFirstUIAfter function.

Make sure to call ProgDefGroupType() before calling AddFolderIcon()so that the shortcut will be available for those user groups.


nResult = AddFolderIcon (szProgramFolder, szItemName, szCommandLine,szWorkingDir, szIconPath, nIcon, szShortCutKey,nFlag);

- Anna