PDA

View Full Version : Start application as a "main user" will start setup again!



Andreas Franz
10-04-2006, 12:32 PM
Hello,
I try to develop a setup for a client - server Application. Some Parts of our Application needs .NET 2.0. This feature also needs some .DLL, .OCX, Registry entries and .Net assemblies. So far so good.

When I install the client part as an Administrator everything works fine. I have access to our Serversoftware even to all parts using .Net! After Login as a "windows main user" (and starting our application) I see that my msi package is still running again. I don't no why that is happen because "AllUsers"-Property is set to "1".
As one result all Registry entries for the .NET-Part are removed from HKLM!

When Login as a "normal" user, I see msi package is running too but do not remove Registry entries (of course, "normal" users don't have the right to manipukate HKLM).

One Questions:
1. Why is my setup running when logged in as a non member of Administrationgroup?

Thanks for any tipp and sorry for my ugly english!

Kind regards
Andreas :confused:

Andreas Franz
10-27-2006, 07:42 AM
I figured aut whats happened. In Event-Log of MS Windows I found the error causing component. A .dll wasn't correct registered.
I've used "AppLaunchAndWait" to register some special .DLL and to set som special trust for .NET Assemblies.
My problem was, that LaunchAppAndWait doesn't wait until "wait" or "LAAW_OPTION_WAIT" is set. :mad: :mad:

Regards
Andreas