[stunnel-users] Install directory with /S /D=[path]

Jose Alf. josealf at rocketmail.com
Wed Mar 23 18:37:19 CET 2016

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.
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 :)




 On Monday, March 21, 2016 11:22 AM, "Yoshitake, Aaron" <Aaron.Yoshitake at viasat.com> wrote:

  #yiv2447667269 -- filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv2447667269 p.yiv2447667269MsoNormal, #yiv2447667269 li.yiv2447667269MsoNormal, #yiv2447667269 div.yiv2447667269MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}#yiv2447667269 a:link, #yiv2447667269 span.yiv2447667269MsoHyperlink {color:blue;text-decoration:underline;}#yiv2447667269 a:visited, #yiv2447667269 span.yiv2447667269MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv2447667269 span.yiv2447667269EmailStyle17 {color:windowtext;}#yiv2447667269 span.yiv2447667269EmailStyle18 {color:#1F497D;}#yiv2447667269 .yiv2447667269MsoChpDefault {font-size:10.0pt;}#yiv2447667269 filtered {margin:1.0in 1.0in 1.0in 1.0in;}#yiv2447667269 div.yiv2447667269WordSection1 {}#yiv2447667269 Hi all,    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.    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.    Is there a workaround for this?    Thanks,
stunnel-users mailing list
stunnel-users at stunnel.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20160323/5ebf3457/attachment.html>

More information about the stunnel-users mailing list