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
- :
- Test scripts
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 21, 2007
09:26 AM
Test scripts
Is there a way to test an InstallScript function without running the installer?
Thanks
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 24, 2007
05:47 PM
Alas, I'm not aware of a way to test just one function from an installer.
(MSI projects have a test mode, where the UI runs but the actions that change the system do not, but I don't think there's an equivalent for pure InstallScript.)
P.S. An obvious tip that works with some types of functions: I'll occasionally test a custom function in a new, nearly empty project, pasting the code into the OnBegin event handler and calling abort or exit when the function is done.
(MSI projects have a test mode, where the UI runs but the actions that change the system do not, but I don't think there's an equivalent for pure InstallScript.)
P.S. An obvious tip that works with some types of functions: I'll occasionally test a custom function in a new, nearly empty project, pasting the code into the OnBegin event handler and calling abort or exit when the function is done.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)