Page 1 of 1
Bat elevation
Posted: Thu Nov 26, 2015 7:33 am
by ranquild
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?
Re: Bat elevation
Posted: Thu Nov 26, 2015 1:19 pm
by FrancescoT
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
Re: Bat elevation
Posted: Fri Nov 27, 2015 4:31 am
by ranquild
I've found that problem was only when debugging - because InstallAware Studio itself was not elevated.
Re: Bat elevation
Posted: Mon Nov 30, 2015 12:57 pm
by FrancescoT