when the file is copied? - Advanced Installer Community

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!

jrahma
Posts: 51
Joined: Wed Jan 07, 2009 11:56 am

when the file is copied?

I have a file included in my setup package and i want to run that file to prepare my data during the setup. so I understand I should use the custome action... but how can I do it and to make sure all the files were already copied into the application folder?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: when the file is copied?

Hi,

The files from the Files and Folders page are installed during the InstallFiles standard action. To make sure that your files exist when you are trying to run the custom action
you should add the custom action after the RegisterClassInfo standard action. To show RegisterClassInfo right click InstallExecuteSequence tree -> Show Standard Actions -> Before Finalization -> RegisterClassInfo.
Then simply add the custom action under this standard action.

Please let me know if you have any questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”