diff options
| author | David Pinedo <david@lunarg.com> | 2016-02-02 10:47:57 -0700 |
|---|---|---|
| committer | David Pinedo <david@lunarg.com> | 2016-02-02 10:49:09 -0700 |
| commit | c36dc9e7d043e000f6f4cb714e76e3fca61fed97 (patch) | |
| tree | 228bc374f66c2480dbe9bbe73a916e8fa0d3d1e2 | |
| parent | 431ada8dd6094b0f1435160e5cc1cb73fd929e14 (diff) | |
| download | usermoji-c36dc9e7d043e000f6f4cb714e76e3fca61fed97.tar.xz | |
windowsrtinstaller: Don't display dialog when silent uninstall requires reboot
| -rw-r--r-- | windowsRuntimeInstaller/InstallerRT.nsi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/windowsRuntimeInstaller/InstallerRT.nsi b/windowsRuntimeInstaller/InstallerRT.nsi index a12ef7e6..4a94f087 100644 --- a/windowsRuntimeInstaller/InstallerRT.nsi +++ b/windowsRuntimeInstaller/InstallerRT.nsi @@ -435,9 +435,10 @@ Section "uninstall" Call un.DeleteDirIfEmpty # If any of the remove commands failed, request a reboot - IfRebootFlag 0 noreboot - MessageBox MB_YESNO "A reboot is required to finish the uninstall. Do you wish to reboot now?" IDNO noreboot - Reboot + IfSilent noreboot + IfRebootFlag 0 noreboot + MessageBox MB_YESNO "A reboot is required to finish the uninstall. Do you wish to reboot now?" IDNO noreboot + Reboot noreboot: ${Endif} |
