|
| 1 | +; Script generated by the Inno Setup Script Wizard. |
| 2 | +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
| 3 | + |
| 4 | +#define MyAppName "ChiX - C Editor" |
| 5 | +#define MyAppVersion "1.0" |
| 6 | +#define MyAppPublisher "ProTec Games" |
| 7 | +#define MyAppURL "https://prakhardoneria.tech/" |
| 8 | +#define MyAppExeName "ChiX.exe" |
| 9 | +#define MyAppAssocName MyAppName + " File" |
| 10 | +#define MyAppAssocExt ".myp" |
| 11 | +#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt |
| 12 | + |
| 13 | +[Setup] |
| 14 | +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. |
| 15 | +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 16 | +AppId={{2EF91213-2059-40ED-AFF3-34314A97ED04} |
| 17 | +AppName={#MyAppName} |
| 18 | +AppVersion={#MyAppVersion} |
| 19 | +;AppVerName={#MyAppName} {#MyAppVersion} |
| 20 | +AppPublisher={#MyAppPublisher} |
| 21 | +AppPublisherURL={#MyAppURL} |
| 22 | +AppSupportURL={#MyAppURL} |
| 23 | +AppUpdatesURL={#MyAppURL} |
| 24 | +DefaultDirName={autopf}\{#MyAppName} |
| 25 | +UninstallDisplayIcon={app}\{#MyAppExeName} |
| 26 | +; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run |
| 27 | +; on anything but x64 and Windows 11 on Arm. |
| 28 | +ArchitecturesAllowed=x64compatible |
| 29 | +; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the |
| 30 | +; install be done in "64-bit mode" on x64 or Windows 11 on Arm, |
| 31 | +; meaning it should use the native 64-bit Program Files directory and |
| 32 | +; the 64-bit view of the registry. |
| 33 | +ArchitecturesInstallIn64BitMode=x64compatible |
| 34 | +ChangesAssociations=yes |
| 35 | +DisableProgramGroupPage=yes |
| 36 | +LicenseFile=C:\Users\lenovo\Downloads\LICENSE.txt |
| 37 | +; Uncomment the following line to run in non administrative install mode (install for current user only). |
| 38 | +;PrivilegesRequired=lowest |
| 39 | +OutputBaseFilename=chix-setup |
| 40 | +SetupIconFile=C:\Users\lenovo\Downloads\X.ico |
| 41 | +SolidCompression=yes |
| 42 | +WizardStyle=modern |
| 43 | + |
| 44 | +[Languages] |
| 45 | +Name: "english"; MessagesFile: "compiler:Default.isl" |
| 46 | + |
| 47 | +[Tasks] |
| 48 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 49 | + |
| 50 | +[Files] |
| 51 | +Source: "C:\Users\lenovo\Downloads\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion |
| 52 | +; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 53 | + |
| 54 | +[Registry] |
| 55 | +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue |
| 56 | +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey |
| 57 | +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0" |
| 58 | +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1""" |
| 59 | + |
| 60 | +[Icons] |
| 61 | +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
| 62 | +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
| 63 | + |
| 64 | +[Run] |
| 65 | +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
| 66 | + |
0 commit comments