Posted 15 January 2004 - 22:25
Can anyone explain why an MSI installation will try to repair an application on Terminal Services but not on a multi-user PC?
For example, we install our app with an admin account on TS, log out and log in with a user account through a remote session. When we run the application on the user account our MSI install runs and tries to repair the application, but since the user does not have permission to run the installation, it fails.
Now, on a multi-user PC we try the same scenario. We install our application with an admin account. log out and log in with a regular user account. When the regular user account runs the application the MSI installation does not attemp to repair our application.
I expected that MSI would attempt to repair our application in both scenarios but it is not. Does anyone know why? (See previous post for additional info about our app.)
***New Info****
I have now tried installing our app with an admin account I will call Admin and then logged in with a user account I will call User. As I mentioned before when User runs our app our MSI installation is trying to do some kind of repair. I decided to give User admin rights, logged off User and logged-in User. Now when User (with admin rights) runs our application the MSI installation does not attempt to repair our application. Thinking that maybe something happened while User was logged-in with Admin rights i decided to revoke User's admin rights and switch the account back to regular user rights. Now I logged-in User (now with regular) user ran our application the MSI installation tried to repair our app again.
I am trying to make sense of all of this, but it is just getting more confusing. Does anyone have any insight into this? Any suggestions?