smallest
Posts: 8
Joined: Mon Jul 14, 2008 2:20 am

installing data into My Doc's, vs UAC

if a non-admin launches our install, he is prompted for admin credentials (because we install the main EXE into Program Files). but, after that, the installer is running as the admin user, not as the user who launched it. and that means "My Documents" is now the Admin's My Documents and not the original user's My Documents. is that right ? (seems to be how it works in testing anyway)

so, is there any way to install something into the original user's MyDoc's ?

if not, how on earth could MS design such a horrible system ? :roll:

or, am i imagining things... ?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: installing data into My Doc's, vs UAC

Hello,

I am afraid we could not replicate this behavior. Are you sure the "Install Type" on the "Install Parameters" page is set to "Per-User only (with administration rights required)"? If so, please send your .aip project file and an install log to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
shelmers
Posts: 63
Joined: Thu Sep 03, 2009 9:02 pm
Location: Andover, Massachusetts USA

Re: installing data into My Doc's, vs UAC

My installs are all per user and I had this problem all the time with another installer product that shall remain nameless (OK, InstallShield Express :wink: ). But I'm delighted to say that I have had no issues about this with Advanced Installer! Just use the install type setting that Gabriel suggests above and you should be good to go.
smallest
Posts: 8
Joined: Mon Jul 14, 2008 2:20 am

Re: installing data into My Doc's, vs UAC

after a bit more digging, i think the problem might have been that we were testing some of the standard user installs with the "Run As Administrator" flag set on the EXE . it looks like just letting the UAC jump in when it needs to works as expected. so i guess "Run As Admin" really runs as admin... ? anyway, all better now.

whew! :o

sorry for the scare.

Return to “Common Problems”