Solved

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

Posted on 2011-03-23
3
407 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

770 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