I can add the icon shortcut on the destop using "AddFolderIcon" function. However, it can't remove the icon every time during uninstallation.
I don't know when the icon can be removed. It is because
sometime it can remove but sometime it can't remove.
I am using W2k to test the setup program. Any suggestion ??
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

ICON Shortcut
Started by
AND
, Mar 08 2002 08:27
4 replies to this topic
Posted 12 March 2002 - 13:11
Hi All,
I'm experiencing a similar problem with AddFolderIcon, however I'm using the FOLDER_PROGRAMS parameter as opposed to FODLER_DESKTOP. As with the user AND when I perform an un-install of my setup, it does not remove the program folder or startup icon, created by the AddFolderIocn fucntion.
Any Ideas/Responses greatly appreciated,
I'm experiencing a similar problem with AddFolderIcon, however I'm using the FOLDER_PROGRAMS parameter as opposed to FODLER_DESKTOP. As with the user AND when I perform an un-install of my setup, it does not remove the program folder or startup icon, created by the AddFolderIocn fucntion.
Any Ideas/Responses greatly appreciated,
Edmundo
Posted 12 March 2002 - 17:00
You need to make sure that you have the uninstall logging turned on when you call the AddFolderIcon function. This will log the icon to be removed during uninstall.
Anthony
Anthony
Product Availability Developer
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project
Posted 26 March 2002 - 15:01
Thanks Anthonyh,
I have placed Enable (LOGGING); before creating my icons, however they are still not removed when I perform an Un-Installation. Would you have any idea why?
Am I missing somehting else?
Should this piece of code be placed somewhere else?
Should the code that creates the shortcut icons be placed in a certain section?
Should I write code that writes to the Un-Install file to reference the icons for Un-Installation?
All replies greatly appreciated,
Kind Regards,
I have placed Enable (LOGGING); before creating my icons, however they are still not removed when I perform an Un-Installation. Would you have any idea why?
Am I missing somehting else?
Should this piece of code be placed somewhere else?
Should the code that creates the shortcut icons be placed in a certain section?
Should I write code that writes to the Un-Install file to reference the icons for Un-Installation?
All replies greatly appreciated,
Kind Regards,
Edmundo
Posted 26 March 2002 - 17:15
My install creates icons and I don't have any problems uninstalling them. As long as the following three functions have been called before you want to start loggin, then you shouldn't habe any problems.
InstallationInfo(szCompany, szProduct, szVersion, szProductKey);
DeinstallStart (TARGETDIR, svLogFile, szKey, 0);
DeinstallSetReference (TARGETDIR ^ PRODUCT_KEY);
Look in help for more details.
Anthony
InstallationInfo(szCompany, szProduct, szVersion, szProductKey);
DeinstallStart (TARGETDIR, svLogFile, szKey, 0);
DeinstallSetReference (TARGETDIR ^ PRODUCT_KEY);
Look in help for more details.
Anthony
Product Availability Developer
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project
Avantis
Invensys Process Systems
Using InstallShield Developer 7.04 - Basic Project