Remove desktop shortcut
Posted 15 June 2004 - 06:10
I have created a desktop shortcut to my program during the installation. However,
it is not removed during uninstallation.
Can someone guide me please how to remove this.
I am using ISWI 1.5 on windows XP.
I am new to using ISWI 1.5, so can somone guide me with bit more details please.
Thanks in Advance
Steve
Posted 15 June 2004 - 14:17
Did you set the "Uninstall" property of your shortcut to "Yes"?
If you created the shortcut inside of your script:
make sure that LOGGING hadn't been disabled before.
Posted 15 June 2004 - 15:02
Posted 15 June 2004 - 15:31
Stefan Krüger
InstallSite.org twitter facebook
Posted 15 June 2004 - 22:18
I have created the shortcut using the shortcuts explorer.
The following properties have been set.
Display Name
Description
Arguments
Target,
Icon File
Icon Index
Run
Working Directory
Hot Key
Comments.
No other properties are available for uninstalling the shortcut.
There is no Uninstall property available.
Thanks
Steve
Posted 16 June 2004 - 13:31
Check the component to which the shortcut is attached. Does it get uninstalled properly?
Stefan Krüger
InstallSite.org twitter facebook
Posted 17 June 2004 - 10:51
Yes, I generated the log file of the unistall and the component to which the shortcut belongs is not removed. It is still hanging around on the system and in the Registry.
Its not a shared component either.
some other dlls were also not removed, not unregistered.
The components shared property was set to No.
some dlls were still found in the Registry under HKLM\software\Microsoft\windows\current\shared even though the shared property of those components was set to No.
I am using Installshield professional 2000 for windows installer 1.5 on windows xp
Thanks
Steve
Posted 17 June 2004 - 12:24
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 June 2004 - 10:15
It is a fresh install on a clean machine. I searched the Registry for the component for which shortcut was created. It was found at HKLM\software\microsoft\windows\currentversion\sharedDlls. I manually deleted the entry before running uninstall and to my surprise both the component and desktop shortcut were removed.
The question here is why the component was registered as a shared dll by the installshield when the shared property for the component was set to NO.
There were few other dlls which were also registered as shared dlls when their shared property was set to NO.
If I delete them from registry from the shareddll entry, they were being removed from the machine otherwise not.
This is a clean machine and there were no previous installations.
Any help would be much appreciated.
Steve
Posted 18 June 2004 - 14:45
What's the value of the shareddll counter in registry before you uninstall, and what after uninstall?
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 June 2004 - 05:36
Before the Uninstall the ref count was 1 and after uninstall the entry has been removed by installshield.
However the dlls are still found in the system32 directory.
Steve
Posted 21 June 2004 - 08:26
Stefan Krüger
InstallSite.org twitter facebook
Posted 22 June 2004 - 22:07
I appreciate your time and guidance.
Have a nice day.
Steve