This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- short cuts stays after remove of product !
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2007
02:14 AM
short cuts stays after remove of product !
Hi,
I have a basic msi project who installs some exe some dll some xml file on a target computer.
All works perfectly but when i want to remove the product the short cut stays on the desktop and on the start menu!
it's all depend on the computer, i've try on a win 2003 short cut aren't present after remove but on a win xp short cut are present !!!
Someone can tell me how i can delete these file or what's happens !!!
Thanks for you idea !
Christophe
I have a basic msi project who installs some exe some dll some xml file on a target computer.
All works perfectly but when i want to remove the product the short cut stays on the desktop and on the start menu!
it's all depend on the computer, i've try on a win 2003 short cut aren't present after remove but on a win xp short cut are present !!!
Someone can tell me how i can delete these file or what's happens !!!
Thanks for you idea !
Christophe
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2007
06:55 AM
I had this problem once. I my case, I found that the component including the shortcut had the same GUID as another component from another project I built. When both program were installed, the system detected this component as shared and did not remove the shortcut properly. I fixed it by changing my components GUID.
I know that this is a long shot, but maybe you can try changing the GUID ?
I know that this is a long shot, but maybe you can try changing the GUID ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2007
04:12 PM
Alternatively, if your shortcuts belong to a different component (so that you could use a different condition or something) make sure that the condition for that component is satisfied on uninstall as well as install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2007
03:21 AM
Hi both,
Nicolasb => i've try to changing the component guid for the shortcut but ONLY on windows xp the short cut is always present and some other file in Program files\my product\ !!!!!
I've doing a custom action for to use fonction deletedir with parameters allcontents for delete all file
but that's doesn't work, everytime on windows xp some file are always present and shortcut too !
Kelter => can you tell me witch condition i must to use for remove the short cut ?!
Thanks for all,
Christophe
Nicolasb => i've try to changing the component guid for the shortcut but ONLY on windows xp the short cut is always present and some other file in Program files\my product\ !!!!!
I've doing a custom action for to use fonction deletedir with parameters allcontents for delete all file
if (ExistsDir (szPathInstall) = EXISTS) then
// Delete the root folder
if (DeleteDir ( szPathInstall, ALLCONTENTS) = 0) then
// MessageBox(" All was deleted", INFORMATION );
else
MessageBox("unable to delete file", SEVERE);
but that's doesn't work, everytime on windows xp some file are always present and shortcut too !
Kelter => can you tell me witch condition i must to use for remove the short cut ?!
Thanks for all,
Christophe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2007
06:50 AM
When originally you said that only the shortcut was left behind, i thought that maybe you had a seperate component for just the shortcut. But since you say there are files left behind also, here's a few more questions:
Do the files left behind belong to the same component as the shortcut, or if they are different components, do those components have conditional terms in common? If there are conditional terms in common, do they relate to the install state or install action?
Do the files left behind belong to the same component as the shortcut, or if they are different components, do those components have conditional terms in common? If there are conditional terms in common, do they relate to the install state or install action?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 12, 2007
02:22 AM
Hi Kelter,
To begin thanks for you time !
Here is it more information !
a) Do the files left behind belong to the same component as the shortcut ?
Yes, but there are also others files who stays on the computer after remove the product. These files are in others component !
You know just at my custom action who delete all files, i place a messageBox and on my computer i have installed UNLOCKER for to see if file are locked by something when i removed the product ! but no files are locket by something !
b) do those components have conditional terms in common?
No no condition are put for all component !
c) do they relate to the install state or install action ?
hm !? i don't understand ! these component are just installed and uninstalled when the user choice this option ! There are no script or anything else for these component !
My package is a basic msi project
You know i can't understand WHY these component are left in some OS as win xp and others OS as vista, win2000 and 2003 component are well removed !
pffffffffffff rather boring as problem 😉
Have a nice day
Christophe
To begin thanks for you time !
Here is it more information !
a) Do the files left behind belong to the same component as the shortcut ?
Yes, but there are also others files who stays on the computer after remove the product. These files are in others component !
You know just at my custom action who delete all files, i place a messageBox and on my computer i have installed UNLOCKER for to see if file are locked by something when i removed the product ! but no files are locket by something !
b) do those components have conditional terms in common?
No no condition are put for all component !
c) do they relate to the install state or install action ?
hm !? i don't understand ! these component are just installed and uninstalled when the user choice this option ! There are no script or anything else for these component !
My package is a basic msi project
You know i can't understand WHY these component are left in some OS as win xp and others OS as vista, win2000 and 2003 component are well removed !
pffffffffffff rather boring as problem 😉
Have a nice day
Christophe