首页 > 其他分享 >Inno setup 使用

Inno setup 使用

时间:2023-02-16 13:11:06浏览次数:45  
标签:RT MyAppURL setup MyAppName 使用 Inno Venus Setup

Venus_RT.iss脚本:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Venus_RT"
#define MyAppVersion "2.0"
#define MyAppPublisher "JET PLASMA"
#define MyAppURL "http://www.jetplasma.com/"

[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{56BC97AA-FAE3-4809-8D12-58DF2FEFD19A}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=C:\Venus\{#MyAppName}
DefaultGroupName={#MyAppName}
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputBaseFilename={#MyAppName}
Compression=lzma
SolidCompression=yes
WizardStyle=modern
LicenseFile=License.txt
UsePreviousAppDir=no

[Languages]
Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"


[Files]
Source: "..\Venus_RT\bin\Release\*";Excludes:"Config,Recipes,Logs"; DestDir: "{app}"; Flags: recursesubdirs createallsubdirs
Source: "..\Venus_RT\bin\Release\Config\*"; DestDir: "{app}\Config"; Flags: onlyifdoesntexist


[Icons]
Name: "{userdesktop}\{#MyAppName}";Filename: "{app}\{#MyAppName}.exe"; WorkingDir: "{app}"

只在release执行iss脚本

if $(ConfigurationName)==Release (
"$(SolutionDir)\Venus_Setup\Inno Setup 6\ISCC.exe"  /Q "$(SolutionDir)\Venus_Setup\Venus_RT.iss"
)

 

标签:RT,MyAppURL,setup,MyAppName,使用,Inno,Venus,Setup
From: https://www.cnblogs.com/dangnianxiaoqingxin/p/17126285.html

相关文章