[Qgis-user] Qgis instalation on C drive

Tomáš Szabó Tomas.Szabo at maxnetwork.sk
Wed Mar 11 03:02:22 PDT 2026


Hi,
I cant find how to create command with msi package to install the QGIS LTR on C: drive (C:\QGIS)
We need keep this folder for all users on same location without versioning  and push the installation with powershell or cmd
I found the setup.bat in bin folder but is after post install

we try this commands
msiexec /i "C:\Temp\QGIS\QGIS-OSGeo4W-3.34.12-1.msi" /q INSTALLDIR="C:\QGIS"
msiexec /i "C:\Temp\QGIS\QGIS-OSGeo4W-3.34.12-1.msi" /q TARGETDIR="C:\QGIS"
msiexec /i "C:\Temp\QGIS\QGIS-OSGeo4W-3.34.12-1.msi" /q OSGEO4W_ROOT="C:\QGIS"

with logging enabled over GUI installation we see:

MSI (c) (0C:08) [13:44:39:606]: PROPERTY CHANGE: Adding LicenseAccepted property. Its value is '1'.
Action 13:44:40: QGISInstallDirDlg. Dialog created
MSI (c) (0C:08) [13:44:50:154]: PROPERTY CHANGE: Modifying INSTALLDIR property. Its current value is 'C:\Program Files\QGIS 3.34.12\'. Its new value: 'C:\QGIS\'.
MSI (c) (0C:08) [13:44:50:227]: PROPERTY CHANGE: Deleting INSTALLMENUSHORTCUTS property. Its current value is '1'.
MSI (c) (0C:08) [13:44:53:267]: PROPERTY CHANGE: Modifying dir37C738D96EE21014A3CBC4D8EB79E605 property. Its current value is 'C:\Program Files\QGIS 3.34.12\'. Its new value: 'C:\QGIS\'.
....for all files below

Please how to add this property to msi install command and not advanced gui?

Thank you for help!





S pozdravom,

Tomáš Szabó
IT Systems Administrator
mobile: +421 905 786 420
phone: +421 31 230 05 01

[Facebook icon]<https://www.facebook.com/maxnetworksro>

[Logo]<http://www.maxnet.sk>
Kpt. J. Nálepku 866/18
925 22 Veľké Úľany
IČO: 36250481
IČDPH: SK2020192009
www.maxnetwork.sk<http://www.maxnetwork.sk>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20260311/fbbac767/attachment.htm>


More information about the QGIS-User mailing list