diff --git a/etc/NSIS/setup.nsi b/etc/NSIS/setup.nsi index c9266f9d..bbf8dec2 100644 --- a/etc/NSIS/setup.nsi +++ b/etc/NSIS/setup.nsi @@ -652,11 +652,7 @@ Section "-Finished" ${EndIf} !endif - ${If} ${UnattendedMode} - Sleep 1500 - SetAutoClose true - HideWindow - ${EndIf} + ${IfThen} ${UnattendedMode} ${|} SetAutoClose true ${|} SectionEnd