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

Yoshitake, Aaron Aaron.Yoshitake at viasat.com
Wed Mar 23 18:40:44 CET 2016

Thanks for the info, Jose!

No worries, I’ll just install to the default directory.. no harm done.


From: Jose Alf. [mailto:josealf at rocketmail.com]
Sent: Wednesday, March 23, 2016 10:37 AM
To: Yoshitake, Aaron; stunnel-users at stunnel.org
Subject: Re: [stunnel-users] Install directory with /S /D=[path]


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<mailto:Aaron.Yoshitake at viasat.com>> wrote:

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?


stunnel-users mailing list
stunnel-users at stunnel.org<mailto:stunnel-users at stunnel.org>

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

More information about the stunnel-users mailing list