I have a program, for which I created a setup .msi file from within Visual Studio 2005. In the setup customs actions, I allow the user to choose whether or not to run the program upon completion of setup. When I compiled and ran it from VS 2005, the program started up after completion of install, and ran just fine.

However, I have since upgraded to VS 2008, and converted my program to the new C# v9 format. Now, when I install the program, the registry entries that used to be accessible, are no longer accessible to the version of my program that was spawned by the install package. If I close this instance of my program, and immediately start a new one from the desktop icon, it runs fine, and can read the registry like normal.

I have since gone back to verify that the VS 2005 version still runs like it did before, and it does.

Does anybody have any ideas why this would be?

Thanks in advance for your help.

- bpahlite