Hello,
In order to solve this issue, you can use the Advanced Installer
Command Line functionality, which allows you to create, build or edit projects. Using Advanced Installer Command Line you can set the properties at build time and build the project.
For instance, you can make the following configuration:
1. In your AI project you can go to
"Install parameters" page and create the properties you want to use (e.g.
BUILD_NO, DATE, TIME)
2. In the
"Dialogs" page you can display the properties in a dialog (e.g.
"WelcomeDlg"). For each property you can create a
"Static Text" control and in its properties, in the
"Text" field, you can put a
formatted reference to the property (e.g. [BUILD_NO]).
3. Save the project and exit.
At build time, you can populate the properties with values and build the project using the command line functionality.
Setting the properties is done with the following command :
Code: Select all
AdvancedInstaller.com /edit <project.aip> /SetProperty DATE=<value>
and the build is make using this command :
Code: Select all
AdvancedInstaller.com /build <project.aip>
And, this way, the MSI will have the values from the build time.
If you have other questions, please let us know.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging