Adding files from batch - 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!

Bretto
Posts: 1
Joined: Wed Dec 07, 2011 7:58 am

Adding files from batch

Hi,

I have a project set up in AI 8.6 that I am adding files to with some batch scripting. I would like the files that I add to always replace existing versions on a system. I can't see a way to do that from the command line - the default behavior looks like it is only replacing older versions of the files. Can anyone give me advice on how to change this?

Thanks,
Brett
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Adding files from batch

Hello Brett and welcome to Advanced Installer forums,

The file setting you are looking for would be "Ensure that this file overwrites any installed target file".
Unfortunately, this option cannot be enabled from Advanced Installer CLI, only from the GUI.

Another solution you could try would be to develop the same functionality and include it in a custom action attached to your installation.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”