I want to install a msi with msiexec in a specific directory. I\'m using:
msiexec /i \"msi path\" INSTALLDIR=\"C:\\myfolder\" /qb
It is no
InstallShield 12
INSTALLDIRrepresents the main product installation directory for a regular Windows Installer–based (or InstallScript MSI) installation, such as the end user launching Setup.exe or your .msi database.
TARGETDIRrepresents the installation directory for an InstallScript installation, or for an administrative Windows Installer based installation (when the user runs Setup.exe or MsiExec.exe with the /a command-line switch).In an InstallScript MSI project, the InstallScript variable
MSI_TARGETDIRstores the target of an administrative installation.
Source: INSTALLDIR vs. TARGETDIR