Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Extensions cannot be excluded from synchronized folder

Mon Sep 05, 2022 10:52 am

Dear Advanced Installer Support Team,

We have some synchronized folders in the Files and Folders area of our Advanced Installer project, and now we would like to exclude 2 extensions, because the files with those extensions should not be taken and included in our setup exe. Please take a look at the screenshot to see how we tried to do so.

There is the "Use folder's component. Except for these extensions:" textbox in AI, I tried to insert values like:
1. js.map css.map
2. "js.map" "css.map"
3. .js.map .css.map
into that checkbox, but those 2 extensions were never excluded.

Could you please advise us something?

Thank you.

Best regards,
Zsolt
Attachments
ForAI.png
ForAI.png (39.11KiB)Viewed 5112 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Extensions cannot be excluded from synchronized folder

Tue Sep 06, 2022 2:42 pm

Hello Zsolt,

This option does not help you to achieve your scenario. This option refers the components of the folder.

All files from a folder are added in the same component. This applies to any file extension unless it is specified in the exception list. While using this option the respective files won't be added under the same component but will be added in your project.

In order to exclude the files with specific extension from your folder, you can use the Filters... option --> Exclude Filters tab. You can specify what files (or types of files) should be left out of the project. The exclude filters can be configured so they apply only to files, only to folders or both.
exclude files.png
exclude files.png (121.46KiB)Viewed 5097 times

Hope this helps! Please let me know if you have any questions.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Re: Extensions cannot be excluded from synchronized folder

Fri Sep 16, 2022 8:04 am

Hi Liviu,

Thanks for the tip, it is working as expected. :)

Best regards,
Zsolt

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Extensions cannot be excluded from synchronized folder

Fri Sep 16, 2022 8:18 am

You're always welcome, Zsolt!

Glad I could help.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”