Can not install fonts. Please help.

Got a problem you cannot solve? Try here.

Can not install fonts. Please help.

Postby atg » Fri Jun 22, 2012 1:15 pm

Hi.

win 7 pro 64-bit
IA 10 (build Mooya.rtm.51110)

We been using IA for more than a few years to deploy our app.
Part of the install, 15 custom fonts with restricted license, they are going into $ALLFONTS$
Recently we notice that when we run the install package on win 7 machines (as administrator) those 15 fonts are NOT getting installed.

So i create small install package with calc.exe and one of the fonts we have Secure4.ttf

Still not working, i also try change the package to work with Plug-In "Install Fonts" ... still no success.

Can someone please help me.

Here is the code from the small package and i also attaching a msi install log 123.log ( msiexec /i "C:\test.msi" /L*V "C:\123.log" )

Thx
Vlad


Comment: My Product Setup Project

[DEFINE REGION: Check Application Requirements]
<<Code Folding Region>>

[DEFINE REGION: Check/Install Application Pre-Requisites]

[DEFINE REGION: Check Application Pre-Requisites]
Comment: Check setup pre-requisites
Set Variable PREREQ to FALSE
Set Variable PRELIST to
[compiler if Variable BUILDMODE not Equals PATCH]
if Variable NEEDSUPGRADE Equals TRUE
Set Variable PREREQ to TRUE
Set Variable PRELIST to $PRELIST$$NEWLINE$Previous Version Uninstallation
end
[compiler end]
<<Code Folding Region>>

[DEFINE REGION: Install Application Pre-Requisites]
Comment: Install setup pre-requisites
if Variable PREREQ not Equals FALSE
Display Dialog: prereq, wait for dialog to return (modal)
if Variable WIZARD Equals CANCEL
Terminate Installation
end
Display Dialog: progressprereq, use as progress dialog (non-modal)
[compiler if Variable BUILDMODE not Equals PATCH]
if Variable NEEDSUPGRADE Equals TRUE
Set Variable REMOVEOLD to
Set Variable ERROROLD to
Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)
if Variable REMOVEOLD Equals ERROR
MessageBox: $TITLE$ Setup, Unable to uninstall old version of $TITLE$. Please uninstall it yourself using Control Panel Add-Remove Programs before attempting to install this product.$NEWLINE$$NEWLINE$$ERROROLD$
Terminate Installation
end
if Variable REMOVEOLD Equals REBOOT
MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
if Variable REBOOTNOW Equals OK
Reboot Computer and Resume Setup
else
Terminate Installation
end
end
Set Variable MAINTENANCE to FALSE
end
[compiler end]
Hide Dialog
end
<<Code Folding Region>>

<<Code Folding Region>>

[DEFINE REGION: Define Setup Globals]
Comment: Define Setup Components
Define Component: My Product

Comment: Initialize Setup Globals
Get System Setting Windows NT Kernel (NT4, 2000, XP, 2003, Vista, 2008) into ISNT
Get Common Folder Location System->Fonts Directory into ALLFONTS
Get Folder Location System->Program Files Directory into PROGRAMFILES
Get Common Folder Location System->Program Files Directory into COMMONFILES
Get Common Folder Location Start Menu->Programs Group into SHORTCUTFILESALL
Get Folder Location Start Menu->Programs Group into SHORTCUTFILES
if Variable SHORTCUTFILESALL Equals
Set Variable SHORTCUTFILESALL to $SHORTCUTFILES$
end
Get Folder Location System->Desktop Directory into DESKTOPDIR
Get Folder Location System->Windows Directory into WINDIR
Get Folder Location System->System Directory into WINSYSDIR
Get Folder Location Taskbar->Quick Launch Directory into QUICKLAUNCHDIR
Get Folder Location WWW->WWWRoot into WWWROOTDIR
<<Code Folding Region>>

[DEFINE REGION: Setup User Interview]
if Variable MAINTENANCE Equals TRUE
GoTo Label: Maintenance
else
[compiler if Variable BUILDMODE not Equals PATCH]
Comment: First Time Install
Set Variable TARGETDIR to $PROGRAMFILES$\$TITLE$
Set Variable STARTMENU to $TITLE$
[compiler end]
end

label: Welcome Dialog
Display Dialog: welcome, wait for dialog to return (modal)
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
[compiler if Variable BUILDMODE not Equals PATCH]
label: License Check
Display Dialog: licensecheck, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Welcome Dialog
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: ReadMe Information
Display Dialog: readme, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: License Check
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: User Registration
Display Dialog: registration, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: ReadMe Information
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Setup Type
Display Dialog: setuptype, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: User Registration
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
Comment: TO-DO: Customize your minimum setup here
if Variable MINIMUM Equals TRUE
Deselect Component: My Product
else
if Variable COMPLETE Equals TRUE
Select Component: My Product
end
end
label: Custom Setup
Display Dialog: componentstree (if variable PERSONALIZED is TRUE), wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Setup Type
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Destination Directory
Display Dialog: destination, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Custom Setup
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Start Menu
Display Dialog: startmenu, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Destination Directory
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
[compiler end]
label: Start Installation
Display Dialog: startinstallation, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
[compiler if Variable BUILDMODE not Equals PATCH]
GoTo Label: Start Menu
[compiler else]
GoTo Label: Welcome Dialog
[compiler end]
else
GoTo Label: Main Install
end

label: Maintenance
Comment: Maintenance Install/Uninstall
wizard loop
Display Dialog: maintenance, wait for dialog to return (modal)
Display Dialog: componentstree (if variable MODIFY is TRUE), wait for dialog to return (modal)
Display Dialog: startinstallation, wait for dialog to return (modal)
end
<<Code Folding Region>>

[DEFINE REGION: Process (Un)Installation]
label: Main Install
Comment: Exit Setup if Wizard Loop cancelled
if Variable WIZARD Equals CANCEL
Terminate Installation
end

Comment: Prepare to install
Set Variable PROGRESSTEXT to Installing $TITLE$
Set Variable SUCCESS to
Set Variable LASTERROR to
if Variable ALLUSERS Equals TRUE
Set Variable SHORTCUTFOLDER to $SHORTCUTFILESALL$\$STARTMENU$
else
Set Variable SHORTCUTFOLDER to $SHORTCUTFILES$\$STARTMENU$
end
Display Dialog: progress, use as progress dialog (non-modal)

Comment: Modify Target System
[DEFINE REGION: Perform Uninstallation]
if Variable REMOVE Equals TRUE
Comment: Uninstall product
Comment: TO-DO: Insert any additional uninstall commands here
Apply Uninstall (get result into variable SUCCESS)
Set Variable PROGRESS to 100
else
<<Code Folding Region>>
[DEFINE REGION: Perform First Time or Maintenance Installation]
Comment: Install/Re-Install product
Create Shortcut $SHORTCUTFOLDER$\Uninstall #TITLE# to $UNINSTALLLINK$
[OFFLINE CONTENT]
Install Fonts from '$TARGETDIR$\Fonts\*.ttf' (remove empty source directory after installation)
Install Files C:\Users\Administrator\Desktop\calc\calc.exe to $TARGETDIR$
MessageBox: test, $ALLFONTS$
Install Files C:\Users\Administrator\Desktop\calc\Fonts\Secure4.ttf to $ALLFONTS$
[DEFINE WEB MEDIA My Product]
Get Component My Product Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
end
Comment: TO-DO: Insert any additional install commands here
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else
Apply Install (get result into variable SUCCESS)
end
[compiler end]
Set Variable PROGRESS to 100
end
<<Code Folding Region>>
<<Code Folding Region>>

[DEFINE REGION: Finish Setup]
Comment: End of Installation
Hide Dialog
Display Dialog: finish, wait for dialog to return (modal)
if Variable SILENT Equals FALSE
if Variable REBOOTCOMPUTER Equals TRUE
if Variable SUCCESS Equals REBOOT
Reboot Computer
end
end
if Variable RUNAPP Equals TRUE
if Variable REMOVE Equals FALSE
if Variable SUCCESS Equals COMPLETE
Comment: TO-DO: Insert command that starts your application here
end
end
end
end
<<Code Folding Region>>
Attachments
123.log
(122.63 KiB) Downloaded 69 times
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby FrancescoT » Mon Jun 25, 2012 5:21 am

Dear atg,

which kind of rights restrictions have your fonts files?

Testing your project on different OS as WIN XP what happens?

Is it possible to have one of the font file you are using to test on my site?
If possible sent it to: support@installaware.com instead of using forum attachment.

Let me know.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1889
Joined: Sun Aug 22, 2010 4:28 am

Re: Can not install fonts. Please help.

Postby atg » Mon Jun 25, 2012 7:39 am

Hi Francesco.

Thank you for getting back to me.

XP sp3 is good, looks like it's start happening with win7

Here is a one of the fonts not getting installed.

Sincerely
Vlad
Attachments
Secure4.rar
(9.75 KiB) Downloaded 67 times
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby FrancescoT » Mon Jun 25, 2012 8:22 am

Dear atg,

Please be patient, I will be back as as possible.

Anyway, you have not replied to my previous question;

which kind of rights restrictions have your fonts files?

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1889
Joined: Sun Aug 22, 2010 4:28 am

Re: Can not install fonts. Please help.

Postby atg » Mon Jun 25, 2012 12:10 pm

Francesco, my message doesn’t have anything about me be impatience.
I am really appreciated you help to resolve my problem.
Speaking of font restriction, it’s in the font I attached to the message.
Here is the screen shoot.
Attachments
Untitled.jpg
Untitled.jpg (293.86 KiB) Viewed 1554 times
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby FrancescoT » Mon Jun 25, 2012 12:16 pm

Dear atg,

Do not worry!
I meant that unfortunately I can not be very fast with the answers when it requires some testing.
I have been misinterpreted.

Regarding font right restriction ... ok I seen.

I will be back to you as soon as possible.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1889
Joined: Sun Aug 22, 2010 4:28 am

Re: Can not install fonts. Please help.

Postby atg » Mon Jul 02, 2012 6:34 am

Well ... anything? anyone?
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby FrancescoT » Mon Jul 02, 2012 8:36 am

Dear atg,

I have not missed your problem, but you must always consider that many of you requires support with code testing or samples and this requires time.

Anyway I tested your issue and I found the font installed correctly. however I found with some other test that sometimes and even installing the font manually, this particular font seems to be not listed in the Font directory. In reality the font is correctly installed and available but not visible in the system font folder.

Just try Find a Character available with the system font folder and you will have "Secure4". Very probably seems a problem with this font file.

Attached you will find the test project I used on WIN 7 x64 to install the font (The sample project requires Install Fonts plugin).

Regards
Attachments
FontTest.rar
(1.82 MiB) Downloaded 62 times
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1889
Joined: Sun Aug 22, 2010 4:28 am

Re: Can not install fonts. Please help.

Postby atg » Tue Jul 03, 2012 6:40 am

Francesco, thank you.
I don't think it's a visible/invisible in system font folder issue.
I have a few reports in our app that uses those fonts.
After installing the app using installaware package, windows replace those "missing" fonts in the report with the closes match.
So it is not only about visible/invisible it's also about available/un available ...
Installing fonts manually immediately fix the problem.

Anyway, I will review you example and will give it a try.

Please stand by.

ps
This is a very serious issue for us.
WE CAN NOT go around installing fonts manually on hundred's machines.
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby bokkie » Tue Jul 03, 2012 7:53 am

atg,

I'm not a guru on installing fronts but when you wrote "Installing fonts manually immediately fix the problem..." that suggests you know what commands you need to run to do it successfully? Can you put those commands into a batch file and then run the batch file in a command window which would replicate your manual procedure? You could then run the batch file in your installation.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware (9 through 16) MVP
bokkie
 
Posts: 609
Joined: Sun Feb 08, 2009 6:30 am

Re: Can not install fonts. Please help.

Postby atg » Tue Jul 03, 2012 8:23 am

Francesco, thank you. Looks like it's working now, i did use approach:
1. Create Font folder in target directory
2. Copy fonts to that directory
3. Install fonts using plug-in and then delete them from target directory

but ... instead:
Install Fonts from '$TARGETDIR$\Fonts\*.ttf' (remove source files after installation)

i did:
Install Fonts from '$TARGETDIR$\Fonts\Secure1.ttf' (remove source files after installation)
Install Fonts from '$TARGETDIR$\Fonts\Secure2.ttf' (remove source files after installation)
... and so on for an each font fileneeds to be installed

Thank you ones agan and have a great day.

Vlad
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby FrancescoT » Tue Jul 03, 2012 8:26 am

I'm happy that you solved! :) :)
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1889
Joined: Sun Aug 22, 2010 4:28 am

Re: Can not install fonts. Please help.

Postby atg » Tue Jul 03, 2012 8:36 am

bokkie wrote:atg,

I'm not a guru on installing fronts but when you wrote "Installing fonts manually immediately fix the problem..." that suggests you know what commands you need to run to do it successfully? Can you put those commands into a batch file and then run the batch file in a command window which would replicate your manual procedure? You could then run the batch file in your installation.


Peter
by Installing fonts manually i mean, physically copy file into user font directory and installing by (see attached)

also primary reason we are purchase and using IA to deploy our product is that I don’t have to wright batch or any other custom commands and IA handles all this.

But thank you for a suggestion.
Attachments
font.jpg
font.jpg (50.41 KiB) Viewed 1465 times
atg
 
Posts: 21
Joined: Fri Jan 04, 2008 10:35 am

Re: Can not install fonts. Please help.

Postby bokkie » Tue Jul 03, 2012 12:25 pm

I see what you mean. :)
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware (9 through 16) MVP
bokkie
 
Posts: 609
Joined: Sun Feb 08, 2009 6:30 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 5 guests