<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.yiv2447667269msonormal, li.yiv2447667269msonormal, div.yiv2447667269msonormal
        {mso-style-name:yiv2447667269msonormal;
        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";}
p.yiv2447667269msochpdefault, li.yiv2447667269msochpdefault, div.yiv2447667269msochpdefault
        {mso-style-name:yiv2447667269msochpdefault;
        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.yiv2447667269msohyperlink
        {mso-style-name:yiv2447667269msohyperlink;}
span.yiv2447667269msohyperlinkfollowed
        {mso-style-name:yiv2447667269msohyperlinkfollowed;}
span.yiv2447667269emailstyle17
        {mso-style-name:yiv2447667269emailstyle17;}
span.yiv2447667269emailstyle18
        {mso-style-name:yiv2447667269emailstyle18;}
p.yiv2447667269msonormal1, li.yiv2447667269msonormal1, div.yiv2447667269msonormal1
        {mso-style-name:yiv2447667269msonormal1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Times New Roman","serif";}
span.yiv2447667269msohyperlink1
        {mso-style-name:yiv2447667269msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv2447667269msohyperlinkfollowed1
        {mso-style-name:yiv2447667269msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.yiv2447667269emailstyle171
        {mso-style-name:yiv2447667269emailstyle171;
        color:windowtext;}
span.yiv2447667269emailstyle181
        {mso-style-name:yiv2447667269emailstyle181;
        color:#1F497D;}
p.yiv2447667269msochpdefault1, li.yiv2447667269msochpdefault1, div.yiv2447667269msochpdefault1
        {mso-style-name:yiv2447667269msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle29
        {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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for the info, Jose!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">No worries, I’ll just install to the default directory.. no harm done.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Aaron<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jose Alf. [mailto:josealf@rocketmail.com]
<br>
<b>Sent:</b> Wednesday, March 23, 2016 10:37 AM<br>
<b>To:</b> Yoshitake, Aaron; stunnel-users@stunnel.org<br>
<b>Subject:</b> Re: [stunnel-users] Install directory with /S /D=[path]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div id="yiv2447667269">
<div id="yui_3_16_0_ym18_1_1458754387472_2828">
<div id="yui_3_16_0_ym18_1_1458754387472_2827">
<div id="yiv2447667269">
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3614">
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3613">
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3728">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458680617325_2972">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Aaron,<o:p></o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458680617325_2974">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458680617325_2892">
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3852">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">You are right. The installer was developed with the MultiUser.nsh macros. I understand the only suported command line switches are /AllUsers, /CurrentUser
 and /S . There is no provision to specify a target directory.<o:p></o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3855">
<div id="yui_3_16_0_ym18_1_1458754387472_5671">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div id="yui_3_16_0_ym18_1_1458754387472_5672">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">You may be able to hack the installer sources to do what you want. Or you can repack the files. I have the sources of an Inno Setup installer if want
 to take a look. Although Inno Setup installers are considered insecure this days :)<o:p></o:p></span></p>
</div>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3857">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3859">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Regards,<o:p></o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3861">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Jose<o:p></o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458753910025_3863">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458680617325_3137">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv2447667269yui_3_16_0_ym18_1_1458680617325_3296">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_ym18_1_1458754387472_2883">
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
<div id="yui_3_16_0_ym18_1_1458754387472_2887">
<div id="yui_3_16_0_ym18_1_1458754387472_2886">
<div id="yui_3_16_0_ym18_1_1458754387472_2885">
<div id="yui_3_16_0_ym18_1_1458754387472_2884">
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv2447667269yqt79311">
<div id="yiv2447667269yqt64748">
<div id="yui_3_16_0_ym18_1_1458754387472_2889">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">On Monday, March 21, 2016 11:22 AM, "Yoshitake, Aaron" <<a href="mailto:Aaron.Yoshitake@viasat.com">Aaron.Yoshitake@viasat.com</a>> wrote:</span><span style="font-family:"Helvetica","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
<div id="yui_3_16_0_ym18_1_1458754387472_2893">
<div id="yiv2447667269">
<div id="yui_3_16_0_ym18_1_1458754387472_2892">
<div id="yui_3_16_0_ym18_1_1458754387472_2891">
<div id="yui_3_16_0_ym18_1_1458754387472_2890">
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Hi all,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">I’m making an installer that installs stunnel as a dependency, and I’d like to customize its install directory while running it in silent mode.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Per the NSIS docs, my command has the /S switch for silent mode, but when I try /D=[path], the installer ignores it and installs to Program Files (x86)/stunnel
 anyway.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Is there a workaround for this?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Thanks,<br>
Aaron<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><br>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.stunnel.org_cgi-2Dbin_mailman_listinfo_stunnel-2Dusers&d=BQMFaQ&c=jcv3orpCsv7C4ly8-ubDob57ycZ4jvhoYZNDBA06fPk&r=2ra_0bB1iX6X_CZr32XLNPDlZKwVH3j1_1cUbjJeb04&m=cZq7orUhgY9yW3OGndvwtpSWl9a4NTuI7b3A2Dzk1Mg&s=oxzP8-60m_Hex1HHVGUnbmwdNCPDAaRdW5SJlWUtseI&e=" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>