Click here to Skip to main content
15,886,077 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
My setup I made with Visual Studio installs my application ... and runs another application that install some drivers on the machine.

Well, on XP everithing is ok, but on Vista and 7 the UAC block something. I am quite sure that the problem is the call to the second application.
The only solution is then to disable UAC.

The funny thing is that Visual Studio is Microsoft ...as Windows... this is going to drive me crazy.

Is there a way to avoid this problem?

Thank you!!!
Posted

1 solution

If it's running another installer, that installer should prompt trigger the UAC again. Your descriptuion doesn't provide ANYTHING that helps *us* to help you.
 
Share this answer
 
Comments
Russell' 21-Apr-11 13:37pm    
HiSorry, I am not so expert on this kind of stuff.

I will try to explain better but googling it looks that many have the same problem.

The setup project takes the output of my application project.
It Stores into the "application folder" also another exe (not mine).
Then I am simply using a custum action in my setup project to run the other exe.
That exe is the setup of some needed drivers that needs to be installed before that my application runs.

What happens is that the setup fails when run. If UAC is disable the setup succeses.

What do you mean with "that installer should prompt trigger the UAC again"? Cna you please explain better? How to do that?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900