| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | ; Script generated by the Inno Setup Script Wizard.; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!#pragma option -v+#pragma verboselevel 9#define MyAppName "PRS Desktop"#define MyAppVersion "7.17p"#define MyAppPublisher "PRS Digital"#define MyAppURL "https://www.prs-software.com.au"#define MyAppExeName "PRSDesktop.exe"#define MyOldAppExeName "Comal.Desktop.exe"[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={{89C5E297-7CED-493D-B066-9E95A911470B}AppName={#MyAppName}AppVersion={#MyAppVersion}AppVerName={#MyAppName} {#MyAppVersion}AppPublisher={#MyAppPublisher}AppPublisherURL={#MyAppURL}AppSupportURL={#MyAppURL}AppUpdatesURL={#MyAppURL}DefaultDirName={userpf}\{#MyAppName}DisableProgramGroupPage=yesOutputDir=E:\Development\prs\prs.server\bin\Debug\net6.0-windows\updateSourceDir=E:\Development\prs\prs.server\..\prs.desktop\OutputBaseFilename=PRSDesktopSetupCompression=lzmaSolidCompression=yesUsePreviousAppDir=noPrivilegesRequired=lowestUsePreviousPrivileges=no[InstallDelete]Type: files; Name: {app}\Comal*.*Type: files; Name: {app}\*.dllType: files; Name: {userappdata}\PRSDesktop\version.txt[Tasks]Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";[Files]Source: "bin\Debug\net6.0-windows\*"; DestDir: "{app}"; Excludes: "version.txt"; Flags: ignoreversion recursesubdirs createallsubdirs; AfterInstall: UpdateVersionNumber[Dirs]Name: "{userappdata}\PRSDesktop"; Flags: [Icons]Name: "{userprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon[Run]Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent[Setup]UninstallFilesDir={app}\Installer[Code]var   versionupdated : Boolean;procedure UpdateVersionNumber();var  version : AnsiString;  filename : String;begin  if (versionupdated = False) then  begin    version := '{#MyAppVersion}';     filename := ExpandConstant('{app}\version.txt');    SaveStringToFile(filename,version,false);    versionupdated := true;  end;end;
 |