jslegers Posted August 18, 2004 Share Posted August 18, 2004 Hi all,I'm having a strange problem with making an unattended install of Windows XP Pro with SP2. I got SP2 from the microsoft servers and used Autostreamer to slipstream it. I have just the following winnt.sif;SetupMgrTag[Components] AutoUpdate = Off ;Auto Update Deskpaper = Off ;Desk Paper Dialer = Off ;Phone Dialer Iis_common = Off ;Common Files Iis_ftp = Off ;FTP Service Iis_inetmgr = Off ;Internet Information Services Snap-In Iis_smtp = Off ;SMTP Service Iis_nntp = Off ;NNTP Service Iis_webadmin = Off ;IIS Web UI for Web server administration Iis_www = Off ;IIS World Wide Web Service Iis_www_vdir_scripts = Off ;IIS Optional Scripts Directory Fp_extensions = Off ;FrontPage® 2000 Server Extensions Media_clips = Off ;Media Clips Msnexplr = Off ;MSN Explorer Mswordpad = Off ;MS Wordpad OEAccess = Off ;Outlook Express Paint = Off ;MS Paint WMAccess = Off ;Windows Messenger[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates="No"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes Repartition=No Hibernation=No OemPnPDriversPath="Drivers\001_Network;Drivers\006_storage;" DriverSigningPolicy=Ignore OemSigningPolicy=Ignore OemFilesPath="..\$OEM$" OverwriteOemFilesOnUpgrade=No UnattendSwitch="Yes" WaitForReboot="No" TargetPath=\Windows[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=3 OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[userData] ProductKey= FullName="JSL" OrgName="JSL" ComputerName=*[Display] BitsPerPel=16 Xresolution=800 YResolution=600 Vrefresh=75 [identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes[PCHealth] RA_AllowFullControl = 0 RA_AllowToGetHelp = 0 RA_AllowUnsolicited = 0 ER_Enable_Reporting = 0[shell] DefaultThemesOff = No DefaultStartPanelOff = No[WindowsFirewall] Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall] Mode = 0I'm using the cmdlines.txt which is located in the $OEM$ dir[COMMANDS]"RunOnceEx.cmd"RunOnceEx.cmd looks like this which is also located in the $OEM$ dircmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\010 /VE /D "WMP 9 Codecs" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\wmp9_mm2\wm9codecs.exe /q" /fREG ADD %KEY%\015 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\netframe\netfx.msi /qn" /fREG ADD %KEY%\020 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\msn\MsnMsgs.msi /qn" /fREG ADD %KEY%\025 /VE /D "TweakUI 2.10 Powertoy" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\powertoy\TweakUI.msi /qn" /fREG ADD %KEY%\030 /VE /D "Task Switcher" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\powertoy\tasksw.exe /s /v/qn" /fREG ADD %KEY%\035 /VE /D "Acrobat Reader 6.01" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\adobe\AR.msi /qn" /fREG ADD %KEY%\055 /VE /D "Flash Player 7" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\flash\flash7.msi /qn" /fREG ADD %KEY%\995 /VE /D "Cleaning Up" /fREG ADD %KEY%\995 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITDirectory Structure looks like this$OEM$ $$ $1 Drivers InstallI have made an unattended XP cd before with Sp1a slipstreamed and it worked fine.Could this be a bug in Windows XP SP2 that the $OEM$ directory and subdirectory won't copy? RunOnceEx.cmd works fine because after reboot it tries to install the programs but it can't find them. Has someone else had this problem ? Link to comment Share on other sites More sharing options...
edbro Posted August 18, 2004 Share Posted August 18, 2004 I'm not 100% sure but I think you might have to have "OemPreinstall = Yes" under the Unattended section of your winnt.sif. Link to comment Share on other sites More sharing options...
MCT Posted August 18, 2004 Share Posted August 18, 2004 OemPreinstall=Yes Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted August 18, 2004 Share Posted August 18, 2004 also, as an advice i recommend you to post using quotes, for me it's too difficult find mistakes on every sintaxis on that lot of text OemPreinstall=Yes Link to comment Share on other sites More sharing options...
jslegers Posted August 19, 2004 Author Share Posted August 19, 2004 Thanks guys it worked. Now I have to find out how to get Luna Silver Theme standard. Link to comment Share on other sites More sharing options...
disgraceful33 Posted August 19, 2004 Share Posted August 19, 2004 looking at this......is OEMFilesPath necessary? shouldn't $OEM$ be the default? Link to comment Share on other sites More sharing options...
idle.newbie Posted August 19, 2004 Share Posted August 19, 2004 Search OemFilesPath inside opk.chm, there's a page to make unattended mui, you can find a directory structure for OemFilesPath. But I cant get it work on unattended cd, maybe it only works on RIS. 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