We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rhdegc
Posts: 4
Joined: Tue Oct 24, 2006 12:15 am

Override Property with ini file

I set a custom property in the Install Parameters > Properties frame that I use for saving a registry settings, and I want to modify the value of that property through an INI file (so that different clients can have substantially the same installer, but with different parameters passed via the easi)

But when I add the lines

[Property]
CUSTOM_PROPERTY=NewValue

To the thispackage.ini file, and then try running the thispackage.exe file, and then check my registry, the associated key has the value from the property [b]as it was stored in the msi[/b], rather than using the new value.

Am I missing something?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

To send command line parameters (property values) to the msi file, switch to the "Media" page, "Bootstrapper" tab and type the parameters in the "MSI Command Line" field in this format: PROPERTY=VALUE

If this is not what you are looking for then could you please provide me more details?

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rhdegc
Posts: 4
Joined: Tue Oct 24, 2006 12:15 am

That helps a great deal. The "MainAppCmdLine" in the ini lets me make modifications to the properties post-build Thanks!

Return to “Common Problems”