rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Run application on Windows Vista/7

Hi there,

On Windows Vista/7, when a non-administrator user executes the instalation, it is prompted by Windows's UAC to inform user and password of an administrator user.

Our setup includes the option to execute the application after install. The problem is that if it was a non-administor user who installed the application, the application runs under the administrator user informed on UAC.

Is there any way to execute the application on the logged user profile instead of the "UAC user"?

Thanks,

Raul Vellame
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Run application on Windows Vista/7

Hi Raul,

Custom actions inherit the same privileges from the Windows Installer process. After the main installation process has been elevated through the UAC, any custom behavior will have the same privileges.
Thus, unfortunately, there's no easy or predefined way for an elevated process( main installation process ) to execute a non-elevated process( custom behavior that launches your application ).

FYI : The link in your post got deleted because it is against our spam policy.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Re: Run application on Windows Vista/7

Thank you , Mihai.

And sorry about the link. Next message (still have some few doubts:) will not include it.

Raul.

Return to “Common Problems”