Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / October 2006

Tip: Looking for answers? Try searching our database.

UnInstall  - Help me please!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G Hustis - 23 Oct 2006 21:07 GMT
I have a C# app (VS2003) that has been installed on 5 Win2000 Server machines
each one configured exactly like the other (so my customer tells me). My
customer is having trouble running these apps and we have run into a sticky
problem in trying to resolve it. I have a number of questions that i want
answered so that I can fix this and so this situation doesn't occur again.
The application was installed under a user (User1) and, I'm sure the "Just
Me" button was selected during the install process. Then another user (User2,
with admin rights) logs on and since there is no shortcut on his desktop &
start menu he navigates to the EXE and tries to run the program and obviously
it won't. So as User2 & through the add/remove programs he uninstalls the app
& reinstalls it selecting the "Everyone" option. Problem is the app will
still not run. He's done this on 2 servers now with the exact same results.
We didn't realize the problem until he did this on the 2nd server. So on the
3rd server I found the user that actually installed the application &
uninstalled it under that user. Logging in as another user with admin rights
I installed the application and it runs just as expected. So i am convnced
that on the first 2 Servers there is some remnant someplace that is tying the
application to the original user who first installed the application.
1 - has anybody else experienced such a thing?
2 - is there any way to tell whcih user originally installed the program?
The customer is not sure & there is no evidence in the start menu & our app
does not record this anywhere.
3 - Is there a common coding practice that would allow us to trap this kind
of error better.
Thanks in advance.
Gary
Phil Wilson - 24 Oct 2006 15:52 GMT
For 3, the best practice is to know in advance that you don't want to allow
a per-user installation and prevent it. VS 2005 setups have an
InstallAllUsers project property that you can use to default to Everyone,
and this article will help you get rid of the choice (because VS setups
don't have a dialog editor).
http://support.microsoft.com/kb/835460
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]

>I have a C# app (VS2003) that has been installed on 5 Win2000 Server
>machines
[quoted text clipped - 33 lines]
> Thanks in advance.
> Gary
G Hustis - 24 Oct 2006 17:09 GMT
Thanks Phill, in our new 2005 apps we will employ this. My problem now is
that we have a VS2003 app that was installed by one user & Unistalled by
another & we cannot get it to run and figure out why.
So any help in resolving this would be great.

> For 3, the best practice is to know in advance that you don't want to allow
> a per-user installation and prevent it. VS 2005 setups have an
[quoted text clipped - 39 lines]
> > Thanks in advance.
> > Gary

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.