Reference/IfSilent: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page with "=IfSilent= jump_if_silent [jump_if_not] Checks the silent flag, and jumps to jump_if_silent if the installer is silent, otherwise jumps to jump_if_not. The silent flag can be ...") |
mNo edit summary |
||
Line 7: | Line 7: | ||
<highlight-nsis>IfSilent +2 | <highlight-nsis>IfSilent +2 | ||
ExecWait '"$INSTDIR\nonsilentprogram.exe"'</highlight-nsis> | ExecWait '"$INSTDIR\nonsilentprogram.exe"'</highlight-nsis> | ||
''Command introduced with NSIS v2.0'' |
Revision as of 11:18, 3 June 2013
IfSilent
jump_if_silent [jump_if_not]
Checks the silent flag, and jumps to jump_if_silent if the installer is silent, otherwise jumps to jump_if_not. The silent flag can be set by SilentInstall, SilentUninstall, SetSilent and by the user passing /S on the command line.
IfSilent +2 ExecWait '"$INSTDIR\nonsilentprogram.exe"'
Command introduced with NSIS v2.0