|
| 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 "Convert To LDraw" |
| 5 | +#define MyAppVersion "1.5.2" |
| 6 | +#define MyAppPublisher "Nexusnui" |
| 7 | +#define MyAppURL "https://github.com/Nexusnui/Convert-To-LDraw" |
| 8 | +#define MyAppExeName "Convert to LDraw.exe" |
| 9 | + |
| 10 | +[Setup] |
| 11 | +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. |
| 12 | +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 13 | +AppId={{14EEF53F-42B2-42A9-AAB9-61B9719B866C} |
| 14 | +AppName={#MyAppName} |
| 15 | +AppVersion={#MyAppVersion} |
| 16 | +;AppVerName={#MyAppName} {#MyAppVersion} |
| 17 | +AppPublisher={#MyAppPublisher} |
| 18 | +AppPublisherURL={#MyAppURL} |
| 19 | +AppSupportURL={#MyAppURL} |
| 20 | +AppUpdatesURL={#MyAppURL} |
| 21 | +DefaultDirName={autopf}\{#MyAppName} |
| 22 | +UninstallDisplayIcon={app}\{#MyAppExeName} |
| 23 | +; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run |
| 24 | +; on anything but x64 and Windows 11 on Arm. |
| 25 | +ArchitecturesAllowed=x64compatible |
| 26 | +; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the |
| 27 | +; install be done in "64-bit mode" on x64 or Windows 11 on Arm, |
| 28 | +; meaning it should use the native 64-bit Program Files directory and |
| 29 | +; the 64-bit view of the registry. |
| 30 | +ArchitecturesInstallIn64BitMode=x64compatible |
| 31 | +DisableProgramGroupPage=yes |
| 32 | +; Uncomment the following line to run in non administrative install mode (install for current user only). |
| 33 | +;PrivilegesRequired=lowest |
| 34 | +PrivilegesRequiredOverridesAllowed=dialog |
| 35 | +OutputBaseFilename=Convert To LDraw Installer x86 |
| 36 | +SetupIconFile=ConvertToLDraw\icons\ConvertToLDraw_icon.ico |
| 37 | +SolidCompression=yes |
| 38 | +WizardStyle=modern |
| 39 | + |
| 40 | +[Languages] |
| 41 | +Name: "english"; MessagesFile: "compiler:Default.isl" |
| 42 | + |
| 43 | +[Tasks] |
| 44 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 45 | + |
| 46 | +[Files] |
| 47 | +Source: "dist\Convert To LDraw\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion |
| 48 | +Source: "dist\Convert To LDraw\_internal\*"; DestDir: "{app}\_internal"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 49 | +; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 50 | + |
| 51 | +[Icons] |
| 52 | +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
| 53 | +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
| 54 | + |
| 55 | +[Run] |
| 56 | +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
| 57 | + |
0 commit comments