mackaque Posted October 31, 2005 Share Posted October 31, 2005 Hi,I was unsing the OEMPREINSTALL = YES before but since I do want to read RAID drivers on floppy I can't use that command anymoreSo now it doesn't copy the OEM folder into my systemdrive so I can't install the software I putted on my unnantended CDSo, I read there is some way to install apps DIRECTLY from the CD-ROMI looked on the forum and can't find a thread about it Can someone tell me how to do it or redirect me to the a thread that explain thisThank you Link to comment Share on other sites More sharing options...
rendrag Posted November 1, 2005 Share Posted November 1, 2005 yes there is... how are you currently calling your installs when they're on your hard drive? cmd file, runonceex, wpi?the short answer is you have to call them from the CD-ROM. If you're using runonceex, check this out:http://unattended.msfn.org/advanced/methods/runonceex_cd.htm Link to comment Share on other sites More sharing options...
mackaque Posted November 1, 2005 Author Share Posted November 1, 2005 I do use the Batch File methodBut I think it will works since it's in a batch file, I only needed how to know what was the CD-ROM letter. With this code I think it will work in the Batch File methodIf there is something better for batch file let me know I'm going to test that tommorowThx for the post man I appreciate ! Link to comment Share on other sites More sharing options...
X-Savior Posted November 1, 2005 Share Posted November 1, 2005 Hi There,Yes, I would Also like to know. For Batch Files, How do you search out the drive letter for the Optical Drive? I Read something some time ago about it. It searches for a specific file then assigns a drive letter for the location it finds.I would like to speed up my installs by not copying the programs (2.5 Gb's) to the Drive. Link to comment Share on other sites More sharing options...
cwyhk Posted November 1, 2005 Share Posted November 1, 2005 (edited) Hi There,Yes, I would Also like to know. For Batch Files, How do you search out the drive letter for the Optical Drive? I Read something some time ago about it. It searches for a specific file then assigns a drive letter for the location it finds.I would like to speed up my installs by not copying the programs (2.5 Gb's) to the Drive.My method,valid for usb hard drive or CD ROM or internal hard disk partition, is stated below:Winnt.sif[GuiRunOnce] Command0="cmd /c start cmd /c (if exist a:\AutoXP.bat (a:\AutoXP.bat a:))" Command1="cmd /c start cmd /c (if exist b:\AutoXP.bat (b:\AutoXP.bat b:))" Command2="cmd /c start cmd /c (if exist c:\AutoXP.bat (c:\AutoXP.bat c:))" Command3="cmd /c start cmd /c (if exist d:\AutoXP.bat (d:\AutoXP.bat d:))" Command4="cmd /c start cmd /c (if exist e:\AutoXP.bat (e:\AutoXP.bat e:))" Command5="cmd /c start cmd /c (if exist f:\AutoXP.bat (f:\AutoXP.bat f:))" Command6="cmd /c start cmd /c (if exist g:\AutoXP.bat (g:\AutoXP.bat g:))"AutoXP.bat%1cd %1\proxpfor %%U in (i-A*.bat) do call %%Ufor %%U in (i-B13*.bat) do call %%Ufor %%U in (i-B14*.bat) do call %%Ufor %%U in (i-B15*.bat) do call %%Ufor %%U in (i-B16*.bat) do call %%Ufor %%U in (i-C*.bat) do call %%Ufor %%U in (i-D*.bat) do call %%U Edited November 1, 2005 by cwyhk Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 2, 2005 Share Posted November 2, 2005 Please excuse my abrupt question to this forum.I am trying to create an Unattended Win2000 install. I've read through the "Advanced Guides: Unattended Windows 2000/XP Installations". I want to include a specific home grown application in this install. It doesn't required a regristry edit (i don't think).I would like to put this on the win2000 cd install. Here's what's needed.The files reside in sub foldes of the main folder called "APP". The "APP" folder needs to be copied to the "root" of C:\ or the main drive which Win2000 was installed. Then there are a few other things that need to be done.1) a file in a subfolder of APP needs to be copied (file.ini) to the C:\winnt folder2) the c:\winnt\system32\etc\services files needs to be copied over with one that resides in the "APP" folder.3) a c:\tmp directory needs to be createdI've read through quite a few:http://www.wilsonmar.com/1w2kins.htm#ManualInshttp://www.microsoft.com/technet/archive/w...s/scriptit.mspxhttp://unattended.msfn.org/advanced/methods/runonceex_cd.htmhttp://www.tacktech.com/display.cfm?ttid=202web pages that are honestly very good, however I'm a bit stuck on how to place this "APP" folder onto the Unattended CD.I realize this is probably something so very simple and I'm just not able to see it for all the cob webs.Thanks Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 2, 2005 Share Posted November 2, 2005 Ok I created the following "Running RunOnceEx from CD"Start syntax for 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:\CD.txt SET CDROM=%%i:#rem this will look for the cdrom and allow the variable %cdrom% to work (I think)copy %CDROM%\Software\APP c:\APPcopy %CDROM%\Software\source\oem*.* c:\winnt\system32\oem*.*copy c:\APP\Informix\Informix.ini c:\winnt\Informix.inicopy c:\APP\services c:\winnt\system32\etc\servicesEXIT-------------------------I saved the file and put it in the x:\bootcd\working\ folder.Now I want to make a bootable cd. Here's where it get's real vauge for me. In the winnt.sif file I need to include "RunOnceEx.cmd" in the [GuiRunOnce] section? If so how will it know to run this from the cdrom or does it do that automagically? Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 2, 2005 Share Posted November 2, 2005 There is constant mention of the $OEM$ folder in the x:\xpcd folder. Since I working with win2000 (I don't have any control over this) and have used "setupmgr.exe" I didn't see a $OEM$ folder. Where would I put the following files:1) cmdlines.txt2) RunOnceEx.cmd3) cleanup.cmd??? 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