Skip to content

Commit f19589e

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Installer.wxs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
<ComponentRef Id="ProductComponent" />
4747
</ComponentGroup>
4848
<FeatureRef Id="HelloWorldFeature" />
49-
<Property Id="ApplicationProgramsFolder" Value="ApplicationProgramsFolder" />
50-
51-
<!-- Add RemoveFolder element for ApplicationProgramsFolder in the RemoveFile table -->
52-
<RemoveFolder Id="RemoveApplicationProgramsFolder" Directory="ApplicationProgramsFolder" On="uninstall" />
49+
</Fragment>
5350

51+
<!-- Define the RemoveFolder element outside the Fragment -->
52+
<Fragment>
53+
<RemoveFolder Id="ApplicationProgramsFolder" Directory="ApplicationProgramsFolder" On="uninstall" />
5454
</Fragment>
5555

5656
</Wix>

0 commit comments

Comments
 (0)