Content Type
Profiles
Forums
Events
Everything posted by Outbreaker
-
[VBS] Automatically Install Fonts
Outbreaker replied to Mike88's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I would use this on WinNT5.0 and up and PowerShell is only directly included in Win6.1. If supresssing this MSG Box is not possible with a VBScript would it then be possible to skip the CopyHere with a silent switch (/s) when a Font file is already installed? -
[VBS] Automatically Install Fonts
Outbreaker replied to Mike88's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
HI, Is it possible to modify this script to support a silent install command (/s) to suppress the MSG Box when a Font is already installed? Const FONTS = &H14&Dim Dic :Set Dic = CreateObject("Scripting.Dictionary")Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")Dim Shl :Set Shl = CreateObject("Shell.Application")Dim Fns :Set Fns = Shl.Namespace(FONTS)Dim i,v :v = Array("fon","otf","pfm", "ttf") For Each i In v Dic.CompareMode = 1 'Make lookups case-insensitive. Dic.Add i, True Next For Each i In Fso.getfolder(".").Files If Dic.Exists(Fso.GetExtensionName(i)) Then Fns.CopyHere i.Path End If Next -
I reversed back to KB975713 because KB2926765 only fixes a Elevation Privilege Vulnerability where you have to be log on locally to exploit this vulnerability. Let's see if MickySoft fixes this until April 2019.
-
After looking into this a little more i think this will not work because the "Add/Remove Windows Components" is using "ocgen.dll" to execute the .inf files. Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\MU]"INF"="WINXPUP.inf""Section"="MicrosoftUpdate""Installed"="1"
-
The thing is that the "DataStore.edb" file is used by the "wuauserv" service so it needs to be stoped before i can overwrite the "DataStore.edb" file. But no matter what i try the .inf file is always executing the CopyFiles ("DataStore.edb") before the UnregisterDlls (SC stop "wuauserv"). So i try to find a workaround for the .inf file to first execute a command before a copy process.
-
Interesting this one works great thanks. For anyone who asks themselves why i need this command here is the complete command i use. CMD /S /Q /V:ON /C "SET "EmptyFolder=%ProgramFiles%\Software\temp" & PUSHD "!EmptyFolder!" && (RMDIR "!EmptyFolder!" /S /Q 2>NUL & POPD)"This will delete everything in a folder but will not delete the Root folder (temp). I'm only not sure if i should use the /S at the beginning or not it works with both.
-
Here is the best i could come up with (Trimmed down). The "wuauclt.exe" process needs to be terminated so that the "DataStor.edb" file can be overwritten. But this does not works because the CopyFiles is executed before the UnregisterDlls so i'm trying to find a way around this problem. [Version] signature="$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} SetupClass=Base LayoutFile=layout.inf DriverVer=07/01/2001,5.1.2600.5512[Optional Components] MicrosoftUpdate[MicrosoftUpdate] UnregisterDlls = Stop.MicrosoftUpdate CopyFiles = DataStore.Files[Stop.MicrosoftUpdate] 11,,taskkill.exe,,,"/IM ""wuauclt.exe"" /F"[DestinationDirs] DataStore.Files = 10, "SoftwareDistribution\DataStore" DataStore.Files] DataStore.edb, DataStor.edb, ,4
-
I posted this a long time ago it's a bug in the KB2926765 update (shlwapi.dll) MickySoft never fixed it and in 2 month we can celebrate the 1st anniversary of this bug.
-
You trick worked for me to. Looks like MickySoft did again a great job.
-
I have exactly the same problem everything worked fine last week looks like MickySoft has again messed this up.
-
@harkaz Tested it and the fronts problem is gone and i also didn't run into any other problems. Is there any reason why you used the win32k.sys file verison 5.1.2600.6733 and not 5.1.2600.6713 (only one number higher than the KB3013455)? I think there could be an installation problem if Microsoft releases next month a win32k.sys with a file version below 5.1.2600.6734.
-
Please share.
-
I could run a test if you upload your modified "win32k.sys" file. Did you compare the Windows Server 2003 x86 Update KB3037639 (win32k.sys 5.2.3790.5534) with the previous Update KB3013455 (win32k.sys 5.2.3790.5513)?
-
It's really said that no one that has access to Windows XP Custom Support are posting the updates on the internet so that everyone could use them.
-
Check the version of the "win32k.sys" file in the folder "C:\WINDOWS\system32". And in my option they didn't do a NT5.1 patch is to p*** off the people that are still using Windows XP. It's not the first update mess they didn't fix for NT5.1. :angrym:
-
A fixed update for the KB3013455 is out but not for the Windows Embedded (NT 5.1) editions. https://support2.microsoft.com/kb/3037639/
-
Does anyone still remember the KB2926765 bug that breaks the option on Windows XP to change the "Internet" and "E-mail" item on the Start menu? I'm still wating for a Microsoft fix since May 2014.