Use TARGETDIR
instead of INSTALLDIR. Note that the quote marks for TARGETDIR property are only around the path in the case of spaces.
msiexec /i "msi path" TARGETDIR="C:\myfolder" /qb
Source: https://learn.microsoft.com/en-us/windows/win32/msi/targetdir
More Related Contents:
- Change my component GUID in wix?
- How to make better use of MSI files
- What installation product to use? InstallShield, WiX, Wise, Advanced Installer, etc [closed]
- Changing text color to Wix dialogs
- How to change the Jupyter start-up folder
- Website is not getting created in IIS – limited edition of InstallShield
- Removing files when uninstalling WiX
- Adding Custom prerequsites to visual studio setup project
- How do I include a path to libraries in g++
- Silent installation of a MSI package
- Why does MSI require the original .msi file to proceed with an uninstall?
- Uninstall from Control Panel is different from Remove from .msi
- What is the benefit and real purpose of program installation?
- Does an universal cross-platform installer exists? [closed]
- Why use Windows Installer XML (WiX) over VDPROJ?
- How to avoid the “Windows Defender SmartScreen prevented an unrecognized app from starting warning”
- Installing Multiple Instances by different msi having same Package Code
- Powershell: Uninstall application by UpgradeCode
- Bitvise SH Client Installation error. CreateDirectory() failed: Windows error 5: Access is denied
- How to Explicitly Remove dll During Majorupgrade Using Wix Toolset
- Silent run installer (.exe) with parameters on Windows
- Create MSI from extracted setup files
- Installation of Visual Studio 2010 (any edition) installs only 2 files in the C++ headers directory
- How to associate application with existing file types using WiX installer?
- SVG gradient for perfectly horizontal path
- WIX Installer: Prevent installation on Windows Server 2012 R2
- How to deny folder permission to Users with wix installer
- Uninstall and Install App on my Computer silently
- Is there an alternative to GUID when using msiexec to uninstall an application?
- msys path conversion (or cygpath for msys?)