<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">I cant find how to create command with msi package to install the QGIS LTR on C: drive (C:\QGIS)<o:p></o:p></p>
<p class="MsoNormal">We need keep this folder for all users on same location without versioning  and push the installation with powershell or cmd<o:p></o:p></p>
<p class="MsoNormal">I found the setup.bat in bin folder but is after post install<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">we try this commands<o:p></o:p></p>
<p class="MsoNormal">msiexec /i "C:\Temp\QGIS\QGIS-OSGeo4W-3.34.12-1.msi" /q INSTALLDIR="C:\QGIS"<o:p></o:p></p>
<p class="MsoNormal">msiexec /i "C:\Temp\QGIS\QGIS-OSGeo4W-3.34.12-1.msi" /q TARGETDIR="C:\QGIS"<o:p></o:p></p>
<p class="MsoNormal">msiexec /i "C:\Temp\QGIS\QGIS-OSGeo4W-3.34.12-1.msi" /q OSGEO4W_ROOT="C:\QGIS"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">with logging enabled over GUI installation we see:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i>MSI (c) (0C:08) [13:44:39:606]: PROPERTY CHANGE: Adding LicenseAccepted property. Its value is '1'.<o:p></o:p></i></p>
<p class="MsoNormal"><i>Action 13:44:40: QGISInstallDirDlg. Dialog created<o:p></o:p></i></p>
<p class="MsoNormal"><i>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\'.<o:p></o:p></i></p>
<p class="MsoNormal"><i>MSI (c) (0C:08) [13:44:50:227]: PROPERTY CHANGE: Deleting INSTALLMENUSHORTCUTS property. Its current value is '1'.<o:p></o:p></i></p>
<p class="MsoNormal"><i>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\'.<o:p></o:p></i></p>
<p class="MsoNormal">….for all files below<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Please how to add this property to msi install command and not advanced gui?<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you for help!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<title>Email Signature</title>
<br>
<br>
<br>
S pozdravom, <br>
<br>
<table style="font-family:Verdana, Helvetica, sans-serif;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="font-family:Verdana; border-right:2px solid #1b104b; padding-right:15px; text-align: right; vertical-align:top; ">
<table style="font-family:Verdana; margin-right:0; margin-left:auto;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="right" valign="top" style="font-family:Verdana; height:55px; vertical-align:top; text-align:right;">
<span style="font-family:Verdana; font-size:12pt; font-weight:bold;">Tomáš Szabó<span><br>
</span></span><span style="font-family:Verdana; font-size:10pt;">IT Systems Administrator</span>
</td>
</tr>
<tr>
<td align="right" valign="top" style="font-family:Verdana; height:40px; vertical-align:top; padding:0; min-width: 100%;">
<span style="font-family:Verdana; font-size:10pt; text-align:left;"><b>mobile: </b>
</span><span style="font-family:Verdana; font-size:10pt; text-align:right;">+421 905 786 420</span><br>
<span style="font-family:Verdana; font-size:10pt; text-align:left;"><b>phone: </b>
<span><span style="font-family:Verdana; font-size:10pt; text-align:right;">+421 31 230 05 01<span><br>
</span></span></span></span></td>
</tr>
<tr>
<td align="right" valign="middle" style="font-family:Verdana; height:20px; vertical-align:middle; text-align:right;">
<span><a href="https://www.facebook.com/maxnetworksro" target="_blank" rel="noopener"><img width="19" style="border:0; height:19px; width:19px" alt="Facebook icon" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Facebook_icon_2013.svg/300px-Facebook_icon_2013.svg.png" border="0"></a></span>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="padding-left:15px;font-size:1pt; vertical-align:top; font-family:Verdana;">
<table style="font-family:Verdana;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="height:30px; font-family:Verdana; vertical-align:top;"><a href="http://www.maxnet.sk" target="_blank" rel="noopener"><img height="20" style="height:13px; max-width:80%; min-width: 15%; border:0; " alt="Logo" src="http://www.maxnetwork.sk/install/maxnetlogo.png" border="0"></a>
</td>
</tr>
<tr>
<td valign="top" style="height:40px; font-family:Verdana; vertical-align:top; padding:0;">
<span style="font-family:Verdana; font-size:10pt;">Kpt. J. Nálepku 866/18<span><br>
</span></span><span style="font-family:Verdana; font-size:10pt;">925 22 Veľké Úľany<span><br>
</span></span><span style="font-family:Verdana; font-size:10pt;"><b>IČO:</b> 36250481</span><br>
<span style="font-family:Verdana; font-size:10pt;"><b>IČDPH:</b> SK2020192009</span>
</td>
</tr>
<tr>
<td valign="middle" style="height:20px; font-family:Verdana; vertical-align:middle;">
<a style="color:#1b104b; font-size:10pt; font-family:Verdana;" href="http://www.maxnetwork.sk" target="_blank" rel="noopener">www.maxnetwork.sk</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
</body>
</html>