|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 1
|
Deploy some Fonts in a Windows Network
Hello,
i created a little Script with NSIS to deploy Fonts on some Windows 2000 and XP Clients. It created the Registry Key and copys the Font in the Folder, but if i want to use the Font with Office it doesnt show. Here the Script: ; The name of the installer Name "Installing Barcode-Font" ; The file to write OutFile "barcode39.exe" ; The default installation directory InstallDir $windir\fonts ;-------------------------------- ; Pages Page directory Page instfiles ;-------------------------------- ; The stuff to install Section "" ;No components page, name is not important ; Set output path to the installation directory. SetOutPath $INSTDIR ; Put file there File BarCode39ori.ttf ; Write the installation path into the registry WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" "Bar-Code 39 (TrueType)" "BarCode39ori.ttf" SectionEnd ; end the section I just used the "Example1.nsi" file and modified it a little bit. But i cant find the Bug why it doesnt work. If i install the Font with Windows on the normal way, than it works perfect. Hope someone can Help me. Then i want it as a Silent installation so i think to start the .exe with /s (Silent Mode). Is it possible to give a Non-Admin User for the installation Time Admin Rights and then give him back his old User Rights? Sorry for all the Questions im totaly new in NSIS ![]() many thanks best regards |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Search the wiki for the word font and you'll find a complete solution for installing fonts.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|