teleport/dist/client/windows/assist/installer.nsi

54 lines
2.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

;=========================================================
; teleport-assist Run-time Package Installer Script.
;=========================================================
;
; 定义常量
; 如果不常更新的常量或基于本文件常量推导出来的常量定义到main.nsh
; 安装函数,流程 定义到 setup.nsh
;
;==========================================================================;
!define COMPANY_NAME "EOMSoft"
!define BASE_NAME "teleport-assist"
!define PRODUCT_NAME "Teleport-Assist"
!define PRODUCT_WEBSITE "teleport.eomsoft.net"
; 产品安装包GUID
!define PRODUCT_GUID "{2FFD2BF7-24C0-4AC5-BF7B-B8C7420CF694_TP_ASSIST}"
!define PRODUCT_NAME_DESC "EOMSoft-Teleport"
!define PRODUCT_NAME_DISPLAY "Teleport by EOMSoft"
!define PRODUCT_VER "3.0"
!define FILE_VER "3.0.0.1"
;;;;包含文件名称 ,为了支持通配,都不加后缀
!define PFNAME_ASSIST "tp_assist"
;;输出setup文件的名称不含文件后缀 .exe如果不定义使用默认规则创建输出名称
;;;指定输出文件名称
!define DEF_OUTPUT_RUNTIME_PACKAGE_NAME "${BASE_NAME}-windows-${FILE_VER}"
;;支持的语言,如果支持多于一种语言,自动选择安装语言
;!define _SUPPORT_MUTI_LANGS_
;;如果支持多语言,设置默认首选语言
;!ifdef _SUPPORT_MUTI_LANGS_
; !define _LANG 1033
; !define _LANG_NAME "English"
;!endif
;;如果没有设置 _SUPPORT_MUTI_LANGS_以下语言只能选择一种
!define _SUPPORT_LANG_SIMPCHINESE
;!define _SUPPORT_LANG_ENGLISH
;!define _SUPPORT_LANG_TRADCHINESE
!include "main.nsh"
!include "setup.nsh"
; This text show at the bottom of the installer UI. Replace the "Nullsoft Install System vXXX".
BrandingText ${PRODUCT_WEBSITE}
;EOF