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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:30:00+00:00 2026-06-16T02:30:00+00:00

Since I can’t find anything clearly stating it on the MSDN documentation : what

  • 0

Since I can’t find anything clearly stating it on the MSDN documentation: what does the ProgramFilesX86 enum value return on 32-bit systems?


Development Environment

Please note: in my organization I can’t just stand up machines whenever I want to test things. This is why I’m asking the community. I don’t even have access to 32-bit ISO’s to build a virtual machine — so please understand I have some limitations inside this organization.

  • Windows 7 64-bit

Production Environment

In production I don’t know if they are running 32 or 64-bit systems, and it’s likely a mixture. However I do know the list of operating systems.

  • Windows 7
  • Windows Vista
  • Windows XP

Objective

Get the correct program files directory so I can launch my application dynamically.

Known Variables

  1. The application is installed with an MSI, and it will be installed with the default options, so it will be installed in the Program Files directory.
  2. The application is a 32-bit application, so on 64-bit systems it will use the Program Files (x86) folder, but on 32-bit systems it will use the standard Program Files directory.

Thanks all!

  • 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-16T02:30:01+00:00Added an answer on June 16, 2026 at 2:30 am

    It returns “Program Files”. Since you’re installing using an MSI, you might consider using the installer APIs (MsiLocateComponent, and so on) to locate your program instead of assuming it’s in the expected location.

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

Sidebar

Related Questions

I'm getting a little bit frustrated since I can't find out which variables I
since i can't find much documentation on HQL, what I often do it look
Since I can't seem to find any documentation on this subject, is it possible
Since Google Can Now Execute AJAX & JavaScript For Indexing , what does that
It is often hard to find the origin of a NaN, since it can
I'm trying to set a register to 12000. Since MOV can't put a value
Since I can't find a chuffing job, I've been reading up on ReST and
Since you can not access element of the NSMutableSet randomly, does this mean it
This is a silly question since I can't find the right keywords to use
I'm once again turning to you since I can't find an answer anywhere else.

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.