#define MyAppName "SyncVito" #define MyAppPublisher "Davito" #ifndef MyAppVersion #define MyAppVersion "0.0.0-dev" #endif #ifndef MyAppFileVersion #define MyAppFileVersion "0.0.0.0" #endif #ifndef MyAppExeSource #define MyAppExeSource "..\build\app\SyncVito.exe" #endif #define MyAppExeName "SyncVito.exe" [Setup] AppId={{7B65F923-828D-42F3-BC86-4939686879E4} AppName={#MyAppName} AppVersion={#MyAppVersion} AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} VersionInfoCompany={#MyAppPublisher} VersionInfoDescription={#MyAppName} Installer VersionInfoProductName={#MyAppName} VersionInfoProductVersion={#MyAppVersion} VersionInfoVersion={#MyAppFileVersion} DefaultDirName={autopf}\{#MyAppName} DefaultGroupName={#MyAppName} DisableProgramGroupPage=yes OutputDir=..\release OutputBaseFilename=SyncVitoSetup-{#MyAppVersion} SetupIconFile=..\assets\SyncVito.ico UninstallDisplayIcon={app}\{#MyAppExeName} Compression=lzma2 SolidCompression=yes WizardStyle=modern PrivilegesRequired=admin ArchitecturesAllowed=x64compatible ArchitecturesInstallIn64BitMode=x64compatible CloseApplications=yes CloseApplicationsFilter={#MyAppExeName} RestartApplications=no [Languages] Name: "german"; MessagesFile: "compiler:Languages\German.isl" [Tasks] Name: "desktopicon"; Description: "Desktop-Verknüpfung erstellen"; GroupDescription: "Verknüpfungen:"; Flags: checkedonce [Files] Source: "{#MyAppExeSource}"; DestDir: "{app}"; Flags: ignoreversion [Icons] Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{#MyAppName} starten"; Flags: nowait postinstall skipifsilent runascurrentuser Filename: "{app}\{#MyAppExeName}"; Parameters: "--updated"; Flags: nowait skipifnotsilent runascurrentuser