diff --git a/bin/SimNDT-64Bits.iss b/bin/SimNDT-64Bits.iss new file mode 100644 index 0000000..6693244 --- /dev/null +++ b/bin/SimNDT-64Bits.iss @@ -0,0 +1,76 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "SimNDT" +#define MyAppVersion "0.52" +#define MyAppPublisher "Miguel Molero" +#define MyAppURL "https://github.com/mmolero/SimNDT" +#define MyAppExeName "SimNDT.exe" +#define CurrentYear 2018 + + +[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={{099F0C97-AE5C-4EE9-8C50-52288E5D4D3B} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={pf}\{#MyAppName} +DefaultGroupName={#MyAppName} +OutputBaseFilename=setup-SimNDT-v{#MyAppVersion} +Compression=lzma2 +SolidCompression=yes +SetupIconFile="resources\logo.ico" + +VersionInfoCompany={#MyAppPublisher} +VersionInfoCopyright=(c) {#CurrentYear} {#MyAppPublisher} +VersionInfoDescription= SImNDT +VersionInfoTextVersion={#MyAppVersion} +VersionInfoVersion={#MyAppVersion} + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[CustomMessages] +english.InstallingLabel=Installing... + +[Code] +procedure InitializeWizard; +begin + with TNewStaticText.Create(WizardForm) do + begin + Parent := WizardForm.FilenameLabel.Parent; + Left := WizardForm.FilenameLabel.Left; + Top := WizardForm.FilenameLabel.Top; + Width := WizardForm.FilenameLabel.Width; + Height := WizardForm.FilenameLabel.Height; + Caption := ExpandConstant('{cm:InstallingLabel}'); + end; + WizardForm.FilenameLabel.Visible := False; +end; + + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 + +[Files] +Source: "dist\SimNDT\SimNDT.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "dist\SimNDT\*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\resources\logo.ico" +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; IconFilename: "{app}\resources\logo.ico" +Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: "{app}\resources\logo.ico" +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 +