We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

a.guelle
Posts: 98
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: 4530
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”