Skip to content

Commit 53da640

Browse files
authored
Merge pull request #218 from game1024/release/v1.7
fix wxs script
2 parents acd0fe3 + d94b508 commit 53da640

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

installer/OpenSpeedy.wxs

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,30 @@
3232

3333
<Fragment>
3434
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
35-
<Component Id="MainExecutable" Guid="11111111-1111-1111-1111-111111111111">
36-
<File Id="MainExecutable" Source="files\Speedy.exe" KeyPath="yes">
37-
<Shortcut Id="StartMenuShortcut"
38-
Directory="ProgramMenuFolder"
39-
Name="OpenSpeedy"
40-
WorkingDirectory="INSTALLFOLDER"
41-
Icon="SpeedyIcon"
42-
IconIndex="0"
43-
Advertise="yes" />
44-
</File>
35+
<Component Id="MainExecutable" Guid="11111111-1111-1111-1111-111111111111" Win64="yes">
36+
<File Id="MainExecutable" Source="files\Speedy.exe" KeyPath="yes" />
4537
</Component>
46-
<Component Id="Bridge32" Guid="22222222-2222-2222-2222-222222222222">
38+
<Component Id="StartMenuShortcut" Guid="66666666-6666-6666-6666-666666666666" Win64="yes">
39+
<Shortcut Id="StartMenuShortcut"
40+
Directory="ProgramMenuFolder"
41+
Name="OpenSpeedy"
42+
Target="[INSTALLFOLDER]Speedy.exe"
43+
WorkingDirectory="INSTALLFOLDER"
44+
Icon="SpeedyIcon"
45+
IconIndex="0" />
46+
<RemoveFolder Id="RemoveProgramMenuFolder" Directory="ProgramMenuFolder" On="uninstall" />
47+
<RegistryValue Root="HKCU" Key="Software\OpenSpeedy" Name="installed" Type="integer" Value="1" KeyPath="yes" />
48+
</Component>
49+
<Component Id="Bridge32" Guid="22222222-2222-2222-2222-222222222222" Win64="yes">
4750
<File Id="Bridge32Exe" Source="files\bridge32.exe" KeyPath="yes" />
4851
</Component>
49-
<Component Id="Bridge64" Guid="33333333-3333-3333-3333-333333333333">
52+
<Component Id="Bridge64" Guid="33333333-3333-3333-3333-333333333333" Win64="yes">
5053
<File Id="Bridge64Exe" Source="files\bridge64.exe" KeyPath="yes" />
5154
</Component>
52-
<Component Id="SpeedPatch32" Guid="44444444-4444-4444-4444-444444444444">
55+
<Component Id="SpeedPatch32" Guid="44444444-4444-4444-4444-444444444444" Win64="yes">
5356
<File Id="SpeedPatch32Dll" Source="files\speedpatch32.dll" KeyPath="yes" />
5457
</Component>
55-
<Component Id="SpeedPatch64" Guid="55555555-5555-5555-5555-555555555555">
58+
<Component Id="SpeedPatch64" Guid="55555555-5555-5555-5555-555555555555" Win64="yes">
5659
<File Id="SpeedPatch64Dll" Source="files\speedpatch64.dll" KeyPath="yes" />
5760
</Component>
5861
</ComponentGroup>

0 commit comments

Comments
 (0)