]> git.sesse.net Git - vlc/commitdiff
* install-win32: fixed my last commit.
authorGildas Bazin <gbazin@videolan.org>
Sun, 6 Jul 2003 18:20:32 +0000 (18:20 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 6 Jul 2003 18:20:32 +0000 (18:20 +0000)
install-win32

index 3008ce18301c2194cd65a0288b370f7197eb9434..9449c4c0d902b7e55858f36f9f327b60b429fefa 100644 (file)
@@ -35,7 +35,6 @@ Caption "VLC '${VERSION}' for Win32 Setup"
 \r
 CRCCheck on\r
 \r
-SetShellVarContext all\r
 InstallDir "$PROGRAMFILES\VideoLAN\VLC"\r
 \r
 ; check if the program has already been installed, if so, take this dir\r
@@ -68,6 +67,8 @@ Section "Install"
        File  /r locale\r
        File  /r skins\r
 \r
+        SetShellVarContext all\r
+\r
        CreateDirectory "$SMPROGRAMS\VideoLAN"\r
        CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \\r
                        "$INSTDIR\vlc.exe" "--intf wxwin"\r
@@ -95,6 +96,7 @@ SectionEnd
 ;;;;;;;;;;;;;;;;;;;;;;\r
 \r
 Section "Uninstall"\r
+        SetShellVarContext all\r
        RMDir /r $SMPROGRAMS\VideoLAN\r
        RMDir /r $INSTDIR\r
        DeleteRegKey HKLM SOFTWARE\VideoLAN\r