I'm using wmi along with the 'call install true...' format to install an msi remotely:
wmic /node:"[host]" /user:"[user]" /password:"[password]" ENVIRONMENT="RELEASE" product call install true, "", "\\[host]\D$\WebsitesDirectory\[name].msi"
This works fine except that I can't get the format right to include the command line arguments I would normally use with msiexec. I have declared a variable called "ENVIRONMENT" in Wix. In this case, it should be ENVIRONMENT="RELEASE". Can anyone show me the correct format or point me towards the documentation that shows it?
I think I've found the answer. It appears the arguments go into the first pair of quotes after 'true':
... product call install true, "ENVIRONMENT=RELEASE", ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.