<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Am 12.06.2013 02:42, schrieb Antony Awaida:<br>
<blockquote
cite="mid:CAObMZ4z6mLN_XYuHCBsaUop-PD8fes7=kiVK-gDQnpFKdxP0jg@mail.gmail.com"
type="cite">
<pre wrap="">Hi everyone:
We are trying to use the VBS script method from this page:
<a class="moz-txt-link-freetext" href="http://wpkg.org/Fonts">http://wpkg.org/Fonts</a> to install fonts on a Windows 7 64 bit machine.
The fonts are correctly copied into windows/fonts but they do not show
up in the control panel->appearance->fonts nor do they show up in the
registry....
WPKG is running as a service if that makes a difference.
Any ideas as to what is going on?
Thanks,
Antony
-------------------------------------------------------------------------
</pre>
</blockquote>
<br>
I couldnt find any other proper way to register the fonts. the funny
thing is: If you copy the fonts by hand, you have the explorer
window open being in %WINDIR%\Fonts, so the Explorer will register
your fonts.<br>
<br>
So all you have to do in your script is:<br>
<br>
* copy the fonts<br>
* execute "start %windir%\explorer.exe %WINDIR%\Fonts" to register
the fonts<br>
* sleep/wait 5 seconds with "<code>ping -n 5 127.0.0.1 >nul"</code>
(not necessary if you run wpkg at shutdown and there are other
installations following so explorer.exe has some time to register
the fonts anyway)<br>
* "taskkill /im explorer.exe" (not necessary if you run wpkg at
shutdown)<br>
<br>
Regards Ronny
</body>
</html>