K7LER
Posts: 21
Joined: Wed Jan 12, 2022 7:33 pm

One Font Per Component

To assure that each font is being installed and registered, in my prior installshield projects, I would move each font to a separate component and mark as a key file.

Using the 20.0 release of Advanced Installer, I can select a font, go to the component, but I can not move all the fonts I use to a separate component.

I've run into multiple situations where the user deletes one or more of the distributed fonts, but are not the key component item, which as far as I known, if the key file for the component is installed, it will not look to see if other files in the component need updating or installing or registering.

How do I place in separate components?
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: One Font Per Component

Hello,

In order to achieve that, pleas proceed as it follows:

- go to "Organization" page

- expand the component which contains all of your fonts

- right click on a font there --> "Add to List"
Screenshot_2.png
Screenshot_2.png (27.05 KiB) Viewed 4708 times

- right click on the file in the list --> "Move to existing component"
Screenshot_3.png
Screenshot_3.png (66.67 KiB) Viewed 4708 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
K7LER
Posts: 21
Joined: Wed Jan 12, 2022 7:33 pm

Re: One Font Per Component

This seems more cumbersome than the past moving of a component.

However, this did not work. The fonts are in the Fonts folder for Windows. While I can add a font to the list, when I select the font from the list and say move to a new component, I receive an error "Cannot move these resources into a new component because none of them can create new components".
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: One Font Per Component

Hello,

Please disregard my last email, as I have found an easier way to achieve this.

In order to achieve what you want, please proceed as it follows:

- go to "Files and Folders" page

- select your font files (control + click for multiple selection) --> right click on them --> "Move to" --> "Feature" --> "New" --> inser the feature name --> click "Ok".

Now you should have a component for each font.

Hope it helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
K7LER
Posts: 21
Joined: Wed Jan 12, 2022 7:33 pm

Re: One Font Per Component

That did not work and as a note - I don't want a new feature.

Following your instructions - all it did was move the fonts, including the font I did not select to a new component with only 1 key component and the rest there in the same component.
K7LER
Posts: 21
Joined: Wed Jan 12, 2022 7:33 pm

Re: One Font Per Component

As a note, the only way I see doing this, which is very painful, is to manipulate the AIP file to add the components and assign the fonts to each of the created components.

In Installshield, I could create components and then add a file to it and then mark as a key file. With AI, it doesn't appear to allow me the ability to do the same.
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: One Font Per Component

Hello,

I have obviously tested this yesterday before giving you the solution and somehow it my test it created a new component for each font. Tested this again now and it looks like it's not the same behavior, unfortunately.

On the other hand, it worked now to use the "Move to new component" option.

Could you please forward me a test .AIP file + the font files zipped so I can run a few tests on my end with them?

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

Return to “Common Problems”