#define MyAppName "Monitor Control" #define MyAppVersion "1.1.5" #define MyAppPublisher "MarketAlly" #define MyAppExeName "DellMonitorControl.exe" #define MyAppIcon "MonitorIcon.ico" #define SourcePath "bin\Release\net9.0-windows" [Setup] SourceDir=. AppId={{8F3E4A2B-1C5D-4E6F-9A8B-7C2D1E3F4A5B} AppName={#MyAppName} AppVersion={#MyAppVersion} AppPublisher={#MyAppPublisher} DefaultDirName={autopf}\{#MyAppName} DefaultGroupName={#MyAppName} AllowNoIcons=yes OutputDir=installer OutputBaseFilename=MonitorControl-Setup-{#MyAppVersion} Compression=lzma SolidCompression=yes WizardStyle=modern PrivilegesRequired=admin SetupIconFile={#MyAppIcon} UninstallDisplayIcon={app}\{#MyAppExeName} [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "startupicon"; Description: "Start with Windows"; GroupDescription: "Startup:" [Files] Source: "bin\Release\net9.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "{#MyAppIcon}"; DestDir: "{app}"; Flags: ignoreversion [Icons] Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\{#MyAppIcon}" Name: "{group}\Uninstall {#MyAppName}"; Filename: "{uninstallexe}" Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\{#MyAppIcon}"; Tasks: desktopicon Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\{#MyAppIcon}"; Tasks: startupicon [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent