[wix-users] can we pass custom property to a .bat file in the installer?

Yan Wang ywang at xmatters.com
Thu Oct 13 17:06:21 PDT 2016


Hi!

Wondering if we can pass custom parameters from msi to an bat file inside msi....

For example,  after we create package.msi, we can do this
msiexec /i c:\path\to\package.msi /quiet /qn /norestart /log c:\path\to\install.log PROPERTY1=value1 PROPERTY2=value2

but values of PROPERTY1 and PREPERTY2 will pass to a .bat file as %1 and %2

Thanks a lot!

Yan





More information about the wix-users mailing list