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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:22:31+00:00 2026-06-12T06:22:31+00:00

I have an application with an installer in Visual Studio 2008 which can be

  • 0

I have an application with an installer in Visual Studio 2008 which can be installed for Everyone or Just Me by the user. The installer writes some registry values that can be changed by the application. The installer is configured for any cpu.

From documentation on MSDN I’ve put the registry values under the “Machine/User Hive” key in the installer, the behaviour seems to be that for Everyone the registry keys appear under HKLM\Software\Wow6432Node\My App and for Just Me they appear under HKCU\Software\My App.

My problem comes when trying to read the values inside the application. It seems to me that with this cleverness in the installer there might be some “right way” of ensuring my app gets the right registry location, but try as I might my books and my google-fu has failed me 🙁

I’d be very grateful for any assistance with this.

Edit:
No replies and still no luck in documentation, so I guess there isn’t a nice way of doing this, I went with checking for the localmachine key then the currentuser key (if localmachine was blank). Seemed a bit odd but gets the job done!

  • 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-12T06:22:32+00:00Added an answer on June 12, 2026 at 6:22 am

    I guess there isn’t a nice way of doing this, I went with checking for the localmachine key then the currentuser key (if localmachine was blank) in a ternary operation, and it seems to have worked.

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

Sidebar

Related Questions

I have simple C# console application developed in Visual Studio 2008, which writes information
I have a standard Visual Studio (2008) application setup project, which generates an msi
I have a setup project in Visual Studio 2008 which is supposed to install
I have a Windows application developed using Visual Studio 2008 (C#). It has a
I have ReSharper 6 installed and integrated with Visual Studio 2008 and Visual Studio
i have installed Licensed Visual Studio 2008 on my Windows Server 2008 Pc. (I
I have a web application that I wrote in Visual Studio 2008 that targets
I have installed: Visual C# 2008 Express Visual Web Developer 2008 Express Visual Studio
I had a plugin installed in Visual Studio 2008, and it created some extra
I have a server with something called Visual Studio 2008 Shell (integrated mode) -

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.