53 lines
2.1 KiB
Plaintext
53 lines
2.1 KiB
Plaintext
; Inno Setup Script for camera_gui installer
|
|
; Compile this script using Inno Setup Compiler
|
|
; Download from: https://jrsoftware.org/isdl.php
|
|
|
|
[Setup]
|
|
AppName=Orisys Sensor Demo
|
|
AppVersion=1.0.0
|
|
AppPublisher=Orisys
|
|
AppPublisherURL=https://orisys.com
|
|
DefaultDirName={autopf}\Orisys\SensorDemo
|
|
DefaultGroupName=Orisys Sensor Demo
|
|
AllowNoIcons=yes
|
|
LicenseFile=
|
|
OutputDir=installer
|
|
OutputBaseFilename=OrisysSensorDemo_Setup
|
|
Compression=lzma
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
PrivilegesRequired=admin
|
|
ArchitecturesInstallIn64BitMode=x64
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
Name: "chinese"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 6.1; Check: not IsAdminInstallMode
|
|
|
|
[Files]
|
|
Source: "dist\camera_gui.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "orisys_logo_notext.png"; DestDir: "{app}"; Flags: ignoreversion
|
|
; Add any other required files here
|
|
; Source: "config\*"; DestDir: "{app}\config"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
[Icons]
|
|
Name: "{group}\Orisys Sensor Demo"; Filename: "{app}\camera_gui.exe"; IconFilename: "{app}\orisys_logo_notext.png"
|
|
Name: "{group}\{cm:UninstallProgram,Orisys Sensor Demo}"; Filename: "{uninstallexe}"
|
|
Name: "{autodesktop}\Orisys Sensor Demo"; Filename: "{app}\camera_gui.exe"; IconFilename: "{app}\orisys_logo_notext.png"; Tasks: desktopicon
|
|
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Orisys Sensor Demo"; Filename: "{app}\camera_gui.exe"; IconFilename: "{app}\orisys_logo_notext.png"; Tasks: quicklaunchicon
|
|
|
|
[Run]
|
|
Filename: "{app}\camera_gui.exe"; Description: "{cm:LaunchProgram,Orisys Sensor Demo}"; Flags: nowait postinstall skipifsilent
|
|
|
|
[Code]
|
|
function InitializeSetup(): Boolean;
|
|
begin
|
|
Result := True;
|
|
// Check if Visual C++ Redistributable is installed (if needed)
|
|
// Add checks here if required
|
|
end;
|
|
|