suttle Posted December 2, 2005 Share Posted December 2, 2005 I'm trying to install a few programs directly from the CD without doing the $OEM$\$1\ trickAnd this is what my RunOnceEx.cmd looks likecmdow @ /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 KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Windows Messenger 5.1" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\messenger\messenger5.1.msi /qn" /fREG ADD %KEY%\015 /VE /D ".NET Framework 2.0" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\netfx\dotnet2.exe" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%CDROM%\Software\cleanup.cmd" /fEXITNow, if I use this I'll just end up with 3 explorer windows listing the contents of my CDROM install disk.I've more or less copied this directly from "Running RunOnceEx from CD" so I don't understand why it's not working. Hopefully it's something obvious that you guys can point out straight away.My CD looks like$OEM$ DIRI386 DIRSoftware DIRboot.bin File WIN51 FileWIN51IP FileWIN51IP.SP2 File I can get it to work if I put my Software folder under $OEM$\$1 and change %CDROM$ to %systemdrive%, but I want to do it from the CD.And as a sidequestionIn my Winnt.sif I have[Display]BitsPerPel=32Xresolution=1024YResolution=768Vrefresh=85However I still end up with 800x600 and I have to change it myself to 1024x768Ideas? Link to comment Share on other sites More sharing options...
jbm Posted December 2, 2005 Share Posted December 2, 2005 It appears you have a space at the end of the following line.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: And I wasn't able to set my display resolution with winnt.sif until Iinstalled a WHQL driver. I couldn't even get it to work with the Microsoftdriver on the CD. But it's been awhile so it may have been something Iwas doing wrong at the time. Link to comment Share on other sites More sharing options...
suttle Posted December 3, 2005 Author Share Posted December 3, 2005 I told you it was something obvious Thanks for that. It would have taken me at least a couple of days to figure that out. I even had aecho %CDROM% >> D:\cdrom.txt just to see that it was correct, but ofcourse I didn't notice the blankspace. I guess I have to figure out the display thingie now. Integrating catalyst 5.11 with nLite doesn't seem to do anything. It may be working and the problem is that I can't validate it via VMWare. Link to comment Share on other sites More sharing options...
jbm Posted December 3, 2005 Share Posted December 3, 2005 (edited) The only way I noticed the space is I made a reg file of your postand merged it in my registry. When I looked in the resistry it wasplain as day.The hardware on Vmware and Virtual CP is emulated so it doesn't usethe drivers for your actual hardware. Edited December 3, 2005 by jbm 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