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
- :
- System Search to Custom Action to force old product to 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
Jun 24, 2019
01:05 PM
System Search to Custom Action to force old product to uninstall
We have a previous version of a product that was installed using Wise Installation Systems. It is not MSI based so I can't use the lookup of old install to remove it. I can look up the path to the unwise.exe (uninstall applicaiton) and log file path in the registry. I can successful read this information using the System Search and then Store the value in the property and use the property in an Install Condition to display a message. So I know this part if doable. The registry entry looks something like this: C:\DIREC~1\Backup\UNWISE.EXE C:\DIREC~1\Backup\INSTALL.LOG The path to the uninstall application, followed by the path to the install.log which tell it what to do. What I want to do instead of displaying the message is use registry entry in a Custom Actions to launch the uninstall exe before I install any of the new files using. I've modified the System Search to Just store the value in the property name WISE_UNINSTALL. I've tried launching the an exe with the Custom Action, Launch an executable, stored in the property table, WISE_UNINSTALL. I've tried this in various locations in the Sequence and nothing is happening. What should I do to launch exe/log file that the registry contains to make this work?
(0) Replies