Vista and Run App privileges

Got a problem you cannot solve? Try here.
bradak
Posts: 9
Joined: Tue Oct 31, 2006 3:48 pm

Vista and Run App privileges

Postby bradak » Fri Nov 03, 2006 5:59 pm

I am testing on Vista RC1.

I run the InstallAware generated install. The vista UAC asks if I want to run the setup progam (my app isn't signed yet). I click to allow it. My setup proceeds correctly and installs as it should. It reaches the Finish dialog, and I select the "Run Title" check box, and then press "Finish". My application starts up. I create a document, and save it to disk, and exit the application.

Later I start my application from the Start Menu. I open the previous document, make a change, and try and save it. Error! It says I don't have permission to overwrite the file.

I'm guessing that my application is at "administrator" privilege when it is installing and launched. Later when I run the app, I'm at user level, and can't overwrite the file.

Have you heard of this? Is there anything I can do when launching the application from the script?

Thanks,
Brad

bradak
Posts: 9
Joined: Tue Oct 31, 2006 3:48 pm

Postby bradak » Fri Nov 03, 2006 6:44 pm

After further testing, it's my fault. I wrote my document to "Program Files\\MyApp". You aren't supposed to do that on Vista. It did upgrade my access level, because of the install though. Anyway, consider this resolved.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 34 guests