a.guelle
Posts: 97
Joined: Tue May 19, 2015 2:23 pm

Running Actions from temp directory with admin rights

Hi AI-Team,

I have a custom action that needs admin rights. As it works at the end of the uninstall routine, I put the .bat file to the temp folder launching it via [&myBat.bat].

If I mark "Run as Administrator", the file is not found.
However if I run the whole installer with privileged rights (right mouse -> "Run as Administrator") it works fine.

Do you have any idea how to solve this?
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Running Actions from temp directory with admin rights

Hello,

I'm not sure why you encountered the this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”