Description
msiexec /qn /i C:\temp\vagrant.msi INSTALLDIR=C:\preferredVagrantDirectory
Expected Result
C:\preferredVagrantDirectory
Actual Result
C:\HashiCorp\Vagrant
Pass VAGRANTAPPDIR
instead of INSTALLDIR
.
It's admirable that they created an MSI but they should know that the default installation should be [ProgramFilesFolder]Company\Product not [WindowsVolume]Company\Product. (Actually they do know since they did a cute little Type 51 SETPROPERTY WINDOWSVOLUME = [WindowsVolume] so they could author the directory table in a way to get past the built in ICE validation unit tests that warn developers to not do this very thing. #FAIL
Also the use of unusual directory keys like VAGRANTAPPDIR only causes confusion. Stick with INSTALLDIR, INSTALLLOCATION or TARGETDIR for InstallShield, VDPROJ and WiX projects respectively.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With