Hi,
is it possible to use /S, /s and /Auto for silent install ?
so long
/S /s / Auto for silent install
5 posts
/s makes the installer silent already, but for /auto
you can do this in your .onInit function...
-Stu
you can do this in your .onInit function...
Both functions are in the NSIS documents section C.4Function .onInit
Push $R0
Call GetParamaters
Pop $R0
Push $R0
Push "/auto"
Call StrStr
Pop $R0
StrCmp $R0 "" +2
SetSilent silent
Pop $R0
FunctionEnd
-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