PDA

View Full Version : Provide directory for administrative install



eengelen
12-01-2005, 08:11 AM
I want to extract a basic MSI project's setup.exe to directory using the /a switch.
Example: setup.exe /a

Because I want to do this in a script I want to specify the extraction folder as an argument. Is that possible?

Thanks

RobertDickau
12-01-2005, 09:19 AM
Perhaps try setting the value of TARGETDIR, as in:

setup.exe /a /V"TARGETDIR=C:\AdminImageGoesHere"

eengelen
12-01-2005, 09:30 AM
Woow it works. Thanks a lot.
I tried to use INSTALLDIR instead of TARGETDIR and that didn't work.
Adding a -qb switch makes it unattended.