[Help] True KB954550-v5 addon, cant register XPS printer

Questions about Update Pack making? Ask here.
Post Reply
User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

[Help] True KB954550-v5 addon, cant register XPS printer

Post by ricktendo64 » Sun Nov 02, 2008 12:59 am

Hey I am trying to make a true addon of KB954550-v5 XPSEPSC (comes in .net framework 3.0)

I got the files copied and all the reg entries, only problem is I cant get the XPS printer to register. I suspect this is what does it

Code: Select all

"%55%\printfilterpipelinesvc.exe /RegServer %01%"
I have tried all diferent kind of paths to replace the %01% (\update folder) and it just wont work correctly

Any tips are welcome

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Sun Nov 02, 2008 1:16 am

[ProcessesToRun]
%systemroot%\system32\spupdsvc.exe /install
"%01%\..\printfilterpipelinesvc.exe /RegServer %01%"
"%systemroot%\system32\regsvr32 /s %11%\prntvpt.dll"
"%systemroot%\system32\regsvr32 /s %55%\FilterPipelinePrintProc.dll"
"del /q %01%\..\i386\*"
"del /q %01%\..\amd64\*"
"rmdir /q %01%\..\i386"
"rmdir /q %01%\..\amd64"

[ProcessesToRunAfterReboot.RebootNotRequired]
"%55%\printfilterpipelinesvc.exe /RegServer %01%"
%01% should be the same folder as the update.inf.

however , would you try
"%systemroot%\system32\regsvr32 /s %11%\prntvpt.dll"
"%systemroot%\system32\regsvr32 /s %55%\FilterPipelinePrintProc.dll"
"%55%\printfilterpipelinesvc.exe /RegServer %01%"

"del /q %01%\..\i386\*"
"del /q %01%\..\amd64\*"
"rmdir /q %01%\..\i386"
"rmdir /q %01%\..\amd64"
i suppose these commands are here to clear the destination dir? oops.
CopyAlways.1....i386.Files=1,"..\i386"
CopyAlways.1....amd64.Files=1,"..\amd64"


i'm newbie in .net fx, so i don't know any more in detail.
but just one point: if you simply replace these files in .net fx 3.0, will or will not .net fx 3.0 installer register the service?
Image
My work list(Hosted by dumpydooby)

User avatar
MrNxDmX
Moderator
Posts: 3112
Joined: Mon Jan 03, 2005 7:33 am

Post by MrNxDmX » Sun Nov 02, 2008 1:59 am

Hmm, maybe links helps, i've done an hour of search but no luck :(

Redistributing Windows Vista Print Drivers

XPSDrv Installation: MSDN

and XPSDrv Installation on MSDN Search

Maybe you'd like to use the newest installer: Microsoft XML Paper Specification Essentials Pack

User avatar
MrNxDmX
Moderator
Posts: 3112
Joined: Mon Jan 03, 2005 7:33 am

Post by MrNxDmX » Sun Nov 02, 2008 2:02 am

yumeyao wrote:however , would you try
"%systemroot%\system32\regsvr32 /s %11%\prntvpt.dll"
"%systemroot%\system32\regsvr32 /s %55%\FilterPipelinePrintProc.dll"
"%55%\printfilterpipelinesvc.exe /RegServer %01%"
It wont work that way imo. I see this in update.inf file:
;
; printfilterpipelinesvc.exe /RegServer must run first because it copies the print proc to the final directory
; Later it's ok to perform the regsvr32 on the print proc dll
;

[ProcessesToRun]
"%55%\printfilterpipelinesvc.exe /RegServer %01%"
"%systemroot%\system32\regsvr32 /s %11%\prntvpt.dll"
"%systemroot%\system32\regsvr32 /s %55%\FilterPipelinePrintProc.dll"

Post Reply