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!

ruck64
Posts: 57
Joined: Wed Jul 24, 2019 8:46 pm

Error switching from own custom action to predefined

I have a batch file that runs another batch file. I had this setup and working almost as intended. Upon further reading to get the desired effect I had to switch it to Adding a custom action Launch File. The desired output wouldnt show the command prompt at all. So now I have two issues. One major and one minor. The major: My batch file is no longer running as it should. The minor: If my app already has been granted permission of admin. Do i need to check the box to run file as admin as well. In attempt to make the code run through this method it asks for admin privileges to run the program, as expected. But then follows it up again with asking admin privileges to run the cmd. I am currently using the enterprise version.
ruck64
Posts: 57
Joined: Wed Jul 24, 2019 8:46 pm

Re: Error switching from own custom action to predefined

Upon further testing a changing Execution time from Immeditate To deferred. It is able to start run the files. Also needed to remove my pauses and this issue is resolved
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Error switching from own custom action to predefined

Hello,

Thank you for your followup on this and for sharing your solution with us. I am sure this will be of help for further users facing a similar scenario.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”