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
- :
- abort or exit setup in vbscript??
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
May 29, 2008
10:49 AM
abort or exit setup in vbscript??
hi,
I'm just a beginner in Installshield.
I'll try to be clear in my explanation:
- I'm trying to display a messagebox in vbscript which warn the user that the installation will upgrade the current version of his product. So, I want to display a Yes\No dialog box, and when he clicks on No I want to abort or exit the installation.
I've seen in some posts that the function abort\ do(exit) exist but in Installscript.
Is there any similar function to exit setup installation in vbscript?
Any idea....:confused:
I'm just a beginner in Installshield.
I'll try to be clear in my explanation:
- I'm trying to display a messagebox in vbscript which warn the user that the installation will upgrade the current version of his product. So, I want to display a Yes\No dialog box, and when he clicks on No I want to abort or exit the installation.
I've seen in some posts that the function abort\ do(exit) exist but in Installscript.
Is there any similar function to exit setup installation in vbscript?
Any idea....:confused:
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 29, 2008
10:58 AM
I'm assuming you are doing a Major Upgrade because a Minor Upgrade driven by Setup.exe already has this type of MessageBox.
The first thing to realize is that you don't really even need a custom action at all to do this. Insert a dialog in your UISequence prior to InstallWelcome and condition it to fire only if FindRelatedProducts finds a related product. ( The Action Property as shown in the Upgrades view )
On the Yes button, call EndDialog Return control event. The install welcome dialog will then be shown.
On the No button, call the EndDialog Exit control event. The Install will show a setup abort dialog and quit.
The first thing to realize is that you don't really even need a custom action at all to do this. Insert a dialog in your UISequence prior to InstallWelcome and condition it to fire only if FindRelatedProducts finds a related product. ( The Action Property as shown in the Upgrades view )
On the Yes button, call EndDialog Return control event. The install welcome dialog will then be shown.
On the No button, call the EndDialog Exit control event. The Install will show a setup abort dialog and quit.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)