Jump to content

ISS Problem


zakum

Recommended Posts

I have been testing a new unattended in Virtual machine and I cannot get Epson printcd to work.

Here is my command line

REG ADD %KEY%\004 /VE /D "PrintCD" /f

REG ADD %KEY%\004 /V 1 /D "%PP%PRINTCD\SETUP.exe /s /sms setup.iss" /f

If 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


Nice if u posted ur whole RunOnceEx.cmd file...

And it's generally

%PP%PRINTCD\SETUP.exe -s -f2"%systemroot%\Printcd.log

try that. Another Runonceex entry in ur batch could overwrite it. Like said, post the whole thing.

Link to comment
Share on other sites

Sory about that heres my RunOnce file

cmdow @ /HID

@Echo Off

FOR %%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\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%\000 /VE /D "Office2003" /f

REG ADD %KEY%\000 /V 1 /D "%PP%Office2003\SETUP.EXE TRANSFORMS=Unattended.MST /qb-" /f

REG ADD %KEY%\001 /VE /D "Nero" /f

REG ADD %KEY%\001 /V 1 /D "%PP%Nero/Setup.exe" /f

REG ADD %KEY%\002 /VE /D "BitTornado" /f

REG ADD %KEY%\002 /V 1 /D "%PP%BitTornado-0.3.15-w32install.exe /S" /f

REG ADD %KEY%\003 /VE /D "DVDDecrypter" /f

REG ADD %KEY%\003 /V 1 /D "%PP%DVDDecrypter/Setup.exe /S" /f

REG ADD %KEY%\004 /VE /D "PrintCD" /f

REG ADD %KEY%\004 /V 1 /D "%PP%PRINTCD\SETUP.exe /s /sms setup.iss" /f

EXIT

I used RunOnceEX.cmd Creator for this, everything else works apart from PrintCD.

Link to comment
Share on other sites

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 by T D
Link to comment
Share on other sites

I have been testing a new unattended in Virtual machine and I cannot get Epson printcd to work.

Here is my command line

REG ADD %KEY%\004 /VE /D "PrintCD" /f

REG ADD %KEY%\004 /V 1 /D "%PP%PRINTCD\SETUP.exe /s /sms setup.iss" /f

If 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" /f
REG 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 :wacko:).

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...