lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Do Not Uninstall Font

Hello,
My package installs a new font on the client machine.
1. I want that it will not be installed if the font already exits (No matter what font version is installed)
2. I do not want to uninstall the font while uninstalling my package.


How can I perform that?
Thanks!
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Do Not Uninstall Font

Hi,
1. I want that it will not be installed if the font already exits (No matter what font version is installed)
For this you can try using a search from the Search page. You will search for the font on the desired location and use the search result as a condition for the component
in the Organization page. If the search returns an empty string then the font is installed, otherwise not.

Here is an example of condition that can be used, assuming that the name of the search is "FONT_SEARCH":

Code: Select all

 NOT FONT_SEARCH 
2. I do not want to uninstall the font while uninstalling my package.
You have the following option:
-- go to Organization page and select the component corespondent to the font
-- in the Component Properties pane from the right side select "Permanent" option
-- this will make the component not to be removed when uninstalling the application

Please let me know if you have other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: Do Not Uninstall Font

Thanks a lot!
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: Do Not Uninstall Font

Hi,
I want to install fonts on 64bit OS.
1. Can I use the same 32 bit fonts?
2. Do I have to select the attribute to 64-bit component?

Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Do Not Uninstall Font

Hello,

Fonts are not 32bit/64bit they are a file format independent of the architecture. Also it is best you leave the 64bit component option unchecked since you most likely want to install them both on 32bit and 64bit platforms.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”