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: Deinstall taking away too many files
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
‎Apr 11, 2008
10:08 AM
Deinstall taking away too many files
I'm working in 2008 in a pure installscript project. I am creating an additional piece to our product installation. The idea is - the applicaiton will be installed, a customer will buy this portion as an add-on. It installs fine, but when I uninstall it, it takes the original installation files as well. How do I prevent this?
Thanks
Thanks
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2008
02:17 PM
Now when I uninstall- it takes the entire contents of the previous seperate installation of our main product - not just the pieces added in with the seperate add-on installation.
Anyone have an idea of how I could correct this?
Thanks
Anyone have an idea of how I could correct this?
Thanks
retzcat wrote:
I'm working in 2008 in a pure installscript project. I am creating an additional piece to our product installation. The idea is - the applicaiton will be installed, a customer will buy this portion as an add-on. It installs fine, but when I uninstall it, it takes the original installation files as well. How do I prevent this?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2008
02:52 PM
Does the add-on project use the same Product GUID value (in General Information > Product Properties)? Is there a separate entry in Add or Remove Programs for the add-on?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
02:27 PM
Good question. I don't believe so.. Let me look......
Nope- Different GUIDs... Double checked in the registry..
And other ideas why this would happen?
Thanks
Nope- Different GUIDs... Double checked in the registry..
And other ideas why this would happen?
Thanks
RobertDickau wrote:
Does the add-on project use the same Product GUID value (in General Information > Product Properties)? Is there a separate entry in Add or Remove Programs for the add-on?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
02:37 PM
Is there a separate entry in Add or Remove Programs for the add-on? How are you performing the uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
02:46 PM
Sorry - Yes there is a seperate entry in the Add/Remove Programs....
retzcat
retzcat
RobertDickau wrote:
Is there a separate entry in Add or Remove Programs for the add-on? How are you performing the uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
02:59 PM
How are you performing the uninstall?
Also, you might snoop inside the .ilg uninstall log file for the base and add-on products, after both are installed, to see what inadvertent overlap there might be...
Also, you might snoop inside the .ilg uninstall log file for the base and add-on products, after both are installed, to see what inadvertent overlap there might be...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
03:30 PM
I think I found a solution.. I changed the OnUninstall() to call FeatureRemoveAllInLogOnly(); ANd the other files were not removed...
Thanks for all the help Robert!
Retz
Thanks for all the help Robert!
Retz
RobertDickau wrote:
How are you performing the uninstall?
Also, you might snoop inside the .ilg uninstall log file for the base and add-on products, after both are installed, to see what inadvertent overlap there might be...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
03:30 PM
Great news---thanks for the follow-up.
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)