[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.

Cheers,
Aaron

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]


Aaron,

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


Regards,
Jose








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?

Thanks,
Aaron

_______________________________________________
stunnel-users mailing list
stunnel-users at stunnel.org<mailto:stunnel-users at stunnel.org>
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users<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=>

-------------- 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