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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:05:18+00:00 2026-06-01T04:05:18+00:00

I’m using following define to make my setup script flexible according to the build

  • 0

I’m using following define to make my setup script flexible according to the build environment.

<?if $(var.Platform)=x64 ?>

<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
<?define win64Flag = "yes"?>
<?define TargetConfigurationPath = "bin\x64\Release"?>

<?else ?>

<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
<?define win64Flag = "no"?>
<?define TargetConfigurationPath = "bin\x86\Release"?>
<?endif ?>

in detail I mind about the win64Flag variable which i use in every Win64 Attribute of components. I’m using the Platform in the Packages “Platform” attribute too.
But to get back to the Win64 attribute, i use the variable this way:

Win64="$(var.win64Flag)"

And I always get a warning telling me that using this statement in a YesNoType attribute is invalid.

I’m building this stuff using candle.exe with this call:

candle.exe -ext WixUtilExtension -dPlatform=x86 "Deployment\WiX Setup Project\SetupScript.wxs" -out "Deployment\TempBuildOutput\SetupScript x86.wixobj"

light.exe -ext WixUIExtension -ext WixUtilExtension "Deployment\TempBuildOutput\SetupScript x86.wixobj" -out "Deployment\TempBuildOutput\Installer_x86.msi"

I got some CustomAction in my script, which auto-starts an application if the installation finished. This works fine on x64 builds, but not with x86 builds.
Thats why i think that there might be something wrong with the Win64 Attribute, or better, in the way how I use it.

But according to my thoughts, something must be correct with this code, because the files are installed to the appropriate folder on x64 (Program Files) and x86 (Program Files (x86)). But i’m asking myself, whats the reason my apps are not started after the installation was finished.

I’m working with a x64 Windows, can this be the cause of failing to start my x86 auto start apps?

Is there a way on solving the warning on my usage of the Win64 Attribute?

  • 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-06-01T04:05:19+00:00Added an answer on June 1, 2026 at 4:05 am

    I can’t tell you why your app isn’t starting after the installation completes without a little more information to diagnose the problem, but I can tell you why you’re getting the warning about the invalid attribute.

    The invalid attribute warning is generated by Visual Studio, if you were to compile your project on the command line you would not see see the warning. The Visual Studio XML editor does automatic XML schema validation if it recognizes the schema of your XML document. The Wix XML schema defines the values allowed for the Win64 attribute as either yes or no. Visual Studio sees that you don’t have one of those values and kindly lets you know you’re not adhering to the defined schema. Wix, on the other had, first preprocesses the document and replaces the offending value with the value you defined in your include file, which makes it so the document passes schema validation.

    In short, this warning is likely no the cause of the problem you are seeing.

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

Sidebar

Related Questions

I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;

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.