forked from BornToBeRoot/NETworkManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComponents.wxs
More file actions
35 lines (33 loc) · 1.73 KB
/
Copy pathComponents.wxs
File metadata and controls
35 lines (33 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<ComponentGroup Id="Components" Directory="INSTALLFOLDER">
<!-- Include all files in output -->
<Files Include="$(var.NETworkManager.TargetDir)**">
<Exclude Files="$(var.NETworkManager.TargetDir)**\*.pdb"/>
<Exclude Files="$(var.NETworkManager.TargetDir)WebView2Loader.dll"/>
<Exclude Files="$(var.NETworkManager.TargetDir)NETworkManager.exe"/>
</Files>
<!-- NETworkManager executable -->
<Component>
<File Id="NETworkManagerExecutable"
Source="$(var.NETworkManager.TargetDir)NETworkManager.exe">
<!-- Start menu shortcut -->
<Shortcut Name="NETworkManager"
Directory="ProgramMenuFolder"
Advertise="true"
Icon="icon.ico"
Description="A powerful open-source tool for managing networks and troubleshooting network problems!"/>
</File>
</Component>
<!-- Desktop shortcut -->
<Component Directory="DesktopFolder">
<RegistryValue Root="HKCU" Key="SOFTWARE\NETworkManager" Name="DesktopShortcutEnabled" Value="1"/>
<Shortcut Name="NETworkManager"
Directory="DesktopFolder"
Target="[#NETworkManagerExecutable]"
Icon="icon.ico"
Description="A powerful open-source tool for managing networks and troubleshooting network problems!"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>