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: Biginner's Question: How to detect the intention of Setup.exe
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
‎Sep 04, 2007
01:50 AM
Biginner's Question: How to detect the intention of Setup.exe
Hi All,
I want to detect whether Setup.exe is being used for first-time-installation, re-installation, un-installation (and/or other modes, if possible). I am using InstallScript MSI project.
Also, what exactly is maintenance mode? Is maintenance mode automatically detected when the application has been installed? Maintenance mode can be used for Repair (installing same version again), Modifying (adding/removing features) and Remove (un-installing), right?
Please, help.
regards,
RR.
I want to detect whether Setup.exe is being used for first-time-installation, re-installation, un-installation (and/or other modes, if possible). I am using InstallScript MSI project.
Also, what exactly is maintenance mode? Is maintenance mode automatically detected when the application has been installed? Maintenance mode can be used for Repair (installing same version again), Modifying (adding/removing features) and Remove (un-installing), right?
Please, help.
regards,
RR.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2007
03:02 AM
Maybe this can help you:
InstallShield Developer Tip: Installation and Uninstallation Conditions by Robert Dickau
InstallShield Developer Tip: Installation and Uninstallation Conditions by Robert Dickau
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 05, 2007
12:23 AM
dandraka wrote:
Maybe this can help you:
InstallShield Developer Tip: Installation and Uninstallation Conditions by Robert Dickau
Hi Dimitris,
The above article talks about Basic MSI projects. I am using InstallScript MSI Project and want to use InstallScript for most of my functionality, MSI will just be used for moving data and component management.
I want a way in InstallScript to identify whether the Installer (Setup.exe) is being run for:
1. First time Installation
2. Maintenance mode - Repair, Modify, Remove
3. Un-installation
Please, help. :confused:
regards,
RR.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2007
03:52 PM
1. Test for MAINTENANCE = false
2. Test for MAINTENANCE = true
3. Check the return value of SdWelcomeMaint() for REMOVEALL
2. Test for MAINTENANCE = true
3. Check the return value of SdWelcomeMaint() for REMOVEALL