Skip to content

Commit bee771b

Browse files
authored
Update Installer.wxs
1 parent f19589e commit bee771b

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

Installer.wxs

+4-18
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
<Component Feature="Core">
1919
<File Source="C:\projects\pixelarttool\PixelArtTool\bin\Release\PixelArtTool.exe" />
2020

21-
<!-- Start menu shortcut -->
21+
<!-- Start menu shortcut -->
2222
<Shortcut Id="StartMenuShortcut" Directory="ProgramMenuFolder" Name="PixelArtTool" Icon="IconFile.ico" Advertise="yes" />
2323

2424
<!-- Remove the shortcut on uninstall -->
2525
<RemoveFolder Id="ProgramMenuFolder" Directory="ProgramMenuFolder" On="uninstall" />
26-
<!-- Remove the shortcut on uninstall -->
27-
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
2826
<!-- <RegistryValue Root="HKCU" Key="Software\Microsoft\PixelArtTool" Name="installed" Type="integer" Value="1" KeyPath="yes" /> -->
2927

28+
<RemoveFolder Id="ApplicationProgramsFolder" Directory="ApplicationProgramsFolder" On="uninstall" />
29+
3030
</Component>
3131
</Directory>
3232
</Directory>
@@ -37,20 +37,6 @@
3737
</Directory>
3838

3939
<Icon Id="IconFile.ico" SourceFile="C:\projects\pixelarttool\PixelArtTool\Resources\Icons\appicon.ico" />
40-
40+
4141
</Product>
42-
43-
<!-- Define the RemoveFile table -->
44-
<Fragment>
45-
<ComponentGroup Id="RemoveFileGroup">
46-
<ComponentRef Id="ProductComponent" />
47-
</ComponentGroup>
48-
<FeatureRef Id="HelloWorldFeature" />
49-
</Fragment>
50-
51-
<!-- Define the RemoveFolder element outside the Fragment -->
52-
<Fragment>
53-
<RemoveFolder Id="ApplicationProgramsFolder" Directory="ApplicationProgramsFolder" On="uninstall" />
54-
</Fragment>
55-
5642
</Wix>

0 commit comments

Comments
 (0)