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!

comarkiewicz
Posts: 1
Joined: Tue Sep 24, 2024 5:17 pm

How to synchronize folder contents *after* pre-build events are completed?

Hello,

I have a project where I would like to download a number of packages from Azure DevOps to a synchronized folder as a pre-build event *before* Advanced Installer synchronizes the folder. Currently, this is reversed, therefore the resulting installer does not contain the necessary files that I would like to install. Is there a way to run pre-build events before Advanced Installer synchronizes the folder?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: How to synchronize folder contents *after* pre-build events are completed?

Hello and welcome to our forums,

As far as I know, the sync is the first thing that is done when the project is initialized (this is how the synchronization works).

The pre-build events are executed during the build, which can happen a lot after the project was initialized.

I will discuss this with the dev in charge to see whether there is something we can do here,

So far, an ideea that I got for the moment (please note I haven't tested it) is to build from the command line.

For instance, you could use our PowerShell automation support to do the loading and building of the project. I am thinking that by doing so, the project is no longer initialized and therefore the sync will not happen.

However, I am not so sure whether the synchronization will happen afterwards. :(

That being said, could you please give this a try and let me know how it goes?

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

Return to “Common Problems”