From: Mark Gilbert (mg_abimail_at_yahoo.com)
Date: Wed Mar 24 2004 - 06:57:49 EST
Got it.
-MG
On Wed, 2004-03-24 at 00:17, Dan Brosemer wrote:
> The NSIS installer does not permit silent installs.  Patch included to
> correct this.
> 
> This sets a variable v_silent when the user executes the installer with "/S"
> which can be used to flag other code (not used currently).
> 
> This does not change behavior unless "/S" is specified.
> 
> Filed in bugzilla:
> http://bugzilla.abisource.com/show_bug.cgi?id=6547
> 
> diff ../NSISv2/abi_parsecmdline.nsh ./abi_parsecmdline.nsh
> --- ../NSISv2/abi_parsecmdline.nsh	Tue Mar 23 23:52:21 2004
> +++ ./abi_parsecmdline.nsh	Tue Mar 23 23:53:36 2004
> @@ -52,6 +52,9 @@
>  Var v_opt_enable_win95only
>  !endif
>  
> +; /S
> +; Silent install
> +Var v_silent
>  
>  ; Show command line options, not localized (ie this help only in English)
>  !macro DoHelpCmd
> @@ -98,6 +101,8 @@
>      ${Case} "/OPT_ENABLE_WIN95ONLY"
>        StrCpy $v_opt_enable_win95only "1"
>  !endif
> +		${Case} "/S"
> +			StrCpy $v_silent "1"
>      ${CaseElse}
>        MessageBox MB_OK "Error: Unsupported option ${cmdarg} found!"
>        ${DoHelpCmd}
This archive was generated by hypermail 2.1.4 : Wed Mar 24 2004 - 07:00:31 EST