|
| 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 "ShecanDesktop" |
| 5 | +#define MyAppSetupName "ShecanDesktop_Setup" |
| 6 | +#define MyAppVersion "1.0.0" |
| 7 | +#define MyAppPublisher "AmRo" |
| 8 | +#define MyAppURL "https://github.com/AmRo045/ShecanDesktop" |
| 9 | +#define MyAppExeName "ShecanDesktop.exe" |
| 10 | + |
| 11 | +[Setup] |
| 12 | +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. |
| 13 | +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 14 | +AppId={{18916FA3-7954-4F1D-970E-F35C812719F0} |
| 15 | +AppName={#MyAppName} |
| 16 | +AppVersion={#MyAppVersion} |
| 17 | +;AppVerName={#MyAppName} {#MyAppVersion} |
| 18 | +AppPublisher={#MyAppPublisher} |
| 19 | +AppPublisherURL={#MyAppURL} |
| 20 | +AppSupportURL={#MyAppURL} |
| 21 | +AppUpdatesURL={#MyAppURL} |
| 22 | +DefaultDirName={autopf}\{#MyAppName} |
| 23 | +DisableProgramGroupPage=yes |
| 24 | +; The [Icons] "quicklaunchicon" entry uses {userappdata} but its [Tasks] entry has a proper IsAdminInstallMode Check. |
| 25 | +UsedUserAreasWarning=no |
| 26 | +; Uncomment the following line to run in non administrative install mode (install for current user only.) |
| 27 | +;PrivilegesRequired=lowest |
| 28 | +OutputDir={#SourcePath}Output |
| 29 | +OutputBaseFilename={#MyAppSetupName}_{#MyAppVersion} |
| 30 | +SetupIconFile="{#SourcePath}..\Source\ShecanDesktop\Resources\Images\Icon.ico" |
| 31 | +Compression=lzma |
| 32 | +SolidCompression=yes |
| 33 | +WizardStyle=modern |
| 34 | + |
| 35 | +[Languages] |
| 36 | +Name: "english"; MessagesFile: "compiler:Default.isl" |
| 37 | + |
| 38 | +[Tasks] |
| 39 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 40 | +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 6.1; Check: not IsAdminInstallMode |
| 41 | + |
| 42 | +[Files] |
| 43 | +Source: "{#SourcePath}Files\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion |
| 44 | +Source: "{#SourcePath}Files\*"; DestDir: "{app}\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 45 | +; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 46 | + |
| 47 | +[Icons] |
| 48 | +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
| 49 | +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
| 50 | +Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon |
0 commit comments