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
- :
- here you go...
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
‎Jul 27, 2014
05:54 AM
Stop install when Powershell script error
Hello,
I have a Powershell script during installation. If there is an error in Powershell script the installation continues !
I would like to stop setup if there is a error during the execution Powershell script.
(When my PowerShell script success I use exit(0).)
Thank you for your help
I have a Powershell script during installation. If there is an error in Powershell script the installation continues !
I would like to stop setup if there is a error during the execution Powershell script.
(When my PowerShell script success I use exit(0).)
Thank you for your help
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 28, 2014
12:04 PM
So how to interact a Powershell script with Installshiel ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 29, 2014
11:32 AM
In your Custom Action calling the Powershell script is the Return Processing set to (Ignores exit code) instead of (Check exit code)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2014
12:48 AM
throw uncaught exception or use EXIT in your ps1.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)