I am trying pass in the location on where to install from the command line
msiexec.exe /i demo.msi TARGETDIR=C:\widgets /l*vx "c:\inst.log"
the log file shows TARGETDIR getting set, however looking at SET_APPDIR in the log it's set to the default.
MSI (s) (20:0C) [14:18:51:898]: Doing action: SET_APPDIR
Action start 14:18:51: SET_APPDIR.
MSI (s) (20:0C) [14:18:51:898]: PROPERTY CHANGE: Adding APPDIR property. Its value is 'C:\Program Files\Widgets'.