Dave Sharp
June 28th, 2001, 10:07 AM
Can someone tell me how to put a desktop icon for an application into the Deployment Wizard package for the app? Obviously, it has to deal with the possibility that the user will install the package somewhere other than the default install location.
Thanks in advance.
Dave
Harini
June 28th, 2001, 10:44 AM
Hello,
I donot know about the deployment wizard application, but the following is the function that we use in Installshield. May be it will help you or give you some idea.
AddFolderIcon (szProgramFolder, szItemName, szCommandLine, szWorkingDir, szIconPath, nIcon, szShortCutKey, nFlag);
szProgramFolder--Specifies the name of the folder to which to add the icon. It should be the path for Desktop folder.
szItemName--Specifies the name of the icon to add to the folder.
szCommandLine--specifies the path of the executable.
szWorkingDir--Specifies the directory where the application's program files are located.
szIconPath--Specifies the fully qualified filename of the icon to display
nIcon can be 0
szShortCutKey--Specifies the shortcut key (in the form of a string) that allows the end user to start the application quickly.
nFlag--Specifies icon appearance
Thanks
Harini