GrabBag/GrabBagPrj/VrVirtualCamera.iss
2026-08-04 14:23:07 +08:00

48 lines
1.6 KiB
Plaintext

; VrVirtualCamera - 虚拟相机模拟器安装脚本
; Inno Setup 6
#define MyAppName "虚拟相机模拟器"
#define MyAppNameEn "VrVirtualCamera"
#define MyAppVersion "1.0.0"
#define MyAppPublisher "VrTools"
#define MyAppURL ""
#define MyAppExeName "VrVirtualCamera.exe"
#define MyProgramPath ".\buildwin\VrVirtualCamera"
#define MyIconPath "..\Tools\VrVirtualCamera\VrVirtualCamera.ico"
[Setup]
AppId={{7F3E9C5A-1B2D-4E8F-9C6A-3D5B7A8E9F01}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName}_V{#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={commonpf}\{#MyAppNameEn}
DisableProgramGroupPage=yes
SetupIconFile={#MyIconPath}
OutputBaseFilename={#MyAppNameEn}V{#MyAppVersion}
OutputDir=..\Publish
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "default"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "{#MyProgramPath}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: "{app}\{#MyAppExeName}"
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent runascurrentuser
[Code]