Solved

How can I get vs 2008 application setup to work right for all users?

Posted on 2011-03-23
3
409 Views
Last Modified: 2012-05-11
I apologize as I have absolutely NO idea how to tag this post or what zones to use.

I have inherited an application that has a problem i need to fix.  When installed the normal, everyday user gets a blank form and an error saying that it cannot right to the event log when logging in.  If an administrator logs in first, though, its does its event log fine and from that point on any normal user that logs in has no prolbem.

Talking to the client, I know that they don't allow a regular user to write to the event log and I know that the same program in other client locations works fine without issue.

I was told, by the person that I inherited it from that when a manager logs in, it sets some registry value and that's why anyone else can use it after; however, there is nothing that touches the registry keys in the code or in the setup project.  

What are my options for getting around this?  Or is it all on the client?
0
Comment
Question by:RichardRiga
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 35202727
I think I pretty much understand what the application is doing, what exactly it writes in the registry; if I'm right, then your option is to create in advance the registry key that administrator creates. Can be done easily by group policy's machine start script. But you said "there is nothing that touches the registry keys in the code or in the setup project" . How do you know? did you run regmon or process monitor to monitor what the application is doing when it's started by administrator?
0
 
LVL 1

Author Comment

by:RichardRiga
ID: 35202820
no i just went through the code manually and checked out the registry editor in the setup project.  I'll try your suggestions, thank you!  i'll let you know tomorrow as the client is already out for the night.
0
 
LVL 1

Author Closing Comment

by:RichardRiga
ID: 35233726
Thank you very much.  The tools helped immensely.  I actually went with a tool called What Changed?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question