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: Running pre-build 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
‎Dec 17, 2010
03:57 AM
Running pre-build scripts?
I'd like to perform a pre-build step. Specifically creating a CAB-file which will be part of the installation package. Is there a way to add a pre-build script to be run by IS?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2010
01:12 AM
If need to execute a prebuild script even before the CAB file is built... I think you can create a batch file which builds your script first and then build your project file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2010
04:52 AM
Well yes, that's what we have today. What we would like to do is avoid needing to point out specific files/paths outside of the IS-project. I.e. I'd like to have my CAB-file built as part part of building the actuall setup, i.e.
1. Run VBScript
1.1 Launch ISCmdBld.exe with arguments
1.1.1 build-CAB
1.1.2 build-setup.exe
1.2 Distribute package
Instead of:
1. Run VBScript
1.1 build-CAB
1.2 Launch ISCmdBld.exe with arguments
1.2.1 build-setup.exe
1.3 Distribute package
If that makes sense.
1. Run VBScript
1.1 Launch ISCmdBld.exe with arguments
1.1.1 build-CAB
1.1.2 build-setup.exe
1.2 Distribute package
Instead of:
1. Run VBScript
1.1 build-CAB
1.2 Launch ISCmdBld.exe with arguments
1.2.1 build-setup.exe
1.3 Distribute package
If that makes sense.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2010
08:28 AM
If upgrading to InstallShield 2011 is an option, you may want to consider it. The Premier edition of this version of InstallShield lets you specify commands that you want to be run at various stages of the build process. Here's a help topic that has details:
Specifying Commands that Run Before, During, and After Builds
Specifying Commands that Run Before, During, and After Builds
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2010
03:05 AM
No, as we've already upgraded to both IS2009 and IS2010 without actually releasing any software using them, we will probably stick with IS2010 for the foreseeable future.