|
@@ -0,0 +1,63 @@
|
|
|
+; Script generated by the Inno Setup Script Wizard.
|
|
|
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
+
|
|
|
+#define MyAppName "PixiEditor"
|
|
|
+#define MyAppVersion GetFileVersion("E:\Builds\PixiEditor\x64\PixiEditor.exe") ;Not perfect solution, it's enviroment dependend
|
|
|
+#define MyAppPublisher "PixiEditor"
|
|
|
+#define MyAppURL "https://github.com/PixiEditor/PixiEditor"
|
|
|
+#define MyAppExeName "PixiEditor.exe"
|
|
|
+#define TargetPlatform "x32-light"
|
|
|
+
|
|
|
+[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={{83DE4F2A-1F75-43AE-9546-3184F1C44517}
|
|
|
+AppName={#MyAppName}
|
|
|
+AppVersion={#MyAppVersion}
|
|
|
+AppVerName={#MyAppName} {#MyAppVersion}
|
|
|
+VersionInfoVersion={#MyAppVersion}
|
|
|
+AppPublisher={#MyAppPublisher}
|
|
|
+AppPublisherURL={#MyAppURL}
|
|
|
+AppSupportURL={#MyAppURL}
|
|
|
+AppUpdatesURL={#MyAppURL}
|
|
|
+DefaultDirName={autopf}\{#MyAppName}
|
|
|
+DisableProgramGroupPage=yes
|
|
|
+; The [Icons] "quicklaunchicon" entry uses {userappdata} but its [Tasks] entry has a proper IsAdminInstallMode Check.
|
|
|
+UsedUserAreasWarning=no
|
|
|
+LicenseFile=E:\Git\PixiEditor\LICENSE
|
|
|
+; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
|
|
+;PrivilegesRequired=lowest
|
|
|
+OutputDir=E:\Builds\PixiEditor
|
|
|
+OutputBaseFilename=PixiEditor-setup-{#TargetPlatform}
|
|
|
+SetupIconFile=E:\Git\PixiEditor\icon.ico
|
|
|
+Compression=lzma
|
|
|
+SolidCompression=yes
|
|
|
+WizardStyle=modern
|
|
|
+ChangesAssociations = yes
|
|
|
+
|
|
|
+[Languages]
|
|
|
+Name: "english"; MessagesFile: "compiler:Default.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: "E:\Builds\PixiEditor\{#TargetPlatform}\PixiEditor.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
+Source: "E:\Builds\PixiEditor\{#TargetPlatform}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
|
|
+
|
|
|
+[Icons]
|
|
|
+Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|
|
+Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
|
|
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
|
|
|
+
|
|
|
+[Run]
|
|
|
+Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
|
|
+
|
|
|
+[Registry]
|
|
|
+
|
|
|
+Root: HKCR; Subkey: ".pixi"; ValueData: "{#MyAppName}"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""
|
|
|
+Root: HKCR; Subkey: "{#MyAppName}"; ValueData: "Program {#MyAppName}"; Flags: uninsdeletekey; ValueType: string; ValueName: ""
|
|
|
+Root: HKCR; Subkey: "{#MyAppName}\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: ""
|
|
|
+Root: HKCR; Subkey: "{#MyAppName}\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: ""
|