|
18 | 18 | <Component Feature="Core">
|
19 | 19 | <File Source="C:\projects\pixelarttool\PixelArtTool\bin\Release\PixelArtTool.exe" />
|
20 | 20 |
|
21 | | - <!-- Start menu shortcut --> |
| 21 | + <!-- Start menu shortcut --> |
22 | 22 | <Shortcut Id="StartMenuShortcut" Directory="ProgramMenuFolder" Name="PixelArtTool" Icon="IconFile.ico" Advertise="yes" />
|
23 | 23 |
|
24 | 24 | <!-- Remove the shortcut on uninstall -->
|
25 | 25 | <RemoveFolder Id="ProgramMenuFolder" Directory="ProgramMenuFolder" On="uninstall" />
|
26 | | - <!-- Remove the shortcut on uninstall --> |
27 | | - <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" /> |
28 | 26 | <!-- <RegistryValue Root="HKCU" Key="Software\Microsoft\PixelArtTool" Name="installed" Type="integer" Value="1" KeyPath="yes" /> -->
|
29 | 27 |
|
| 28 | + <RemoveFolder Id="ApplicationProgramsFolder" Directory="ApplicationProgramsFolder" On="uninstall" /> |
| 29 | + |
30 | 30 | </Component>
|
31 | 31 | </Directory>
|
32 | 32 | </Directory>
|
|
37 | 37 | </Directory>
|
38 | 38 |
|
39 | 39 | <Icon Id="IconFile.ico" SourceFile="C:\projects\pixelarttool\PixelArtTool\Resources\Icons\appicon.ico" />
|
40 | | - |
| 40 | + |
41 | 41 | </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 | | - |
56 | 42 | </Wix>
|
0 commit comments