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

The Archive Base Latest Questions

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

I have a .NET app which works in 32 and 64 bit. I would

  • 0

I have a .NET app which works in 32 and 64 bit.
I would like to write one single installer that installs to c:\program files, not c:\program files(x86) regardless of the platform.

From this link:
http://msdn.microsoft.com/en-us/library/w1behyzx(v=VS.90).aspx
it doesn’t look possible. Is it the case?

  • 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-14T05:22:06+00:00Added an answer on May 14, 2026 at 5:22 am

    According to How to: Create a Windows Installer for a 64-bit Platform:

    To distribute a .NET Framework
    application both to 32- and 64-bit
    platforms, build two MSI packages, one
    targeted at a 32-bit and the other a
    64-bit computer. The user can install
    the 32-bit setup project package and
    it will most likely run as a 64-bit
    application, only the 64-bit setup
    project will install to the “Program
    Files64” directory.

    Not the best experience, but works.

    Update: The usual way people deal with their desire to avoid two installer packages is to produce one setup executable, which packs both installers and choose the correct one on the fly.

    You can just create a quick C# (though now you have the problem of bootstrapping it on machines without .Net. yeah, are there such machines yet? :-)) or C++ executable yourself that detects the platform it runs on and launches the msiexec process with the proper .msi extracted from the executable resources or downloaded from a web siter.

    Or this SO question’s accepted answer talks briefly about that and mentions a third-party tool called Advanced Installer, that can help you with this. Note that I have not tried that tool and I can’t vouch for it, theI just mention it for mere reference; you’ll have to evaluate it on your own. 🙂

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

Sidebar

Related Questions

Have an ASP.net web app which works fine for a few days, but then
I have a .net winforms app which has a few animation effects, fade ins
I have a .Net console App which using a scheduled event will start, call
I have an ASP.NET MVC4 app which uses DotNetOpenAuth 4.0.1 to authenticate users with
I'm developing a ASP.Net MVC3 app which will have few hundred videos. I want
We have a asp.net app, in which index.aspx is the default document in the
I've got a VB.NET WinForms app in which I have the need to refer
I have a main asp.net app, which is written in asp.net 1.1. Runnning underneath
I have a Silverlight web app which uses ASP.net Website administration tool for user
I have an iPhone app that publishes through Bonjour. The Mac counterpart works, they

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.