Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 126875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:23:14+00:00 2026-05-11T05:23:14+00:00

I have created a simple Wix 3 Merge Module in VS 2005 ( .wxs

  • 0

I have created a simple Wix 3 Merge Module in VS 2005 ( .wxs )

<?xml version='1.0' encoding='UTF-8'?> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>   <Module Id='TestMergeModule' Language='1033' Version='1.0.0.0'>     <Package Id='ef2a568e-a8db-4213-a211-9261c26031aa' Manufacturer='Me' InstallerVersion='200' />     <Directory Id='TARGETDIR' Name='SourceDir'>       <Directory Id='MergeRedirectFolder'>         <Component Id='Test_ModuleComponent' Guid='{1081C5BC-106E-4b89-B14F-FFA71B0987E1}'>           <File Id='Test' Name='$(var.Project.TargetFileName)' Source='$(var.Project.TargetPath)' DiskId='1' />         </Component>       </Directory>     </Directory>   </Module> </Wix> 

And I have added the project ‘Project’ as a reference to this Merge Module, however I continue to get this error

Error 7 Undefined preprocessor variable ‘$(var.Project.TargetFileName)’.

Any suggestions, I am sure I am just missing the obvious here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:23:14+00:00Added an answer on May 11, 2026 at 5:23 am

    Good practice dictates that you always assume this is your issue and it is not a bug, but after a lot of wasted time I though I would just check, and, it looks like it might be because this is not supported for C++ projects (which mine is )

    From WIX3 bug report page

    Date: 2008-10-17 14:53 Sender: jasongin Any C++ project is not MSBuild. C++ projects in VS use a different project system that is more difficult to interoperate with. That’s why Votive v3 does not yet support references to C++ projects. We know C++ project references is an important feature, but it’s not done yet. The work is tracked by feature request 1585281.

    This is an open feature request.. but has been for a long time now it seems, so not sure if it will ever be fixed 🙁

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have created a simple wix project for a basic windows application. Everything builds
I am having trouble understanding wix documentation. I have created a simple installer that
I have created a simple http service using apicontroller and i want to upload
Could someone help me on this, I have created simple web services using axis2
How to manually create Friendly URLs? (PHP) So I have created simple php file
I am new to Repository concept and get some questions. I have created simple
I have created the simple web service. Code: [ServiceContract] public interface ITsdxService { [OperationContract]
I have created this simple program to learn shared_ptr using namespace std; #define Yes
I have created very simple app with persistence context (hibernate as provider) to read
I have created a simple test form with FormBorderStyle = FixedToolWindow by default and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.