Skip to content

Commit b3f995e

Browse files
Copilotgewarren
andcommitted
Fix WIX7009 error by adding override attribute to TARGETDIR
Co-authored-by: gewarren <[email protected]>
1 parent 00d7364 commit b3f995e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/extensions/windows-service-with-installer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ After the project reference has been added, configure the _Package.wxs_ file. Op
186186
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
187187

188188
<!-- Define the directory structure -->
189-
<Directory Id="TARGETDIR" Name="SourceDir">
189+
<Directory Id="TARGETDIR" Name="SourceDir" override="true">
190190
<Directory Id="ProgramFiles64Folder">
191191

192192
<!-- Create a folder inside program files -->

0 commit comments

Comments
 (0)