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
- :
- Re: prevent removal of certain features during uninstall
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
‎Nov 20, 2009
04:33 AM
prevent removal of certain features during uninstall
Is it possible to prevent certain features to be removed during uninstall?
or do i have to manipulate the log myself?
or do i have to manipulate the log myself?
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
06:16 AM
What is your project type?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2009
03:27 AM
sorry for the late reply project is installscript
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2009
03:32 AM
i mean is it basic msi project or installscript?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 27, 2009
02:41 AM
ChandanOmkar i edited my earlier post since i made a mistake but i guess you responded to the answer from before the edit...anyhow it's an installscript project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 27, 2009
05:58 PM
xsintill wrote:
Is it possible to prevent certain features to be removed during uninstall?
or do i have to manipulate the log myself?
I believe that for InstallScript type of project you can only set this at component level, not at feature level, but it should be enough to get desired behavior, shouldn't it?
Regards,
tene
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2009
08:42 AM
find the feature and give a condition that
NOT Installed AND NOT PATCH
eg. if you want a virtual directory not to be removed then go the the custom ation like "Remove Virtual Direcotry and ..." and sicify the above givencondition. I hope it works..
NOT Installed AND NOT PATCH
eg. if you want a virtual directory not to be removed then go the the custom ation like "Remove Virtual Direcotry and ..." and sicify the above givencondition. I hope it works..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 23, 2010
01:56 PM
NamitaB wrote:
find the feature and give a condition that
NOT Installed AND NOT PATCH
eg. if you want a virtual directory not to be removed then go the the custom ation like "Remove Virtual Direcotry and ..." and sicify the above givencondition. I hope it works..
The only case with your advice is that there's no Condition property on Features in InstallScript projects.
Of course, there are no CustomActions on InstallScript projects as well.
Regards,
tene
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 21, 2011
03:00 PM
Resurrecting a bit of a dead thread, but how would you do this for a Basic MSI project?
That is, under a particular condition, I'm okay with Features B and C of my product being uninstalled, but Feature A needs to stay.
The suggestion made earlier on this about the feature condition didn't make sense to me, because wouldn't that be evaluated on *install*?
Thanks for any ideas!
That is, under a particular condition, I'm okay with Features B and C of my product being uninstalled, but Feature A needs to stay.
The suggestion made earlier on this about the feature condition didn't make sense to me, because wouldn't that be evaluated on *install*?
Thanks for any ideas!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 22, 2011
01:21 AM
mark the component under Feature A as permanent.
this wouldn't be removed during uninstall.
this wouldn't be removed during uninstall.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 22, 2011
10:08 AM
Thanks for the suggestion. Unfortunately, I don't want the feature (and its components) to NEVER be uninstalled. It needs to be on a conditional basis. If THIS is the case, prevent the uninstallation of feature A. If THAT is the case, proceed with the uninstallation of feature A.
Any ideas for that scenario?
Any ideas for that scenario?