Pop $R0\r
\r
StrCmp $R0 0 +3\r
- MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."\r
+ MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." /SD IDOK\r
Abort\r
\r
;Remove previous version\r
\r
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \\r
"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \\r
- previous version or `Cancel` to continue." \\r
+ previous version or `Cancel` to continue." /SD IDOK \\r
IDOK uninst\r
goto done\r
\r
;Run the uninstaller\r
uninst:\r
+ IfSilent +3\r
Exec $INSTDIR\uninst.exe\r
+ goto done\r
+ Exec '"$INSTDIR\uninst.exe" /S'\r
done:\r
FunctionEnd\r
\r
Call CheckFramework\r
StrCmp $0 "1" +3\r
StrCpy $InstallDotNET "Yes"\r
- MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}."\r
+ MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}." /SD IDOK\r
Pop $0\r
\r
; Get .NET if required\r
\r
Function un.onUninstSuccess\r
HideWindow\r
- MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."\r
+ MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK\r
FunctionEnd\r
\r
Function un.onInit\r
- MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2\r
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES +2\r
Abort\r
FunctionEnd\r
\r
Pop $R0\r
\r
StrCmp $R0 0 +3\r
- MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."\r
+ MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." /SD IDOK\r
Abort\r
\r
;Remove previous version\r
\r
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \\r
"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \\r
- previous version or `Cancel` to continue." \\r
+ previous version or `Cancel` to continue." /SD IDOK \\r
IDOK uninst\r
goto done\r
\r
;Run the uninstaller\r
uninst:\r
+ IfSilent +3\r
Exec $INSTDIR\uninst.exe\r
+ goto done\r
+ Exec '"$INSTDIR\uninst.exe" /S'\r
done:\r
FunctionEnd\r
\r
Call CheckFramework\r
StrCmp $0 "1" +3\r
StrCpy $InstallDotNET "Yes"\r
- MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}."\r
+ MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}." /SD IDOK\r
Pop $0\r
\r
; Get .NET if required\r
\r
Function un.onUninstSuccess\r
HideWindow\r
- MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."\r
+ MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK\r
FunctionEnd\r
\r
Function un.onInit\r
- MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2\r
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES +2\r
Abort\r
FunctionEnd\r
\r
Pop $R0\r
\r
StrCmp $R0 0 +3\r
- MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."\r
+ MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." /SD IDOK\r
Abort\r
\r
;Remove previous version\r
\r
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \\r
"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \\r
- previous version or `Cancel` to continue." \\r
+ previous version or `Cancel` to continue." /SD IDOK \\r
IDOK uninst\r
goto done\r
\r
;Run the uninstaller\r
uninst:\r
+ IfSilent +3\r
Exec $INSTDIR\uninst.exe\r
+ goto done\r
+ Exec '"$INSTDIR\uninst.exe" /S'\r
done:\r
FunctionEnd\r
\r
Call CheckFramework\r
StrCmp $0 "1" +3\r
StrCpy $InstallDotNET "Yes"\r
- MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}."\r
+ MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}." /SD IDOK\r
Pop $0\r
\r
; Get .NET if required\r
\r
Function un.onUninstSuccess\r
HideWindow\r
- MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."\r
+ MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK\r
FunctionEnd\r
\r
Function un.onInit\r
- MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2\r
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES +2\r
Abort\r
FunctionEnd\r
\r
Pop $R0\r
\r
StrCmp $R0 0 +3\r
- MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."\r
+ MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." /SD IDOK\r
Abort\r
\r
;Remove previous version\r
\r
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \\r
"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \\r
- previous version or `Cancel` to continue." \\r
+ previous version or `Cancel` to continue." /SD IDOK \\r
IDOK uninst\r
goto done\r
\r
;Run the uninstaller\r
uninst:\r
+ IfSilent +3\r
Exec $INSTDIR\uninst.exe\r
+ goto done\r
+ Exec '"$INSTDIR\uninst.exe" /S'\r
done:\r
FunctionEnd\r
\r
Call CheckFramework\r
StrCmp $0 "1" +3\r
StrCpy $InstallDotNET "Yes"\r
- MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}."\r
+ MessageBox MB_OK|MB_ICONINFORMATION "${PRODUCT_NAME} requires that the .NET Framework 4.0 is installed. The latest .NET Framework will be downloaded and installed automatically during installation of ${PRODUCT_NAME}." /SD IDOK\r
Pop $0\r
\r
; Get .NET if required\r
\r
Function un.onUninstSuccess\r
HideWindow\r
- MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."\r
+ MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK\r
FunctionEnd\r
\r
Function un.onInit\r
- MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2\r
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES +2\r
Abort\r
FunctionEnd\r
\r