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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Unstalling installed installer using InstallAnywhere
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
Feb 23, 2011
04:08 AM
Unstalling installed installer using InstallAnywhere
Hi,
I created one installer (in windows) which on running opens Notepad. Installer is working fine and giving expected results. But, What i want is:
When i click on this installer again, first it should uninstall the installed installer and when uninstallation is complete, it should install it again.
1. How can i do it?
2. I want to check whether already this installer is installed or not, if it is, one screen should appear giving warning message (warning: This installer is already installed). What custom code or custom script should i write to check whether this installer is already installed or not?
I created one installer (in windows) which on running opens Notepad. Installer is working fine and giving expected results. But, What i want is:
When i click on this installer again, first it should uninstall the installed installer and when uninstallation is complete, it should install it again.
1. How can i do it?
2. I want to check whether already this installer is installed or not, if it is, one screen should appear giving warning message (warning: This installer is already installed). What custom code or custom script should i write to check whether this installer is already installed or not?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 23, 2011
06:13 AM
First check if your soft is already installed by querying InstallAnywhere registry
=> "Find Component in Registry" Action (Project/Info/Product registry check-box should be unchecked)
(If your project is windows only, you can also add windows registry entry and then check if the entry exist or not).
Then you have the action "Execute Uninstaller".
=> "Find Component in Registry" Action (Project/Info/Product registry check-box should be unchecked)
(If your project is windows only, you can also add windows registry entry and then check if the entry exist or not).
Then you have the action "Execute Uninstaller".