Jump to content

Need help with command line line installation of Windows components


Trey
 Share

Recommended Posts

I am trying to install the LPR monitoring windows component through the command line. I so figured out that the dll files that get copied over are lpdsvc.dll and lprmon.dll, However after I copy them to the c:\windows\system32 directory half the time the windows component adder still wants to look into the CD? How do I get around this and am I miss any files?

Also where can I find a complete list of DLLs needed by windows categorized by components?

I am also look for a pure command line version of Print Migrator 3.1 that does not pop up a dialog box.

Here is what I have below, However I need to see about creating an if statement that will check to see it is already installed, but I dont have a clue to check for it?

LPR.BAT:

@echo off

cls

copy LPDSVC.DLL c:\windows\system32\

copy LPRMON.DLL c:\windows\system32\

sysocmgr /i:sysoc.inf /u:unattended.txt /q

printmig -r hub-120-bwq.cab

exit

unattended.txt:

[components]

Netoc = on

[NetOptionalComponents]

lpdsvc = 1

Link to comment
Share on other sites

hope that this can help :

http://itinfo.mit.edu/article.php?id=6376

check it out and let me know if it's working, otherwise we see other option , in fact Athena soft help and it's perfect, already used it..

Goodluck

-------------

Free Videos Tutorials (Windows, linux, photoshop..etc)

Free windows XP and Windows Vista tips

Freeware and Linux Toold Download Area

And much more things at Hackinbox.net

Link to comment
Share on other sites

We have the LPR work pretty good and am happy with it, however when we try to automate it is where the problem comes in. On XP the sysocmgr.exe seems to delete the file LPRMON.DLL after we copy it over to the correct folder. We have tried everything we know and cant keep it there!!! The command we are using is sysocmgr /i:sysoc.inf /u:unattended.txt /q. What am I missing and why does this delete the file. If the file remains there it will never need the CD making even the simplest of mind to install the LPR print we are providing.

The other question is in vista, What is the service to turn on for the LPR Monitor??? I can not find it on the web and MS documentations has REALLY start to slack as of late. we are using the command start /w ocsetup <service> I can not figure out what the service is called. LPRMON is not reconized and the dll file is there.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy