File tree 4 files changed +46
-5
lines changed
4 files changed +46
-5
lines changed Original file line number Diff line number Diff line change 1
1
<Wix xmlns =" http://wixtoolset.org/schemas/v4/wxs" >
2
2
<Fragment >
3
3
<StandardDirectory Id =" ProgramFiles64Folder" >
4
- <Directory Id =" INSTALLFOLDER" Name =" !(bind.Property.Manufacturer) !(bind.Property.ProductName)" />
4
+ <Directory Id =" INSTALLFOLDER" Name =" !(bind.Property.Manufacturer) !(bind.Property.ProductName)" >
5
+ <Directory Id =" SHARE" Name =" share" />
6
+ <Directory Id =" LIB" Name =" lib" />
7
+ </Directory >
5
8
</StandardDirectory >
6
9
<StandardDirectory Id =" ProgramMenuFolder" >
7
10
<Directory Id =" ApplicationProgramsFolder" Name =" !(bind.Property.ProductName)" />
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<InstallerPlatform >x64</InstallerPlatform >
4
4
</PropertyGroup >
5
+ <ItemGroup >
6
+ <PackageReference Include =" WixToolset.Heat" >
7
+ <Version >5.0.2</Version >
8
+ </PackageReference >
9
+ </ItemGroup >
10
+ <ItemGroup >
11
+ <HarvestDirectory Include =" C:\gtk-build\gtk\x64\release\bin" >
12
+ <ComponentGroupName >GTKBIN</ComponentGroupName >
13
+ <DirectoryRefId >INSTALLFOLDER</DirectoryRefId >
14
+ <SuppressRegistry >true</SuppressRegistry >
15
+ </HarvestDirectory >
16
+ <BindPath Include =" C:\gtk-build\gtk\x64\release\bin" />
17
+ </ItemGroup >
18
+ <ItemGroup >
19
+ <HarvestDirectory Include =" C:\gtk-build\gtk\x64\release\share\icons" >
20
+ <ComponentGroupName >GTKICONS</ComponentGroupName >
21
+ <DirectoryRefId >SHARE</DirectoryRefId >
22
+ <SuppressRegistry >true</SuppressRegistry >
23
+ </HarvestDirectory >
24
+ <BindPath Include =" C:\gtk-build\gtk\x64\release\share\icons" />
25
+ </ItemGroup >
26
+ <ItemGroup >
27
+ <HarvestDirectory Include =" C:\gtk-build\gtk\x64\release\lib\gdk-pixbuf-2.0" >
28
+ <ComponentGroupName >GTKLIBS</ComponentGroupName >
29
+ <DirectoryRefId >LIB</DirectoryRefId >
30
+ <SuppressRegistry >true</SuppressRegistry >
31
+ </HarvestDirectory >
32
+ <BindPath Include =" C:\gtk-build\gtk\x64\release\lib\gdk-pixbuf-2.0" />
33
+ </ItemGroup >
5
34
</Project >
Original file line number Diff line number Diff line change 1
1
<Wix xmlns =" http://wixtoolset.org/schemas/v4/wxs" >
2
2
<Fragment >
3
- <ComponentGroup Id =" LanMouseComponents" Directory =" INSTALLFOLDER" >
4
- <Component >
3
+ <ComponentGroup Id =" LanMouseComponents" Directory =" INSTALLFOLDER" Subdirectory =" bin" >
4
+ <Component Guid =" {ECB52D3E-28AD-4BEC-B9DF-E01CCAB356BE}" >
5
+ <!-- the main binary -->
5
6
<File Source =" ..\target\release\lan-mouse.exe" />
7
+
8
+ <!-- visual c runtime dll -->
9
+ <File Source =" C:\windows\system32\VCRUNTIME140.dll" />
10
+ <File Source =" C:\windows\system32\VCRUNTIME140_1.dll" />
6
11
</Component >
12
+ <!-- start menu entry-->
7
13
<Component Id =" ApplicationShortcut" Directory =" ApplicationProgramsFolder" >
8
14
<Shortcut Id =" ApplicationStartMenuShortcut"
9
15
Name =" !(bind.Property.ProductName)"
10
16
Description =" Mouse and Keyboard sharing Software"
11
- Target =" [INSTALLFOLDER]lan-mouse.exe"
17
+ Target =" [INSTALLFOLDER]bin\ lan-mouse.exe"
12
18
WorkingDirectory =" INSTALLFOLDER" >
13
- <Icon Id =" LanMouse" SourceFile =" .\icon.ico" />
19
+ <Icon Id =" LanMouse" SourceFile =" .\icon.ico" />
14
20
</Shortcut >
15
21
<RemoveFolder Id =" ApplicationProgramsFolder" On =" uninstall" />
16
22
<RegistryValue
Original file line number Diff line number Diff line change 8
8
9
9
<MediaTemplate EmbedCab =" yes" />
10
10
<Feature Id =" Main" >
11
+ <ComponentGroupRef Id =" GTKBIN" />
12
+ <ComponentGroupRef Id =" GTKICONS" />
13
+ <ComponentGroupRef Id =" GTKLIBS" />
11
14
<ComponentGroupRef Id =" LanMouseComponents" />
12
15
</Feature >
13
16
</Package >
You can’t perform that action at this time.
0 commit comments