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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:27:09+00:00 2026-05-30T20:27:09+00:00

I have issues setting up my deployment project in Visual Studio 2010. Im using

  • 0

I have issues setting up my deployment project in Visual Studio 2010. Im using Windows 7 x64. Here’s my problem:

The setup is supposed to install my program for all users. During the setup three registry keys are written to the HKEY_LOCAL_MACHINE/Software/Something folder, containing the setup variables for Serial, Name and Organization as values – [COMPANYNAME], [PIDKEY], [USERNAME].

What happens:

User1 (Admin) installs the software, entering his username, serial and company. Everything works. The keys can be found and values read by the program, using Registry.LocalMachine.OpenSubKey(path). The first thing I don’t get is that I cannot find the registry entries, using the regedit.exe. Anyway, the code above finds them.

Now, User2 (Non-admin) tries to execute the freshly installed program. The installer is launched again, saying “Wait for … to configure …”. The user specific folders for User2 are created correctly. The program is started, but the registry keys cannot be found by the program anymore.

Now, finally, User1 tries opening the program again. (The registry entries cannot be found anymore.) Edit: The registry entries are actually there, but its values are empty.

So, my questions:

  1. Why can’t I see the registry entries with regedit after the install, although they are obviously there?

(2. Why are the registry entries deleted, when the second user tries launching the program for the first time and how can I avoid that?)

Edit:
2. Why are the registry values set to empty strings, when the second user tries launching the program for the first time and how can I avoid that?

Cheers from Auckland and thanks!

Marc

  • 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-30T20:27:11+00:00Added an answer on May 30, 2026 at 8:27 pm
    1. You might be missing the registry entries if you have a 32 bit package installed on a x64 machine. In this case the registry entries would be redirected under “HKLM\Wow6432Node…”. This is the standard behavior for x64 Windows machines. The same happens with the file redirection to Program Files and Program Files(x86).

    2. That is strange. It could happen that the second launch of the installer, a normal automatic repair operation, has removed the registry entries by mistake. To get more details about the actions executed during the second launch I recommend you enable permanent logging on the OS.
      http://support.microsoft.com/kb/223300

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

Sidebar

Related Questions

What compatibility issues have you found when developing with Visual FoxPro 9 on Windows
We have issues within an application using a state machine. The application is implemented
I sometimes have issues with the incremental rebuild on visual C++ (2003 currently ).
I have two issues both related to (I believe) my SQL Server setup. I
I'm having issues with setting up cookies. The problem is that my cookies aren't
I have been working on setting up a git server by using Paramiko to
I'm using jQuery UI Select Menu and occasionally have some issues. This is located
I have no issues setting pretty much any connection value in a report except
Rails 3.1 Nested_forms Ran into some issues setting up and might have hacked the
I am having issues setting up Google Analytics for my iPhone Application. I have

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.