jonas_sth Posted November 22, 2004 Share Posted November 22, 2004 Hi all, I only wonder if it’s easy to let $OEM$ stay on CD-disk instead to be copy to c: drive.thanks for help Link to comment Share on other sites More sharing options...
bmn Posted November 22, 2004 Share Posted November 22, 2004 its very useful when u want to replace some stuff.likeresources/themeWeb/Wallpaper/fonts......if u want to install appz directly from cd,then have a look at wpi threadhttp://www.msfn.org/board/index.php?showtopic=28125 Link to comment Share on other sites More sharing options...
Synapse Posted November 22, 2004 Share Posted November 22, 2004 why not just make your own folder on the CD...? Link to comment Share on other sites More sharing options...
MCT Posted November 22, 2004 Share Posted November 22, 2004 yep, thats what i do, cd directory..$OEM$ has my SATA drivers & about 3 commandline utilitiesInstall has my programs,regfiles,compressed drivers for everything else but satai386 has my nlited source Link to comment Share on other sites More sharing options...
jonas_sth Posted November 22, 2004 Author Share Posted November 22, 2004 what do i need to change inside winnt.sif and RunOnceEx.cmd --------------------------------------------------------------------------------------------;SetupMgrTag[Data] AutoPartition = 1 MsDosInitiated = "0" UnattendedInstall = "Yes"[unattended] UnattendMode = FullUnattended OemSkipEula = Yes OemPreinstall = Yes UnattendSwitch = "Yes" TargetPath = \WINDOWS KeyboardLayout = "Swedish" Repartition = Yes OemPnPDriversPath = "Drivers\001_Graphics;Drivers\002_Audio;Drivers\003_Receiver;Drivers\005_Network;Drivers\006_Wireless" DriverSigningPolicy = Ignore[GuiUnattended] AdminPassword = * EncryptedAdminPassword = No AutoLogon = Yes AutoLogonCount = 1 OEMSkipRegional = 1 TimeZone = 110 OemSkipWelcome = 1[userData] ProductKey = xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName = "xxxxx xxxxx" OrgName = "xxxxx xxxxx xx" ComputerName = xx-xxx-xx[Display] BitsPerPel = 32 Xresolution = 800 YResolution = 600 Vrefresh = 60[branding] BrandIEUsingUnattended = No IEBrandingFile = install.ins[TapiLocation] CountryCode = 46 AreaCode = 8[RegionalSettings] InputLocale = 041d:0000041d InputLocale_DefaultUser = 041d:0000041d Language = 041d LanguageGroup = 1 SystemLocale = 0000041d UserLocale = 0000041d UserLocale_DefaultUser = 0000041d[identification] JoinWorkgroup = WORKGROUP[Networking] InstallDefaultComponents = Yes[Components] msnexplr = off[GuiRunOnce] %systemdrive%\install\RunOnceEx.cmd--------------------------------------------------------------------------------------------CLS@echo offTITLE Windows XP SP2 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Installing Nvidia nForce Driver 5.10 WHQL englishECHO Please wait...start /wait %systemdrive%\install\nVidiaForceware\setup.exe -s -kECHO.ECHO Installing Nvidia GeForce 66.93 WHQL englishECHO Please wait...start /wait %systemdrive%\install\nVidiaGeForce\setup.exe /s /a /s /sms /f1%systemdrive%\install\nVidiaGeForce\setup_mod.issECHO.ECHO Installing Nvidia System Utility 1.08.5 englishECHO Please wait...start /wait %systemdrive%\install\nVidiaSyUility\nForce_system_utility_1.08.5.exe /s /a /s /sms /f1%systemdrive%\install\nVidiaSyUility\setup_mod.issECHO.ECHO Installing HighMat Extension to Microsoft Windows XP CD Writing WizardECHO Please wait...start /wait %systemdrive%\install\HighMat\HMTCDWizard.msi /qbECHO.ECHO Installing .NET Framework v1.1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\netfx.msi /qbECHO.ECHO Installing Windows Journal ViewerECHO Please wait...start /wait %systemdrive%\install\JournalViewer\JournalViewer.msi /qbECHO.ECHO Installing Windows Media ConnectECHO Please wait...start /wait %systemdrive%\install\MediaConnect\WinRMSrv.msi /qnECHO.ECHO Installing .NET Framework v1.1 SP1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\NDP1.1sp1-KB867460-X86.exe /qECHO.ECHO Installing Cumulative Security Update (KB834707)ECHO Please wait...start /wait %systemdrive%\install\Hotfix\KB834707.exe /q /o /n /zECHO.ECHO Installing Media Center Edition 2005 with HDTV Support (KB873369)ECHO Please wait...start /wait %systemdrive%\install\Hotfix\KB873369.exe /q /o /n /zECHO.ECHO Installing Award Winflash 1.00ECHO Please wait...start /wait %systemdrive%\install\AwardWinflash\setup.exe /s /a /s /sms /f1%systemdrive%\install\AwardWinflash\setup_mod.issECHO.ECHO Installing Nvidia DVD Decoder 1.00.58 englishECHO Please wait...start /wait %systemdrive%\install\nVidiaDecoder\setup.exe /s /a /s /sms /f1%systemdrive%\install\nVidiaDecoder\setup_mod.issECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\regtweaks.regECHO.ECHO Restarting the PC...shutdown.exe -r -f -t 60 -c "Windows XP will now restart..."ECHO.ECHO Deleting Temp Installation Files and Shortcuts...RD /S /Q %systemdrive%\nvidia\RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\EXIT Link to comment Share on other sites More sharing options...
Astalavista Posted November 22, 2004 Share Posted November 22, 2004 looks ok to me no errors Link to comment Share on other sites More sharing options...
MCT Posted November 22, 2004 Share Posted November 22, 2004 u dont need 2 change anything in winnt.sif i use xplode.. so using %SOURCEDRIVE%\Install\Apps\program.exe works 4 me Link to comment Share on other sites More sharing options...
Tsunami Posted November 22, 2004 Share Posted November 22, 2004 The $OEM$ directory won't be copied to the drive, just the $* folders inside the $OEM$ directory. So if you don't make those directories, it won't copy them either. Link to comment Share on other sites More sharing options...
IGIdeus Posted November 24, 2004 Share Posted November 24, 2004 u dont need 2 change anything in winnt.sif i use xplode.. so using %SOURCEDRIVE%\Install\Apps\program.exe works 4 me Install from CDHow did you do that? Can you give me some advices?Best regardsIGIdeus Link to comment Share on other sites More sharing options...
moo Posted November 24, 2004 Share Posted November 24, 2004 @IGIdeus1.put $OEM$ folder under root of your CD2.create CD.txt file and place it on cd too3.add next line to your RunOnceEx, on the topcmdow @ /HID@echo offFOR %%d IN (c: 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 %%d\CD.txt SET CDROM=%%d4. replace all your variables from %systemdrive% to %CDROM%SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /freg add %key%\001 /ve /d "ClamWin Antivirus" /freg add %key%\001 /v 1 /d "%CDROM%\soft\antivir\clamwin.exe /VERYSILENT /SP-" /f5.more info here Run from CDthat's it. good luckmoo Link to comment Share on other sites More sharing options...
Adiel Posted November 24, 2004 Share Posted November 24, 2004 if u don't want the $OEM$ folder copy itself to HD , just change OEMPresintsall=Yesto OEMPresintsall=Noin the winnt.sif file .. Link to comment Share on other sites More sharing options...
IGIdeus Posted November 24, 2004 Share Posted November 24, 2004 @mooTHX a lotI was a little confused with almost empty %OEM%, installation from "Install" dir and %systemdrive% not pointed to the CD. I'm newbe so I thought that someone found new method for installation from CD.I made some investigations, tests and use this solution:1. Make FIND-CD.COM How To2. Make CMD file@echo offfor /f "tokens=4 delims= " %%g in ('FIND-CD.COM') do set CDROM=%%gecho %CDROM%Maybe some modyfications to FIND-CD.COM and... Line with "for" wouldn't be needed.Best regardsIGIdeus 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