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: InstallScript - Uninstall previous version (No Product Code)
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
‎Mar 06, 2010
10:15 AM
InstallScript - Uninstall previous version (No Product Code)
I have an InstallScript project and I need to uninstall the previous version of the software when the user is performing an upgrade. I found many post explaining how to perform a major upgrade but I guess it doesn't apply to this type of project because there is no Product Code to update.
I must uninstall the outdated files. If I need to do this is script then please let me know.
Any help will be greatly appreciated!
I must uninstall the outdated files. If I need to do this is script then please let me know.
Any help will be greatly appreciated!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2010
12:47 AM
Use OnUpdateUIBefore & OnUpdateUIAfter. These 2 funtion would help you achieve your requirement.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2010
08:31 AM
girishkatti123 wrote:
Use OnUpdateUIBefore & OnUpdateUIAfter. These 2 funtion would help you achieve your requirement.
So it sounds like I have to accomplish this in script. Is there a specific command that you know of that will uninstall the previous installation or do I have to remove each file individually?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2010
04:28 AM
you can run uninstall command which you can get from Uninstall string in Registry value.
HKLM\SOFTWARE\Microsoft\Windows\Current Version\Uninstall\
HKLM\SOFTWARE\Microsoft\Windows\Current Version\Uninstall\