I've written an application in Microsoft Visual C# 2008 Express Edition.
The Windows XP computer I want to install it on has two user accounts. One is the admin account, the other is the main user account and does not have admin privledges.
I tried installing the application as the main user, and got an error saying i can't because I'm not admin. Fine. I tried installing the application as the admin account. It installs fine and works fine under the admin account, but doesn't seem to be available in my main user account. From the main user account, I navigated using windows explorer to where I run the application from as admin and the same "can't install" error.
What do I need to do to make this available to my main user account?
Thanks!
-Adeena
Update: someone asked for these details: I'm using the "ClickOnce" publishing scheme (I think that's the only thing available in Express. I use the wizard and I publish it to a local folder on my machine, then I say "user's will install from a CD-ROM" (as opposed to from a website or file share), and select "The application will not check for updates"
update2: when I try installing under the main user account, I get a dialog that says: "Application cannot be started. contact the application vendor." and then there is a button for "Details..." I click on that and get the following error summary: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of C:\ADIA\ADIA.application resulted in exception. Following failure messages were detected: + Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Another note... It's a very simple application. If I copy the executable that gets built when I'm working in MS Visual Express to the other machine and just run it as my main user, it runs fine.