R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Ignoring Files when creating patches

Hi,

is there any chance to ignore some files, when I create patches? I have seen, that MSI supports a table called 'UpgradedFilesToIgnore' for that.

In my case, I want to ignore some help files (*.chm), which are blowing up the patches a lot, but only contain minor changes. Unfortunately, after each rebuild of the CHM files, they will be added completely into the patch.

Any idea?

Roland
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Ignoring Files when creating patches

Hello,

I'm afraid we don't have support for this. We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Ignoring Files when creating patches

Hi Dan,

ok, this sounds good. But is it then possible to create the table manually to achieve the same functionality, as long as you have not integrated it into the AI UI?

Regards,

Roland
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Ignoring Files when creating patches

Hello Roland,

Indeed, you can create the table manually. In order to achieve that you can go to your patch project and in "Media" page please check the "Don't delete PCP file" option. Build your project again.

Then use the Orca tool to edit tables that you need in order to create the "UpgradedFilesToIgnore Table".

For the final MSP package you can use the Msimsp tool.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Ignoring Files when creating patches

Hello,

This was fixed in version 10.3 of Advanced Installer released on June 26, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Ignoring Files when creating patches

Hi Daniel,

I am glad to hear this.
How does it work now, is there any description for that?

Regards,

Roland
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Ignoring Files when creating patches

Hi Rolland,

In order to add a file to be ignored when you make a patch you can go in the “Images” page and select the “Upgraded Image”. Please notice that in the right panel are displayed its properties and there is a “Ignore Package Files” line where you can add your files that you want to be ignored.

Also, you can take a look on our Upgraded Image Properties article.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Ignoring Files when creating patches

Hi Dan,

ok, thanks, I will check that out.

Roland

Return to “Building Installers”