Can I configure an MSI to install silently to a non-default directory?
I hav开发者_Python百科e a vendor supplied MSI file, and we want to automate the install to a couple thousand pcs/servers. Unfortunately, we would like to install it to our default apps directory, which is not c:\program files. Is there a way to do this easily? I'm experimenting with Orca, but I'd rather get a solid method on how to do this quickly and easily.
Thanks in advance for any help.
You can specify the target directory on the command line:
msiexec /i /qn setup.msi INSTALLDIR=c:\customfolder\program\
精彩评论