Archive: /S /s / Auto for silent install


/S /s / Auto for silent install
Hi,
is it possible to use /S, /s and /Auto for silent install ?

so long


/s makes the installer silent already, but for /auto
you can do this in your .onInit function...

Function .onInit
Push $R0

Call GetParamaters
Pop $R0

Push $R0
Push "/auto"
Call StrStr
Pop $R0

StrCmp $R0 "" +2
SetSilent silent

Pop $R0
FunctionEnd


Both functions are in the NSIS documents section C.4

-Stu

Thank you very much... but i guess i´ve got a problem here


Error: resolving install function "GetParameters" in function ".onInit"
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process

GetParameters is found in the NSIS helpfile under "Useful Functions"


Like I said,

Both functions are in the NSIS documents section C.4
-Stu