Issues with admin privs/Run as Administrator

Got a problem you cannot solve? Try here.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Issues with admin privs/Run as Administrator

Post by giaviv »

Hi Gene,

Please give this a read - it will explain how UAC works and clarify some things about it:
http://www.installaware.com/forum/viewt ... f=2&t=6787
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
shenjige
Posts: 16
Joined: Wed Dec 15, 2010 7:29 pm

Re: Issues with admin privs/Run as Administrator

Post by shenjige »

How did you load this Run Program As window?

That might be the key for me.

Thanks!

gene.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Issues with admin privs/Run as Administrator

Post by giaviv »

Gene,

You can either drag that command from the right hand menu in the MSIcode tab, or select the desired MSIcode line ans start typing Run Program As.. until IA autocompletes your entry.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
shenjige
Posts: 16
Joined: Wed Dec 15, 2010 7:29 pm

Re: Issues with admin privs/Run as Administrator

Post by shenjige »

Hi, Aviv,

I think Run Program As is nor for my application. It seems that it is for applications that need to run extra external executable files. Mine is very simple: to install my application to client machine on c:\program files\my application folder. And my executable file needs to have full access of the folder it lies. It seems that windows 7 doesn't grand a full access to my executable to read/write text files in the same folder. That has bothered me for a whole day!

Any hints or ideas I should further investigate? Thanks!

Gene.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Issues with admin privs/Run as Administrator

Post by giaviv »

Hi Gene,

With your Requested Elevation Level set to highestAvailable, you should be good to go in terms of permissions.
Have you tried that?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply