sk8er_boi Posted November 7, 2005 Posted November 7, 2005 I don't remember te swithces but i created them with switch generator program. And i tried lots of switches. I even tried with no switches but no luck.
Nanaki Posted November 7, 2005 Author Posted November 7, 2005 Well, CDswitch needs at least two switches, as described in the first post: label and drive.However, without the used parameters I can't help you as I can't tell what you're doing wrong.
pcdreams Posted January 6, 2006 Posted January 6, 2006 (edited) Nevermind.. Edited January 7, 2006 by pcdreams
Nanaki Posted February 4, 2006 Author Posted February 4, 2006 Who than uses for automatic installation?Mind rephrasing that?
oioldman Posted February 15, 2006 Posted February 15, 2006 Hiya,I'm using Version 0.8.4.0 as downloaded from page1.I used the CD Switch Generator to create the switches to use within RunOnceEx.cmd, which is belowREG ADD %KEY%\130 /VE /D "Requesting CD2" /fREG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\misc\cdswitch.exe /g:Apps /r:autorun.inf /rw /b /k" /fIt does create a log file, just confirming the switches used and number of them, and that is it.As you can see it runs from the C:\ drive and not CD-ROM.Yes i have checked that the file exists, and yes Apps is label of CD, and autorun.inf is on root of CD.Even running the most basic switch of cdswitch.exe /s /o D: from start | run when finished with CD1, as it continues straight to desktop, doesn't work.Any thoughts on why it isn't working are appreciated, as i can't see what i'm doing wrong.Thank you
Nanaki Posted February 16, 2006 Author Posted February 16, 2006 (edited) You'll have to excuse me, but I remember very little of the switches as I haven't worked on it for a while. REG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\misc\cdswitch.exe /g:Apps /r:autorun.inf /rw /b /k" /fSo, let's see here:%systemdrive%\install\misc\cdswitch.exeis correct, as it's running. *yay* /g:Appsreplace this by "Apps". The "/g:" is to detect a drive holding the disc with label "Apps".*missing*the second parameter should be the drive you want to use. Check the help-file for different methods to do this: by drive letter, by drive number, by the disc inside (which holds a certain label or file)./r:autorun.infWindows always takes the path you're currently "working" in , so it could be you're referring to the wrong path. I could be mistaken, but just to be save, use the *DRIVE*-parameter.So therefor, try this line:REG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\misc\cdswitch.exe Apps D: /r:*DRIVE*\autorun.inf /rw /b /k" /fHope that helps, sorry if I explained it too complicated. XD Edited February 16, 2006 by Nanaki
oioldman Posted February 17, 2006 Posted February 17, 2006 (edited) Think i get you.Will give your suggestion a go and report back.[edit]did your suggestion and worked a treat. Thank you.[/edit] Edited February 21, 2006 by oioldman
rajesh.kumar Posted March 1, 2006 Posted March 1, 2006 (edited) i got this error after the final restart of windows server2003. idont know what it is. it didnt eject the cd. pl help Edited March 1, 2006 by rajesh.kumar
Nanaki Posted March 5, 2006 Author Posted March 5, 2006 Via a quick scan of the code, I can only assume you're using CDswitch 0.9a, correct? The only cause I can think of is that no disc can be found.Now, this could be CDswitch its fault (it's still "alpha" ), but the quick tests I did worked.Therefor, mind posting your RunOnceEx code you used to launch CDswitch? For now, you can always switch back to 0.8.4.
rajesh.kumar Posted March 7, 2006 Posted March 7, 2006 this is the contents of the RunOnceEx.cmd : cmdow @ /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:\2003.CD SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExFOR %%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:\WPI.ico SET CDROM=%%i:REG ADD %KEY%\0020 /VE /D "Switching to Applications CD..." /fREG ADD %KEY%\0020 /V 1 /D "cdswitch \"Appz_CD\" %CDROM% /d /r:\"%CDROM%\WPI.cmd\"" /fEXITThanks for the suggestion. im going to use the 0.8.4 version.
Nanaki Posted March 7, 2006 Author Posted March 7, 2006 I don't see anything wrong, so it's probably some coding error.You can always generate a log-file (/k) to see if CDswitch detects any drive.
rajesh.kumar Posted March 10, 2006 Posted March 10, 2006 i have to install the cd again from the beginning after adding the log switch. i would post the log file on sunday.
Avneet Posted March 20, 2006 Posted March 20, 2006 i use this %CDROM%\Apps\cdswitch.exe WINXP_2 /g:WINXP_1 /r:%CDROM%\Apps\WPI.cmdwhen it during installation in vmware,.. the dialogue asking for the cd comes up but its all blank.. no image.. nothing on it ..just plain blan brown background
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