From: Dan Brosemer (odin_at_svartalfheim.net)
Date: Wed Mar 24 2004 - 00:17:35 EST
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}
-- "Burnished gallows set with red Caress the fevered, empty mind Of man who hangs bloodied and blind To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter
This archive was generated by hypermail 2.1.4 : Wed Mar 24 2004 - 00:20:58 EST