or simply:Const FONTS = &H14&
'/-> Path And Name To Font
Dim Font :Font = "PATH_FONT_NAME_HERE"
'/-> Objects
Dim Folder, Fso, Shell
Set Fso = CreateObject("Scripting.FileSystemObject")
Set Shell = CreateObject("Shell.Application")
Set Folder = Shell.Namespace(FONTS)
'/-> Check For File Exists
If Fso.FileExists(Font) Then
Folder.CopyHere Font
Else
MsgBox "Missing " & Font,4128,"Missing Font"
End If
The problem is that I don't know how to use that in NSIS. I've read http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx but I don't have a clue on how to convert that to NSIS.Const FONTS = &H14&
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(FONTS)
objFolder.CopyHere "PATH_TO_FONT"
I've tried System::Call and other stuff, but I guess I'm stupid and can't get it right.
Any help? Thanks 🙂