File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 26
26
<Feature Id =" Application" Title =" Application" Level =" 1" TypicalDefault =" install" >
27
27
<ComponentGroupRef Id =" ApplicationGrp" />
28
28
<ComponentGroupRef Id =" ApplicationManualGrp" />
29
+ <!-- Step 3: Tell WiX to install the shortcut -->
30
+ <ComponentRef Id =" ApplicationShortcut" />
29
31
</Feature >
30
32
</Feature >
31
33
</Product >
44
46
<Directory Id =" ProgramFilesFolder" >
45
47
<Directory Id =" INSTALLFOLDER" Name =" Loginator" />
46
48
</Directory >
49
+ <!-- Step 1: Define the directory structure -->
50
+ <Directory Id =" ProgramMenuFolder" >
51
+ <Directory Id =" ApplicationProgramsFolder" Name =" Loginator" />
52
+ </Directory >
47
53
</Directory >
48
54
55
+ <!-- Step 2: Add the shortcut to your installer package -->
56
+ <DirectoryRef Id =" ApplicationProgramsFolder" >
57
+ <Component Id =" ApplicationShortcut" Guid =" E0D99EAA-DC64-4C63-82F2-4EA4D22EC6B0" >
58
+ <Shortcut Id =" ApplicationStartMenuShortcut"
59
+ Name =" Loginator"
60
+ Description =" The best logger there is"
61
+ Target =" [#filApplicationExe]"
62
+ WorkingDirectory =" INSTALLFOLDER" />
63
+ <RemoveFolder Id =" ApplicationProgramsFolder" On =" uninstall" />
64
+ <RegistryValue Root =" HKCU" Key =" Software\Microsoft\Loginator" Name =" installed" Type =" integer" Value =" 1" KeyPath =" yes" />
65
+ </Component >
66
+ </DirectoryRef >
67
+
49
68
</Fragment >
50
69
</Wix >
Original file line number Diff line number Diff line change 1
- versionCode=5
2
- versionName=1.3.8
1
+ versionCode=6
2
+ versionName=1.4.0
You can’t perform that action at this time.
0 commit comments