OSDN Git Service

Installer: like with the lib directory, also rename, and delete (perhaps on reboot...
authorMichael Curran <mick@kulgan.net>
Tue, 3 Nov 2009 08:22:09 +0000 (19:22 +1100)
committerMichael Curran <mick@kulgan.net>
Tue, 3 Nov 2009 08:22:09 +0000 (19:22 +1100)
installer/nvda.nsi

index 69e2057..e4a6650 100644 (file)
@@ -194,6 +194,13 @@ Delete "$0"
 Rename "$INSTDIR\lib" "$0"\r
 Rmdir /REBOOTOK /r "$0"\r
 noLibExists:\r
+IfFileExists "$INSTDIR\lib64\*.*" lib64Exists noLib64Exists\r
+lib64Exists:\r
+GetTempFileName $0 "$INSTDIR"\r
+Delete "$0"\r
+Rename "$INSTDIR\lib64" "$0"\r
+Rmdir /REBOOTOK /r "$0"\r
+noLib64Exists:\r
 ; open and close uninstallation log after ennumerating all the files being copied\r
 SetOutPath "$INSTDIR"\r
 !insertmacro UNINSTALL.LOG_OPEN_INSTALL\r