Changed registry string from which VLC directory is read.

This commit is contained in:
Bosmanfrx 2013-01-29 19:35:11 +01:00
parent 1e1d4ca9b8
commit e1dd07cd73
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
$${EndIf}
$${If} $$CheckBox_VLC_State == $${BST_CHECKED}
ReadRegStr $$VLC_Directory HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player" "InstallLocation"
ReadRegStr $$VLC_Directory HKLM "Software\VideoLAN\VLC" "InstallDir"
SetOutPath $$VLC_Directory\lua\intf
File resources\syncplay.lua
$${EndIf}
@ -381,7 +381,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
RMDir $$SMPROGRAMS\Syncplay
Delete $$DESKTOP\Syncplay.lnk
Delete $$QUICKLAUNCH\Syncplay.lnk
ReadRegStr $$VLC_Directory HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player" "InstallLocation"
ReadRegStr $$VLC_Directory HKLM "Software\VideoLAN\VLC" "InstallDir"
Delete $$VLC_Directory\lua\intf\syncplay.lua
FunctionEnd