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: Uninstall a prerequisite to downgrade component - msi
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 29, 2011
12:16 PM
Uninstall a prerequisite to downgrade component - msi
With my MSI install - suppose as a prerequsite I installed SQLCE SP2 on a users machine for our first release. Due to unforseen circumstances, with our next release we have to install SQL CE SP1 instead (whoops). This would mean detecting SP2 on the current machine, uninstalling it, then having the SP1 install take over.
Can something like this be done? I can't envision how a person would code something like this.
Can something like this be done? I can't envision how a person would code something like this.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 30, 2011
02:52 PM
I agree that scenario is a mess for many reasons. For example, if you ever in the future require SQLCE SP2, then reinstalling this piece will break it, etc. That said, there are two main approaches. One is to use InstallShield 2012's new suite projects as a bootstrap which can detect and "fix" this scenario. The other is to create some sort of bootstrap level project which addresses things in the same fashion, such as a wrapper InstallScript project. The more specifically you can target this scenario (perhaps only run if version x.y of your product is on the machine), the safer it will be.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)