Would anyone know if a way to include print services for unix as part of a scripted install? at the moment i cant seem to find any info for putting it into the scripted install and its become a part of post-installation for our helpdesk. obviously not the biggest deal in the world but i would love to automate as much as possible.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

1
hey trentderby,

Try this as a post-install bat script:
ocsetup.exe Printing-Foundation-LPDPrintService /quiet /norestart

Hope this helps.
Answered 01/17/2011 by: dchristian
Red Belt

Please log in to comment
1
thank you for your help, would this work on XP? i forgot to mention that the target OS is XP! sorry!
Answered 01/17/2011 by: trentderby
Blue Belt

Please log in to comment
1
Trentderby,

This a little more complicated but not too hard for XP.

First thing you need to do is find your windows XP source CD number.

If you click under library -> source media and than your XP CD, you'll see it in the URL.

After you find it you need to modify this script to point to your CD number and your KBOX.

Mine was ten. Example if your is 7 the last part of the first line should be "\source_cds\7 /f".
Replace all parts in brackets (remove the brackets :) )
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v ServicePackSourcePath /t REG_SZ /d \\{your kbox here}\peinst\source_cds\{source cd number here} /f
xcopy unix.inf c:\ /y
sysocmgr /i:C:\WINDOWS\inf\sysoc.inf /u:C:\unix.inf /r


After you have that save it as printer.bat

Next create this inf file call it unix.inf
[Components]
Netoc = on

[netOptionalComponents]
lpdsvc = 1


Zip up the 2 files and create them as a post install application.

The command line should be printer.bat

Good luck, hope this helps.
Answered 01/17/2011 by: dchristian
Red Belt

Please log in to comment
1
If memory serves, a long time ago in a land far far away... I copied files from a system that already had it enabled and that solved it.

COPY \\Server\LPRService\lpdsvc.dll C:\WINDOWS\system32 /y
COPY \\Server\LPRService\lprmon.dll C:\WINDOWS\system32 /y

I also wrote an MSI that left something behind for K1000 to detect into inventory since I was doing it as a managed install, but that wouldn't be required. Custom inventory item or script would handle it fine.
Answered 01/19/2011 by: cblake
Red Belt

Please log in to comment
1
thanks im going to give it a go this afternoon.
Answered 01/19/2011 by: trentderby
Blue Belt

Please log in to comment
1
works a treat!!! thanks very much for all your help!!!
Answered 01/19/2011 by: trentderby
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity