Explorer09 Posted June 2, 2012 Posted June 2, 2012 (edited) In Mimo's list of Windows XP updates, Lilla reported that when slipstreaming 3 printer updates (KB971276, KB971314 and KB961118), the XPS Printer will not be installed during .NET 3.0 setup.Now I've continued Lilla's experiment and found where the actual problem is.Here are the experiments I've done:All of these experiments use HFSlip 1.7.10 beta J v8 (hfslip_beta_Apr29_v8.zip) for slipstreaming.The systems are installed on VirtualBox.Experiment A: Use a Windows XP SP3 without anything slipstreamed. Then install the specific update X, then install .NET 3.5 SP1.When X = KB961118, (KB961118 refused to be installed without installing .NET Framework 3.0 SP2 first. So for this test I hacked the registry before installing the update.)XPS Document Writer showed up after installing .NET 3.5. (expected result)When X = KB971314,XPS Document Writer showed up after installing .NET 3.5. (expected result)When X = KB971276,XPS Document Writer showed up right after installing the hotfix, before installing .NET 3.5.Experiment B: Slipstream only the update X into Windows XP SP3, and on the slipstreamed Windows install .NET 3.5 SP1.When X = KB961118,XPS Document Writer showed up after installing .NET 3.5. (expected result)When X = KB971314,XPS Document Writer showed up after installing .NET 3.5. (expected result)When X = KB971276,XPS Document Writer didn't show up before or after installing .NET 3.5.I reinstalled KB971276 update for this case, and XPS Document Writer showed up finally.Experiment C: Use a Windows with slipstreamed KB971276 only. Then do the following commands: (as specified in the "update_SP3QFE.inf" file of KB971276)"regsvr32 /s %windir%\system32\prntvpt.dll""regsvr32 /s %windir%\system32\spool\prtprocs\w32x86\FilterPipelinePrintProc.dll""%windir%\system32\spool\prtprocs\w32x86\printfilterpipelinesvc.exe /RegServer %windir%\system32\spool\XPSEP\i386"(remark: Dirid %51% expand to the spool directory, i.e. "%windir%\system32\spool"Dirid %55% expand to the print processors directory, in this case, "%windir%\system32\spool\prtprocs\w32x86")I expected that XPS Document Writer shows up, but no. Only the first command succeeded.The file "FilterPipelinePrintProc.dll" and something like that existed in "system32" folder instead of "system32\spool\prtprocs\w32x86".The file "printfilterpipelinesvc.exe" too existed in "system32" folder instead of "system32\spool\prtprocs\w32x86".The folder "system32\spool\XPSEP" does not exist.ConclusionThe results means that HFSLIP did not slipstream the KB971276 correctly. And the incorrectly slipstreamed KB971276 has caused .NET Framework setup to not install the XPS printer.Also KB961118 won't be installed on the system without .NET 3.0 SP2 or later. So don't slipstream KB961118 onto the disc without slipstream .NET.I will tell Mimo to note this on his list. Edited June 2, 2012 by Explorer09
Acheron Posted May 1, 2013 Posted May 1, 2013 (edited) For integrating KB971276 you can try integrating Ricktendo and YumeYao Printer UpdatePack Addon. I have no problem integrating KB961118 directly, but the 1 MB ntprint.cat file gets placed into the SVCPACK directory instead of replacing the one in the I386 directory.To fix this you need to update HFSLIP.cmdFind the following lines in :HF1COMMON_BIF EXIST TEMP\UPDATE\*.CAT XCOPY/DY TEMP\UPDATE\*.CAT WORK\SVCPACK >NULIF EXIST TEMP\*.CAT XCOPY/DY TEMP\*.CAT WORK\SVCPACK >NUL&DEL/Q/F TEMP\*.CATIF EXIST TEMP\UPDATE RD/Q/S TEMP\UPDATEReplace with the following:IF EXIST TEMP\NTPRINT.CAT MOVE /Y TEMP\NTPRINT.CAT WORK\I386EIF EXIST TEMP\UPDATE\*.CAT XCOPY/DY TEMP\UPDATE\*.CAT WORK\SVCPACK >NULIF EXIST TEMP\*.CAT XCOPY/DY TEMP\*.CAT WORK\SVCPACK >NUL&DEL/Q/F TEMP\*.CATIF EXIST TEMP\UPDATE RD/Q/S TEMP\UPDATEThis will also speed up installation as ntprint.cat only gets added to the catroot db once. Edited May 1, 2013 by Acheron
bphlpt Posted May 1, 2013 Posted May 1, 2013 You should be sure to tell Mimo about this and offer to help update the version of HFSLIP he has available for download on his site accordingly.Cheers and Regards
Acheron Posted May 2, 2013 Posted May 2, 2013 You should be sure to tell Mimo about this and offer to help update the version of HFSLIP he has available for download on his site accordingly.Cheers and RegardsI have contacted Mimo about these changes and he is willing to add them after some testing.
Explorer09 Posted May 4, 2013 Author Posted May 4, 2013 For integrating KB971276 you can try integrating Ricktendo and YumeYao Printer UpdatePack Addon. I have no problem integrating KB961118 directly, but the 1 MB ntprint.cat file gets placed into the SVCPACK directory instead of replacing the one in the I386 directory.To fix this you need to update HFSLIP.cmdFind the following lines in :HF1COMMON_BIF EXIST TEMP\UPDATE\*.CAT XCOPY/DY TEMP\UPDATE\*.CAT WORK\SVCPACK >NULIF EXIST TEMP\*.CAT XCOPY/DY TEMP\*.CAT WORK\SVCPACK >NUL&DEL/Q/F TEMP\*.CATIF EXIST TEMP\UPDATE RD/Q/S TEMP\UPDATEReplace with the following:IF EXIST TEMP\NTPRINT.CAT MOVE /Y TEMP\NTPRINT.CAT WORK\I386EIF EXIST TEMP\UPDATE\*.CAT XCOPY/DY TEMP\UPDATE\*.CAT WORK\SVCPACK >NULIF EXIST TEMP\*.CAT XCOPY/DY TEMP\*.CAT WORK\SVCPACK >NUL&DEL/Q/F TEMP\*.CATIF EXIST TEMP\UPDATE RD/Q/S TEMP\UPDATEThis will also speed up installation as ntprint.cat only gets added to the catroot db once.Hi Acheron.In my first post, I was not saying that I have problems integrating KB961118. I was saying that KB961118 shouldn't be integrated without .NET 3.5.Of course you can fix HFSLIP to support integrating ntprint.cat, but I think you shouldn't.HFSLIP does not integrate .NET 3.5, and without .NET, integrating KB961118 will be meaningless and might bring you problems.I would rather suggest installing KB961118 manually.
Acheron Posted May 5, 2013 Posted May 5, 2013 (edited) Hi Acheron.In my first post, I was not saying that I have problems integrating KB961118. I was saying that KB961118 shouldn't be integrated without .NET 3.5.Of course you can fix HFSLIP to support integrating ntprint.cat, but I think you shouldn't.HFSLIP does not integrate .NET 3.5, and without .NET, integrating KB961118 will be meaningless and might bring you problems.I would rather suggest installing KB961118 manually.Of course it is up to the person using HFSLIP to decide which updates to integrate. It is not actually the .NET 3.5 which can cause problems, but the common printer drivers added to support XPS printing.KB961118 adds signature information for the updated unidrv.dll file. I will do some tests if the new ntprint.cat has also the signature information for the original unidrv.dll file which comes with Windows XP SP3. In that case integrating the new ntprint.cat file should not cause any problems. Edited May 5, 2013 by Acheron
Acheron Posted May 10, 2013 Posted May 10, 2013 As promised I tested the replaced ntprint.cat from KB961118 against the original universal printer drivers included with Windows XP SP3 on a fresh install and sigverif shows these files signed properly:Door de gebruiker gespecificeerd zoekpad: *.*Door de gebruiker gespecificeerd zoekpatroon: C:\WINDOWS\system32\spool\drivers\w32x86Bestand Gewijzigd Versie Status Catalogus Getekend door------------------ ------------ ----------- ------------ ----------- -------------------[c:\windows\system32\spool\drivers\w32x86\3]mxdwdrv.dll 26-4-2012 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft Windowsmxdwdui.bud 10-5-2013 Geen Niet-ondertekend n.v.t. mxdwdui.dll 20-11-2010 2:5.1,2:5.2,2:6.0,2:Ondertekend mxdwdui.cat Microsoft Windowsmxdwdui.gpd 19-6-2008 2:5.1 Ondertekend KB971276.CAT Microsoft Windows Component Publishermxdwdui.ini 19-6-2008 2:5.1 Ondertekend KB971276.CAT Microsoft Windows Component Publisherps5ui.dll 14-4-2008 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherpscript.hlp 24-1-2007 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherpscript.ntf 15-5-2007 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft Windowspscript5.dll 14-4-2008 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherstddtype.gdl 15-5-2007 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft Windowsstdnames.gpd 15-5-2007 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft Windowsstdschem.gdl 15-5-2007 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft Windowsstdschmx.gdl 15-5-2007 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft Windowsunidrv.dll 14-4-2008 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherunidrv.hlp 24-1-2007 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherunidrvui.dll 14-4-2008 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherunires.dll 15-5-2007 2:5.1 Ondertekend NT5.CAT Microsoft Windows Component Publisherxpssvcs.dll 3-5-2013 2:5.1,2:5.2,2:6.0,2:Ondertekend KB2701894.CAT Microsoft WindowsSo you can now all move the ntprint.cat file from the svcpack directory to the i386 directory to save 1 MB. To save another 800 KB you can compress the ntprint.cat file (remember to also update txtsetup.sif to remove the _x reference)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now