zedox Posted October 4, 2005 Posted October 4, 2005 (edited) My Winnt.SIF;SetupMgrTag[Data]AutoPartition=1MsDosInitiated="0"UnattendedInstall="Yes"[Unattended]UnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesTargetPath=\WINDOWSRepartition=YesWaitForReboot="No"OemPnPDriversPath="Drivers\001_network"DriverSigningPolicy=IgnoreKeyboardLayout="United Kingdom"[GuiUnattended]AdminPassword=*******AutoLogon=YesAutoLogonCount=1OEMSkipRegional=1TimeZone=85OemSkipWelcome=1[UserData]ProductID="*****-*****-*****-*****-*****"FullName=""OrgName=""ComputerName=*[Display]BitsPerPel=24Xresolution=1024YResolution=768Vrefresh=75[RegionalSettings]LanguageGroup=1SystemLocale=00000809UserLocale=00000809InputLocale=0809:00000809[Identification]JoinDomain=REDHILLDomainAdmin=administratorDomainAdminPassword=********[Networking]InstallDefaultComponents=Yes[Branding]BrandIEUsingUnattended=Yes[URL]Home_Page=http://www.google.co.uk/Search_Page=http://www.google.co.uk/[Proxy]Proxy_Enable=0Use_Same_Proxy=1[GuiRunOnce]RunOnceEx.cmdMy CMDLINES.TXT[Commands]"REGEDIT /S .\discover.reg" "cmd /c start /min cmd /c .\discover.bat""RunOnceEx.cmd"My RunOnceEx.cmdcmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Final Installation Tasks" /fREG ADD %KEY%\000 /VE /D "Mapping Network Drives" /fregedit /s ie.regnet time \\192.168.58.1 /set /ynet use H: "\\192.168.58.1\data"net use P: "\\192.168.58.1\profile7-000"net use S: "\\192.168.58.1\system files"net use T: "\\192.168.58.1\vphomeREG ADD %KEY%\001 /VE /D "Copying Shortcuts" /fcopy "H:\utility\support\Employee Intranet.url" "C:\Documents and Settings\All Users\Desktop"REG ADD %KEY%\002 /VE /D "Adobe Acrobat Reader 7.0" /fREG ADD %KEY%\002 /V 1 /D ""H:\UTILITY\Software\Acrobat\Adobe Acrobat Reader\Ver 7\AdbeRdr70_enu_full.exe" -p\"-s /v\"/qn\"\"" /fREG ADD %KEY%\003 /VE /D "WinZip 9.0" /fREG ADD %KEY%\003 /V 1 /D "%PP%"Program Files"\WinZip\winzip32.exe /noqp /autoinstall" /fREG ADD %KEY%\004 /VE /D "Microsoft .NET Framework 1.1" /fREG ADD %KEY%\004 /V 1 /D "%PP%Microsoft\dotnetfw.exe /q /c:"install /q"" /fREG ADD %KEY%\005 /VE /D "Macromedia ShockWave Player 8.0" /fREG ADD %KEY%\005 /V 1 /D "%PP%Macromedia\Shockwave_Installer_Full.exe /S" /fREG ADD %KEY%\006 /VE /D "Norton Anitvirus Corporate Edition" /fREG ADD %KEY%\006 /V 1 /D ""T:\clt-inst\WIN32\NAVCE.EXE" /QN" /fREG ADD %KEY%\007 /VE /D "Completing Final Installation Tasks" /fREG ADD %KEY%\007 /V 1 /D "%PP%cleanup.cmd" /fnet use T: /DELETEEXITMy Folder Structure is as follows.My Installation Is Windows 2000, with Service Pack 4, IE6, DirectX9 Slipstreamed.And over 20 hotfixes intergrated.Any Problems you can spot? Please let me know. Edited October 4, 2005 by antonio_king
neptune3nl Posted October 5, 2005 Posted October 5, 2005 What does not work?None of the settings or only a vew?Do you get the popup window after all or not even that?It is also possible to test it by forcing an immediate execution. Search the forum for the command. I use it to test so I don't have to reboot first.
zedox Posted October 5, 2005 Author Posted October 5, 2005 I'm using it on my windows 2000 installation.Upon connecting it prompts for a password to connect to the network... Dont want it to ask.And even entering the correct password it always returns back that it was incorrect.After skipping that, it says "cannot find the file "RunOnceEx.cmd" (or one of its components). Make sure the path or filename is correct and that all the libaries are availabe":s
neptune3nl Posted October 5, 2005 Posted October 5, 2005 Try it without the network mappings first. Deselt them by putting a ; in front of the lines. ex.:;net time \\192.168.58.1 /set /y;net use H: "\\192.168.58.1\data";net use P: "\\192.168.58.1\profile7-000";net use S: "\\192.168.58.1\system files";net use T: "\\192.168.58.1\vphomeOr beter, try it with only 1 application and then build it up.I've only used RunOnceEx with XP so far
neptune3nl Posted October 5, 2005 Posted October 5, 2005 Now I see it.I haven't done this with connecting to the network first. I used it only from a local installation (from a boot CD-Rom).It looks like a right access problem.Again, what happens when you run the script by hand?
zedox Posted October 5, 2005 Author Posted October 5, 2005 Ok, ill give it ago without the network mappings... but some of the installations are coming from drives that will need to be mapped.I've found out how to add usernames and passwords for the mappings...cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "CBSbutler Final Installation Tasks" /fREG ADD %KEY%\000 /VE /D "Mapping Network Drives" /fnet use H: /deletenet use P: /deletenet use S: /deletenet use T: /deletenet use H: \\192.168.58.1\data /user:REDHILL\administrator password:********net use P: \\Profile1\profile7-000net use S: \\192.168.58.1\system filesnet use T: \\192.168.58.1\vphomeREG ADD %KEY%\001 /VE /D "Copying Shortcuts" /fCOPY "\"H:\utility\support\Employee Intranet.url\" \"C:\Documents and Settings\All Users\Desktop\""REG ADD %KEY%\002 /VE /D "Adobe Acrobat Reader 7.0" /fREG ADD %KEY%\002 /V 1 /D "\"H:\UTILITY\Software\Acrobat\Adobe Acrobat Reader\Ver 7\AdbeRdr70_enu_full.exe\" -p\"-s /v\"/qn\"\"" /fREG ADD %KEY%\003 /VE /D "WinZip 9.0" /fREG ADD %KEY%\003 /V 1 /D "%SystemDrive%\"Program Files\"\WinZip\winzip32.exe /noqp /autoinstall" /fREG ADD %KEY%\004 /VE /D "Macromedia ShockWave Player 8.0" /fREG ADD %KEY%\004 /V 1 /D "%PP%Macromedia\Shockwave_Installer_Full.exe /S" /fREG ADD %KEY%\005 /VE /D "Microsoft .NET Framework 1.1" /fREG ADD %KEY%\005 /V 1 /D "%PP%Microsoft\dotnetfw.exe /q /c:\"install /q\"" /fREG ADD %KEY%\006 /VE /D "Microsoft Office 2000" /fREG ADD %KEY%\006 /V 1 /D "\"S:\MS Office 2000\Disk1\SETUP.EXE\""REG ADD %KEY%\006 /V 2 /D "\"S:\MS Office 2000\Disk2\SETUP.EXE\""REG ADD %KEY%\006 /V 3 /D "\"S:\Service Packs\Office Updates\Office 2000 Service Packs\o2ksp3.exe\""REG ADD %KEY%\007 /VE /D "Norton Antivirus Corporate Edition 7.6" /fREG ADD %KEY%\007 /V 1 /D "\"T:\clt-inst\WIN32\NAVCE.EXE\" /QN" /fREG ADD %KEY%\008 /VE /D "Installing Patches and further Security Fixes" /fREG ADD %KEY%\008 /V 1 /D ""REG ADD %KEY%\009 /VE /D "Completing CBSbutler Final Installation Tasks" /fREG ADD %KEY%\009 /V 1 /D "%PP%cleanup.cmd" /fEXITIll try the above script first... If that fails, ill try it without the network mappings, one app at a time. Cheers
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