[wix-devs] Could we pass custom parameters from msi to an bat file inside msi?

John Cooper JoCooper at jackhenry.com
Thu Oct 13 17:21:41 PDT 2016


Please do not double post, and please do not post usage questions on Dev.

This list is for WiX development.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com





-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Yan Wang
Sent: Thursday, October 13, 2016 7:05 PM
To: wix-devs at lists.wixtoolset.org
Subject: [wix-devs] Could we pass custom parameters from msi to an bat file inside msi?

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

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


____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



More information about the wix-devs mailing list