aboutsummaryrefslogtreecommitdiff
path: root/windowsRuntimeInstaller
diff options
context:
space:
mode:
authorLenny Komow <lenny@lunarg.com>2016-09-09 09:43:17 -0600
committerLenny Komow <lenny@lunarg.com>2016-09-09 09:43:17 -0600
commit2f38c80a349e9b7a7717c7d4e71fffab9205fa9f (patch)
tree6e8bb07fc3017c87e89c02fdb674787ba0d73b85 /windowsRuntimeInstaller
parente669d89c775f5d957a49c0f8f960f8a3373c7adf (diff)
downloadusermoji-2f38c80a349e9b7a7717c7d4e71fffab9205fa9f.tar.xz
winsdk: Fix ConfigureRT.exe not being deleted
Diffstat (limited to 'windowsRuntimeInstaller')
-rw-r--r--windowsRuntimeInstaller/InstallerRT.nsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/windowsRuntimeInstaller/InstallerRT.nsi b/windowsRuntimeInstaller/InstallerRT.nsi
index 7023447b..7d5e6845 100644
--- a/windowsRuntimeInstaller/InstallerRT.nsi
+++ b/windowsRuntimeInstaller/InstallerRT.nsi
@@ -636,6 +636,9 @@ Section "uninstall"
StrCpy $1 85
${Endif}
Call un.CheckForError
+
+ # Remove ConfigureRT regardless of the ref count
+ Delete /REBOOTOK "$IDir\ConfigureRT.exe"
# If Ref Count is zero, remove install dir
${If} $IC <= 0
@@ -645,7 +648,6 @@ Section "uninstall"
Delete /REBOOTOK "$IDir\LICENSE.txt"
Delete /REBOOTOK "$IDir\Uninstall${PRODUCTNAME}.exe"
Delete /REBOOTOK "$IDir\V.ico"
- Delete /REBOOTOK "$IDir\ConfigureRT.exe"
Delete /REBOOTOK "$IDir\vulkaninfo.exe"
# If running on a 64-bit OS machine