zakum Posted August 4, 2006 Share Posted August 4, 2006 I have been testing a new unattended in Virtual machine and I cannot get Epson printcd to work.Here is my command lineREG ADD %KEY%\004 /VE /D "PrintCD" /fREG ADD %KEY%\004 /V 1 /D "%PP%PRINTCD\SETUP.exe /s /sms setup.iss" /fIf I test it using a dos window on my pc it installs silently.Is there anything wrong with my command? Link to comment Share on other sites More sharing options...
T D Posted August 7, 2006 Share Posted August 7, 2006 Nice if u posted ur whole RunOnceEx.cmd file...And it's generally %PP%PRINTCD\SETUP.exe -s -f2"%systemroot%\Printcd.logtry that. Another Runonceex entry in ur batch could overwrite it. Like said, post the whole thing. Link to comment Share on other sites More sharing options...
zakum Posted August 7, 2006 Author Share Posted August 7, 2006 Sory about that heres my RunOnce filecmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:SET PP=%cdrom%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Office2003" /fREG ADD %KEY%\000 /V 1 /D "%PP%Office2003\SETUP.EXE TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\001 /VE /D "Nero" /fREG ADD %KEY%\001 /V 1 /D "%PP%Nero/Setup.exe" /fREG ADD %KEY%\002 /VE /D "BitTornado" /fREG ADD %KEY%\002 /V 1 /D "%PP%BitTornado-0.3.15-w32install.exe /S" /fREG ADD %KEY%\003 /VE /D "DVDDecrypter" /fREG ADD %KEY%\003 /V 1 /D "%PP%DVDDecrypter/Setup.exe /S" /fREG ADD %KEY%\004 /VE /D "PrintCD" /fREG ADD %KEY%\004 /V 1 /D "%PP%PRINTCD\SETUP.exe /s /sms setup.iss" /fEXITI used RunOnceEX.cmd Creator for this, everything else works apart from PrintCD. Link to comment Share on other sites More sharing options...
T D Posted August 8, 2006 Share Posted August 8, 2006 (edited) Well, if the PrintCD is epson printcd, I can't look at it as it comes w/ur printer.Try running it at cmdlines.txt or svcpack.inf.Edit: not the whole batch, just PrintCD setup Edited August 8, 2006 by T D Link to comment Share on other sites More sharing options...
zakum Posted August 8, 2006 Author Share Posted August 8, 2006 Cheers, thanks for that.Will have another go Link to comment Share on other sites More sharing options...
NateSmith Posted August 8, 2006 Share Posted August 8, 2006 I have been testing a new unattended in Virtual machine and I cannot get Epson printcd to work.Here is my command lineREG ADD %KEY%\004 /VE /D "PrintCD" /fREG ADD %KEY%\004 /V 1 /D "%PP%PRINTCD\SETUP.exe /s /sms setup.iss" /fIf I test it using a dos window on my pc it installs silently.Is there anything wrong with my command?Actually to run it as a RunOnceEx you will need to change it to this:REG ADD %KEY%\004 /VE /D "PrintCD" /fREG ADD %KEY%\004 /V 1 /D "SETUP.exe -s -f2\"%systemroot%\Printcd.log\""reason being is when it is merged into the registry it stops importing at that first quote I believe (not really sure if that is what happens though, just a guess ). Link to comment Share on other sites More sharing options...
zakum Posted August 8, 2006 Author Share Posted August 8, 2006 Thank you. I had noticed it seemed to work (hourglass) and then it suddenly stopped.So that could well be the problem Link to comment Share on other sites More sharing options...
zakum Posted August 9, 2006 Author Share Posted August 9, 2006 Works, thank you all for your help Link to comment Share on other sites More sharing options...
NateSmith Posted August 9, 2006 Share Posted August 9, 2006 no worries dude always glad to help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now