Uria
Posts: 21
Joined: Tue Mar 03, 2009 8:47 am

Adding properties from the command line using MSIEXEC

Hi,

Is it possible to specify properties when using MSIEXEC and then use them as conditions for deploying files or setting registry values?
i.e.

Code: Select all

msiexec /i setuptest.msi FFF=true
What is the syntax for using such a property?

Thanks,
Uria
Uria
Posts: 21
Joined: Tue Mar 03, 2009 8:47 am

Re: Adding properties from the command line using MSIEXEC

Also, at what stage is the property value available?
Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Adding properties from the command line using MSIEXEC

Hello,

That's precisely the syntax. The property is available from the very beginning of the install process. Make sure the property's name is written with all uppercase letters.
You can use that property during install just like any other property.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”