.NET Application Updater Error

G

Guest

I have a .NET solution which uses the .NET Application Updater feature.

This runs fine on XP operating systems but whenever I attempt to run the
program under Vista I receive the following error box:

-----

Application Update Failed

The auto-update of this application failed with the following error message:

Update fail with the following error: 'Access to the path "C\Program
Files..." is denied.'

To correct this problem, try rebooting the computer & re-launching this
application.

-----

Following the directions does nothing to correct the problem. I have
administrator rights to the Vista machine.

Is there a solution?

Thanks, Ron
 
A

Alun Harford

Ron said:
I have a .NET solution which uses the .NET Application Updater feature.

This runs fine on XP operating systems but whenever I attempt to run the
program under Vista I receive the following error box:

-----

Application Update Failed

The auto-update of this application failed with the following error message:

Update fail with the following error: 'Access to the path "C\Program
Files..." is denied.'

To correct this problem, try rebooting the computer & re-launching this
application.

-----

Following the directions does nothing to correct the problem. I have
administrator rights to the Vista machine.

Is there a solution?

Programs running on Vista are not given admin rights unless they
specifically request them (and then the user has to accept a dialog to
give the rights to the application).

You need to state in a manifest file that the program needs admin rights
in order to run (or alter the program so that it works correctly if
you're a normal user - normally by putting the update program into an
entirely different program and having that require admin rights).

See http://blogs.msdn.com/shawnfa/archive/2006/04/06/568563.aspx on
manifest files in .NET

Alun Harford
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top