Bat elevation
Bat elevation
I need to run .bat file during installation with administrator privileges. I have "requireAdministrator" UAC Elevation option in Project options, however .bat files are run without administrator privileges. Is there any workaround?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Bat elevation
Dear User,
for sure there is something wrong with the approach you used.
If the setup package gets elevated, all the child processes will be elevated as well.
If you have a chance to post a very MINIMAL project that replicates the issue, I'll have a look.
Regards
for sure there is something wrong with the approach you used.
If the setup package gets elevated, all the child processes will be elevated as well.
If you have a chance to post a very MINIMAL project that replicates the issue, I'll have a look.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Bat elevation
I've found that problem was only when debugging - because InstallAware Studio itself was not elevated.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Bat elevation

Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 108 guests