Move to Unicode version of NSIS

This commit is contained in:
Et0h 2014-11-29 13:56:26 +00:00
parent ff0ec52bc1
commit abd6547c9c
1 changed files with 26 additions and 26 deletions

View File

@ -16,7 +16,7 @@ import syncplay
import os
import subprocess
p = "C:\\Program Files (x86)\\NSIS\\makensis.exe" #TODO: how to move that into proper place, huh
p = "C:\\Program Files (x86)\\NSIS\\Unicode\\makensis.exe" #TODO: how to move that into proper place, huh
NSIS_COMPILE = p if os.path.isfile(p) else "makensis.exe"
OUT_DIR = "syncplay v{}".format(syncplay.version)
SETUP_SCRIPT_PATH = "syncplay_setup.nsi"
@ -181,7 +181,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
Push $${LANG_POLISH}
Push Polski
Push $${LANG_RUSSIAN}
Push Russian
Push Русский
Push A ; A means auto count languages
LangDLL::LangDialog "Language Selection" "Please select the language of Syncplay and the installer"
Pop $$LANGUAGE
@ -234,13 +234,13 @@ NSIS_SCRIPT_TEMPLATE = r"""
$${NSD_CreateLabel} 8u 85u 187u 10u "$$(^Shortcut)"
Pop $$Label_Shortcut
$${NSD_CreateCheckbox} 8u 98u 50u 10u "$$(^StartMenu)"
$${NSD_CreateCheckbox} 8u 98u 60u 10u "$$(^StartMenu)"
Pop $$CheckBox_StartMenuShortcut
$${NSD_CreateCheckbox} 68u 98u 50u 10u "$$(^Desktop)"
$${NSD_CreateCheckbox} 78u 98u 70u 10u "$$(^Desktop)"
Pop $$CheckBox_DesktopShortcut
$${NSD_CreateCheckbox} 128u 98u 150u 10u "$$(^QuickLaunchBar)"
$${NSD_CreateCheckbox} 158u 98u 130u 10u "$$(^QuickLaunchBar)"
Pop $$CheckBox_QuickLaunchShortcut
$${If} $$CheckBox_Associate_State == $${BST_CHECKED}