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
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@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, Aaron _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
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@rocketmail.com] Sent: Wednesday, March 23, 2016 10:37 AM To: Yoshitake, Aaron; stunnel-users@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@viasat.commailto:Aaron.Yoshitake@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@stunnel.orgmailto:stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-usershttps://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=