If user has VLC then installing interface script is checked by default (thanks Bosman)
This commit is contained in:
parent
ba529ff1d1
commit
3a6a58eb2c
@ -138,6 +138,10 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
|
|
||||||
StrCpy $$CheckBox_Associate_State $${BST_CHECKED}
|
StrCpy $$CheckBox_Associate_State $${BST_CHECKED}
|
||||||
StrCpy $$CheckBox_StartMenuShortcut_State $${BST_CHECKED}
|
StrCpy $$CheckBox_StartMenuShortcut_State $${BST_CHECKED}
|
||||||
|
ReadRegStr $$VLC_Version HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player" "VersionMajor"
|
||||||
|
$${If} $$VLC_Version == "2"
|
||||||
|
StrCpy $$CheckBox_VLC_State $${BST_CHECKED}
|
||||||
|
$${EndIf}
|
||||||
|
|
||||||
Call GetSize
|
Call GetSize
|
||||||
Call DriveSpace
|
Call DriveSpace
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user