Skip to content

Commit 8ff3a0d

Browse files
authored
Update Installer.wxs
1 parent 420d157 commit 8ff3a0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Installer.wxs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,17 @@
4040

4141
</Product>
4242

43+
<!-- Define the RemoveFile table -->
4344
<Fragment>
4445
<ComponentGroup Id="RemoveFileGroup">
4546
<ComponentRef Id="ProductComponent" />
4647
</ComponentGroup>
4748
<FeatureRef Id="HelloWorldFeature" />
4849
<Property Id="ApplicationProgramsFolder" Value="ApplicationProgramsFolder" />
50+
51+
<!-- Add RemoveFolder element for ApplicationProgramsFolder -->
52+
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" Directory="ApplicationProgramsFolder" />
53+
4954
</Fragment>
5055

5156
</Wix>

0 commit comments

Comments
 (0)