What would cause a program to try to reinstall itself when someone tries to run it?

I created a setup project for my application (written in VB.NET 2005) and produced a setup and MSI package.

The IT Administrator used the MSI package to install my application on Windows Terminal Servers. When he installed my application, he correctly went into install mode by typing "change user/install" from the command prompt and "change user /execute" after the install was done.

However, when some users try to run my program they see a dialog box indicating it is trying to install my application. This is then followed by the error message:

"Only administrators have permission to add, remove, or configure server software during a terminal services remote session. If you want to install or configure software on the server, contact you network administrator"

Sometimes after reinstalling the application this message goes away and the user is able to run my application. But afterwards other users (who previously was able to run the application with no problem) would see this message. I can't see any pattern in this problem.

What are the possible causes a program would try to reinstall itself when someone tries to run it

Thanks for any help or information....


Answer this question

What would cause a program to try to reinstall itself when someone tries to run it?

  • howard dierking - MSFT

    Did he install it for Everyone or Just me MSI packages don't need that install setting /install on TS because it's the Everyone or Just me setting that determines whether it's for everyone on the system or the calling user.

  • What would cause a program to try to reinstall itself when someone tries to run it?