aboutsummaryrefslogtreecommitdiff
path: root/windowsRuntimeInstaller
diff options
context:
space:
mode:
authorLenny Komow <lenny@lunarg.com>2016-08-30 16:43:39 -0600
committerLenny Komow <lenny@lunarg.com>2016-08-30 16:43:39 -0600
commitce18a73434f60913bc11a87d02485b57b5526a3c (patch)
treeb27c1d6e18e403ebfaa17697eefd5c78d96c0120 /windowsRuntimeInstaller
parenta4356e1fb0a69ef353381561c4b244d3cc0a66e2 (diff)
downloadusermoji-ce18a73434f60913bc11a87d02485b57b5526a3c.tar.xz
winsdk: Fix uninstall log not clearing old copies
Diffstat (limited to 'windowsRuntimeInstaller')
-rw-r--r--windowsRuntimeInstaller/InstallerRT.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/windowsRuntimeInstaller/InstallerRT.nsi b/windowsRuntimeInstaller/InstallerRT.nsi
index c84170b5..7984d7d8 100644
--- a/windowsRuntimeInstaller/InstallerRT.nsi
+++ b/windowsRuntimeInstaller/InstallerRT.nsi
@@ -635,6 +635,9 @@ Section "uninstall"
StrCpy $1 85
${Endif}
Call un.CheckForError
+ IfFileExists "$TEMP\VulkanRT\configure_rt_uninstall.log" 0 endif_log_exists
+ Delete "$TEMP\VulkanRT\configure_rt_uninstall.log"
+ endif_log_exists:
Rename "$IDir\configure_rt.log" "$TEMP\VulkanRT\configure_rt_uninstall.log"
# If Ref Count is zero, remove install dir