Boris Callens
Boris Callens

Reputation: 93327

Installshield template?

In our company we regularly create MSI's with Installshield(latest). These setups adhere to a set of rules and name schemes so they work with our deployment system and autobuilds etc.

Is there a way to eliminate the repetitive overhead of going through all the boilerplate stuff (setting the company meta data, basic folder structures, a few events, including some default helper files etc) for each setup?

Upvotes: 0

Views: 1596

Answers (2)

Christopher Painter
Christopher Painter

Reputation: 55581

Take a look at the InstallShield Automation interface. What I did was:

  1. Abstract all my components out into WiX Merge Modules ( could be IS merge modules though ).
  2. Create a base InstallShield project ( Common.ISM )
  3. Create XML files to describe my feature tree and product configurations
  4. Create Build Automation to reflect the XML and invoke the Automation Interface to "Emit" my installer source.
  5. Build the Product Config in the ISM.

This gave me a great deal of code reuse but it's not trivial to set up this type of system. However it scales very well and the advantages are huge if you have the right business needs.

Upvotes: 4

Santhosh J
Santhosh J

Reputation: 368

There are two ways you can do this:

  1. Save the ism file in xml format (there is a setting for this in the project settings). Then in run time, push the desired values with a new application that could be written (which will edit the XML file using DOM or so...)
  2. Use InstallShield Automation interface. This can be done using VBScript. You may check this link: InstallShield Automation Interface

Upvotes: 1

Related Questions