-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix WIX7009 error using StandardDirectory in Windows Service installer documentation #47592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
@IEvangelist The fix that Copilot suggests is different to the fix in the issue that uses a different ID to avoid conflict. Do you have a preference? |
I can implement either approach: Current fix (commit b3f995e): Adds Issue suggestion: Replace TARGETDIR/Directory structure with Both fix the WIX7009 error. The StandardDirectory approach is more modern and future-proof. Which would you prefer @IEvangelist? |
@copilot please use the StandardDirectory solution instead. |
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Implemented the StandardDirectory solution as requested. Replaced Changes in commit 35a3bed. |
The WiX Toolset configuration in the Windows Service installer documentation was causing a WIX7009 error when users tried to build the installer project. The error occurred because WiX Toolset v4 introduced virtual symbols that conflict with the traditional
TARGETDIR
symbol.Error details:
Solution:
Replaced the legacy
TARGETDIR
Directory structure with WiX v4's modernStandardDirectory
approach:This approach:
Fixes #42363.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.
Internal previews