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
Actually, both INSTALLPATH/TARGETDIR are correct. It depends on how MSI processes this.
INSTALLPATH/TARGETDIR
I create a MSG using wixToolSet. In WXS file, there is "Directory" Node, which root dir maybe like the following:
wixToolSet
;
As you can see: Id is which you should use.
Id