PDA

View Full Version : Need to change default values of fields in a AdminStudio MSI?



angelliy
08-29-2013, 03:07 AM
Need to change default values of fields in a AdminStudio MSI?

Evan Border
09-02-2013, 07:18 AM
Need to change default values of fields in a AdminStudio MSI?

AdminStudio Repackager has the ability to use a template file that gives it all of the capabilities that .wsi templates provided to Wise SetupCapture and then some. Any default values that you want to set for each MSI package can be pre-set in the template file. The Options.ini file (located in the Repackager folder) can then be modified to automatically point to your template file.

The steps for using a template file are:
1. Use the InstallShield Editor to create your template file and set the desired defaults. For example, you could customize the dialog graphics or turn undesired dialogs off, add custom actions and set defaults for MSI properties. When finished, go to the File menu and choose Save As and change the Save as type to InstallShield Template (*.ist)
This template can be used with both the InstallShield Editor (when creating a package manually) and with Repackager (when capturing a legacy setup).

2. To manually use the template with Repackager select the .ist template file from the Repackaged Output view, as seen in the screenshot below:

10194


You can automate having Repackager use the template file by editing the Options.ini file located in the Repackager folder. In the [General] section, change ProjectTemplate to point to your template file as seen in the screenshot below:

10195


Hopefully that gets you what you need.

Thanks,
-Evan