Skip to content

Commit

Permalink
Setup: Add option to create a desktop and quick launch icon
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed Jan 28, 2023
1 parent 468ce7c commit 3372940
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .iss/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ UninstallDisplayIcon="{app}\uninstall.ico"
UninstallDisplayName={#MyAppName}
ArchitecturesInstallIn64BitMode=x64

[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: "{#MyAppPath}\bin\{#MyAppRelease}\{#MyAppTargetFramework}\*"; DestDir: "{app}"; Flags: recursesubdirs
Source: "{#MyAppPath}\7H.ico"; DestDir: "{app}"; DestName: "uninstall.ico"
Expand All @@ -54,6 +58,8 @@ Source: "netcorecheck_x64.exe"; Flags: dontcopy noencryption
Name: "{group}\7th Heaven"; Filename: "{app}\7th Heaven.exe";
Name: "{group}\TurBoLog"; Filename: "{app}\TurBoLog.exe";
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; IconFilename: "{app}\uninstall.ico"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\7th Heaven.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\7th Heaven.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\7th Heaven.exe"; Flags: nowait postinstall runascurrentuser skipifsilent; Description: "Launch {#MyAppName}"
Expand Down

0 comments on commit 3372940

Please sign in to comment.