Conditional SilentInstall
.. is it possible?
-ryan
Archive: Conditional SilentInstall
Conditional SilentInstall
.. is it possible?
-ryan
hi,
on compiletime --> yes
;!define silent
!ifdef silent
SilentInstall Silent
!endif
on runtime --> nope
cu yzo
Conditional SilentInstall on runtime
You may have to installers, one silent and one verbose.
Then make a third installer that runs one of these depending on something. An example script for such function is as follows:
Name Installer checker
; The installer checker is ofcourse silent itself.
Silent
Section ""
StrCmp $1 $2 silent notsilent
silent:
ExecWait $TEMP\verboseinstaller.exe
goto end
notsilent:
ExecWait $TEMP\silentinstaller.exe
end:
SectionEnd
hi,
did you recognize that this would double the installer size?
Then better use the param /S (1.42 only)
Setup.exe --> normal
Setup.exe /S --> silent
cu yzo
ahh, alhought not the answer I was looking for, /S works prefectly for my application.
thank alot!
-ryan