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: How to Uninstall Existing 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
‎Apr 20, 2011
03:30 PM
How to Uninstall Existing product?
Hello,
I am new bee to InstallShield and InstallScript. I was given a task to enhance our installshield package (Basic MSI Project) to uninstall the existing product (if any) before installing the new version. Also after uninstall, if the installation folder still exists, I should delete it (just to allow cleaner installation).
We are not using any shared (or system) dlls.
I thought there should be a option in the InstallShield (Basic MSI project) to accomplish the above task. But looks like I have to write custom Install Script to accomplish this task.
Can any one point me some example scripts (or tutorials) to add the uninstall first feature to my installshield project?
Thanks in advance
I am new bee to InstallShield and InstallScript. I was given a task to enhance our installshield package (Basic MSI Project) to uninstall the existing product (if any) before installing the new version. Also after uninstall, if the installation folder still exists, I should delete it (just to allow cleaner installation).
We are not using any shared (or system) dlls.
I thought there should be a option in the InstallShield (Basic MSI project) to accomplish the above task. But looks like I have to write custom Install Script to accomplish this task.
Can any one point me some example scripts (or tutorials) to add the uninstall first feature to my installshield project?
Thanks in advance
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2011
07:54 PM
are you using an InstallScript, InstallScript MSI, or Basic MSI project type?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2011
10:27 AM
How was the original package created?
If it was also an MSI, you should be able to use a major upgrade item to uninstall it.
If it was an InstallScript project, you should be able to create an executable-type CustomAction to run the uninstall command. (Which you may be able to read from the registry items for the original install.)
If it was also an MSI, you should be able to use a major upgrade item to uninstall it.
If it was an InstallScript project, you should be able to create an executable-type CustomAction to run the uninstall command. (Which you may be able to read from the registry items for the original install.)