mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Add docs to Windows installer script
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# MUI general
|
# MUI general
|
||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
|
||||||
# Installer pages
|
# Installer pages
|
||||||
!insertmacro MUI_PAGE_WELCOME
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
@@ -14,26 +15,28 @@
|
|||||||
!insertmacro MUI_UNPAGE_INSTFILES
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
!insertmacro MUI_UNPAGE_FINISH
|
!insertmacro MUI_UNPAGE_FINISH
|
||||||
|
|
||||||
!insertmacro MUI_LANGUAGE "English"
|
|
||||||
|
|
||||||
|
|
||||||
|
# Registry keys
|
||||||
!define KEY_MANIFEST "Software\Mozilla\NativeMessagingHosts\{{applicationName}}"
|
!define KEY_MANIFEST "Software\Mozilla\NativeMessagingHosts\{{applicationName}}"
|
||||||
!define KEY_UNINSTALL "Software\Microsoft\Windows\CurrentVersion\Uninstall\{{winRegistryKey}}"
|
!define KEY_UNINSTALL "Software\Microsoft\Windows\CurrentVersion\Uninstall\{{winRegistryKey}}"
|
||||||
|
|
||||||
|
|
||||||
|
# Application name
|
||||||
Name "{{applicationName}} v{{applicationVersion}}"
|
Name "{{applicationName}} v{{applicationVersion}}"
|
||||||
|
|
||||||
|
OutFile "{{outputName}}" # Installer filename
|
||||||
|
InstallDir "{{executablePath}}" # Installation directory
|
||||||
|
|
||||||
|
# Version info
|
||||||
VIProductVersion "{{applicationVersion}}.0"
|
VIProductVersion "{{applicationVersion}}.0"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "{{applicationName}}"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "{{applicationName}}"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "{{applicationVersion}}"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "{{applicationVersion}}"
|
||||||
|
|
||||||
OutFile "{{outputName}}"
|
# Need admin privileges for global install
|
||||||
InstallDir "{{executablePath}}"
|
|
||||||
RequestExecutionLevel admin
|
RequestExecutionLevel admin
|
||||||
|
|
||||||
Section
|
Section
|
||||||
SetRegView 64
|
SetRegView 64
|
||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
# Main executable
|
# Main executable
|
||||||
|
|||||||
Reference in New Issue
Block a user