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:


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