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 4076320
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:24:36+00:00 2026-05-20T17:24:36+00:00

In my WiX 3.5 project I’m including a wxs file via a link. I.e.,

  • 0

In my WiX 3.5 project I’m including a wxs file via a link. I.e., the wxs file is not in the project folder, it is fairly far away in the folder structure, and is included using Visual Studio’s “Add as a link” facility.

This is working fine. But it does have the strange side-effect that WiX creates the obj file for the included wxs in a strange location, creating several folders to somewhat (but not correctly) mimic the path structure between the WiX project folder and the folder where the wxs file is located.

Is there any way to avoid this, so WiX creates this obj file in the same place as the other obj files, or alternatively creates it next to the wxs file, and not half way in between?

  • 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. Editorial Team
    Editorial Team
    2026-05-20T17:24:36+00:00Added an answer on May 20, 2026 at 5:24 pm

    It turns out this is a bug in WiX 3.5, and has been documented in a blog entry here:
    http://www.paraesthesia.com/archive/2011/02/07/wix-3-5-2519-0-incorrect-intermediate-object-path-for.aspx

    The blog article also helpfully provides a work-around, although it didn’t quite work for me. For my situation I had to add an extra backslash to the path, so instead of

       <ObjectPath>obj\$(Configuration)</ObjectPath>
    

    I needed to specify

       <ObjectPath>obj\$(Configuration)\</ObjectPath>
    

    Thanks to Travis Illig for the blog article, thanks to Edwin Castro on the WiX-Users mailing list for pointing me to the blog article, and thanks to Yan Sklyarenko for his help too.

    EDIT:

    The plot thickens – it’s not a bug, it’s a feature!

    And it’s not in WiX, per se, but in Votive / MSBuild.

    https://sourceforge.net/mailarchive/message.php?msg_id=27244936

    Anyway, the important thing is that it’s easy to fix with the work-around suggested by Travis Illig in his blog article.

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

Sidebar

Related Questions

My Wix project contains 3 files: 1) Product.wsx - main wxs file 2) MyDlg.wxs
I have a WIX Installer project, which installs my product. The code was not
In my WiX project I need to install different content for the same file
When I light my project, I get the following warning: C:\Users\me\wix\service.wxs(105) : warning LGHT1076
we are using wix project to create msi. We were trying to do major
We have created a simple wix project for a basic windows application. Everything builds
I have a WiX install project that includes IIS setings for virtual directory and
I have created a wix installer project which is working fine. It installs my
Hi I have a Wix (Votive) Visual Studio project which creates an MSI from
I have a project where I create WiX (Windows Installer for XML) files, when

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.