16
16
; You should have received a copy of the GNU General Public License
17
17
; along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
19
+ #define BUILDPATH " ..\..\dist\Slice.exe"
19
20
20
21
[Setup]
21
22
AppName = Slice
22
- AppVersion = 0.3 .0
23
+ AppVersion = GetFileVersion({#BUILDPATH})
24
+ AppPublisher = " Christopher Simpkins"
25
+ AppPublisherURL = https://github.com/source-foundry/Slice
26
+ AppReadmeFile = https://github.com/source-foundry/Slice/blob/main /README .md
27
+ AppSupportURL = https://github.com/source-foundry/Slice/issues
28
+ AppUpdatesURL = https://github.com/source-foundry/Slice/releases
29
+ AppCopyright = " Copyright 2021 Christopher Simpkins. GPLv3 License"
23
30
WizardStyle = modern
24
31
DefaultDirName = {autopf}\Slice
25
- ; Since no icons will be created in "{group}", we don't need the wizard
26
- ; to ask for a Start Menu folder name:
27
32
DisableProgramGroupPage = yes
33
+ SetupIconFile = ..\..\icons\Icon.ico
28
34
UninstallDisplayIcon = {app} \Slice.exe
29
35
Compression = lzma2
30
36
SolidCompression = yes
@@ -33,7 +39,13 @@ OutputDir=..\..\dist\Windows-Installer
33
39
LicenseFile = ..\..\LICENSE
34
40
35
41
[Files]
36
- Source : " ..\..\dist\Slice.exe" ; DestDir : " {app} "
42
+ Source : {#BUILDPATH}; DestDir : " {app} "
43
+
44
+ [Tasks]
45
+ Name : desktopicon ; Description : " Create a &desktop icon" ; GroupDescription: " Additional icons:"
46
+ Name : desktopicon \common; Description : " For all users" ; GroupDescription: " Additional icons:" ; Flags : exclusive
47
+ Name : desktopicon \user; Description : " For the current user only" ; GroupDescription: " Additional icons:" ; Flags : exclusive unchecked
37
48
38
49
[Icons]
39
50
Name : " {autoprograms}\Slice" ; Filename : " {app} \Slice.exe"
51
+ Name : " {commondesktop}\Slice" ; Filename : " {app} \Slice.exe" ; Tasks: desktopicon
0 commit comments