MSI run after install WITH command arguments
I'm using script at Run exe after msi installation? to add a "run application" window at the end of my install. However, i wo开发者_开发百科uld like to pass a commandargument to the application, how can I do that?
Thank you
If you have a property in you msi package (for example, INSTALLDIR), you may pass in as parameter using syntax: [PROPERTYNAME].
So, you should find your custom action and add into exe String list of properties (for example, "[INSTALLDIR] " "[COMMONFILESDIR64]" etc)
Run msi installer with command line: msiexec /i(or x) setup.msi /l*vx log.txt - and see the log file. msiexec will write ALL properties to this file.
精彩评论