minusbfold Posted March 28, 2006 Share Posted March 28, 2006 (edited) Ok hope you guys don’t read this and make fun of me but. This is what I want to do... I want to make a boot CD that will install.Windows XP Molp License with updates and patchesAll our windows XP custom SettingsThen install custom applicationsThen install Microsoft office 2003 I know there are guides and such on here I understand the nlite version and I can do that but once I get to the runoneex.cmd I just don’t get it ive never been going with any kind of scripting at all.. Is there any real simple way to do all of that...?Please let me know.. Edited March 28, 2006 by minusbfold Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 (edited) Here's an example of my runonceex.cmd file that may help you get started or may generate some questions. Feel free to ask. Anyone else reading this...if you have any suggestions on how to make this better please feel free to chime in.cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Mapping Applications Share" /fREG ADD %KEY%\005 /V 1 /D "net use z: \\<server>\<share> <password> /user:<domain>\<user> /persistent:no" /fREG ADD %KEY%\010 /VE /D "Mapping DTSVol Share" /fREG ADD %KEY%\010 /V 1 /D "net use v: \\<server>\<share>\DTSVol <password> /user:<domain>\<user> /persistent:no" /fREG ADD %KEY%\012 /VE /D "Mapping DTS Share" /fREG ADD %KEY%\012 /V 1 /D "net use w: \\<server>\<share>\DTS <password> /user:<domain>\<user> /persistent:no" /fREG ADD %KEY%\020 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\020 /V 1 /D "v:\Software\Microsoft\WindowsMediaPlayer\Version10\MP10Setup.exe /Q:A /R:N /C:"setup_wm.exe /Q:A /R:N\"" /fREG ADD %KEY%\025 /VE /D "Adobe Acrobat Reader 7.0.5" /fREG ADD %KEY%\025 /V 1 /D "v:\Software\Adobe\AdobeReader7.0.5\Setup4MagicCD.cmd" /fREG ADD %KEY%\030 /VE /D "Office 2003 Standard with SP1" /fREG ADD %KEY%\030 /V 1 /D "z:\Microsoft\Office2003StandardSP1\Setup4MagicCD.cmd" /fREG ADD %KEY%\035 /VE /D "Outlook 2003 SP1" /fREG ADD %KEY%\035 /V 1 /D "z:\Microsoft\Outlook2003SP1\Setup4MagicCD.cmd" /fREG ADD %KEY%\040 /VE /D "Access XP Runtime Libraries" /fREG ADD %KEY%\040 /V 1 /D "\"z:\\Access XP Runtime\\AccessRT.msi\" /qb" /fREG ADD %KEY%\045 /VE /D "InstallShield Installation Engine" /fREG ADD %KEY%\045 /V 1 /D "z:\InstallScript\isscript.msi /qb" /fREG ADD %KEY%\046 /VE /D "Macromedia Flash Player" /fREG ADD %KEY%\046 /V 1 /D "w:\Public\Software\Macromedia\Flash\install_flash_player_active_x.msi /qb" /fREG ADD %KEY%\047 /VE /D "Macromedia Shockwave Player" /fREG ADD %KEY%\047 /V 1 /D "w:\Public\Software\Macromedia\ShockwavePlayer\sw_lic_full_installer.msi /qb" /fREG ADD %KEY%\048 /VE /D "Macromedia Authorware plug-in" /fREG ADD %KEY%\048 /V 1 /D "w:\Public\Software\Macromedia\Authorware7\authorware_web_player\authorware_web_player_installers\Authorware_Web_Player_Plugin.exe /Silent" /fREG ADD %KEY%\049 /VE /D "Macromedia Authorware plug-in" /fREG ADD %KEY%\049 /V 1 /D "w:\Public\Software\Macromedia\Authorware7\authorware_web_player\authorware_web_player_installers\Authorware_ActiveX_Web_Player_Installer.exe /Silent" /fREG ADD %KEY%\050 /VE /D "FoxPro Runtime Libraries" /fREG ADD %KEY%\050 /V 1 /D "\"z:\\FoxProRuntime\\FoxPro Runtime Libraries.msi\" /qb" /fREG ADD %KEY%\055 /VE /D "McAfee VirusScan" /fREG ADD %KEY%\055 /V 1 /D "\"v:\\EPO Agent\\FramePkg.exe\" /Silent" /fREG ADD %KEY%\065 /VE /D "Clipart" /fREG ADD %KEY%\065 /V 1 /D "z:\OfficeXPClipart\Setup4MagicCD.cmd" /fREG ADD %KEY%\070 /VE /D "Joining the PC to the domain" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\join.cmd" /fREG ADD %KEY%\075 /VE /D "Adding Administrators" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\admins.cmd" /fREG ADD %KEY%\080 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT Edited March 28, 2006 by exrcizn Link to comment Share on other sites More sharing options...
minusbfold Posted March 28, 2006 Author Share Posted March 28, 2006 (edited) Thanks..Now when you put in"z:\Microsoft\Office2003StandardSP1\Setup4MagicCD.cmd" /fwhat is the z:\ drive ... that a network drive and also how does it find the keycode and custom setting information.. is that off of setup4magiccd.cmd Edited March 28, 2006 by minusbfold Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 Now when you put in"z:\Microsoft\Office2003StandardSP1\Setup4MagicCD.cmd" /fwhat is the z:\ drive ... that a network drive and also how does it find the keycode and custom setting information.. is that off of setup4magiccd.cmdyes, z: is a network drive and setup4magiccd.cmd contains the setup instructions for Office 2003. The contents of this file are:cmdow @ /HID\\<server>\<share>\Microsoft\Office2003StandardSP1\setupstd.exe TRANSFORMS=\\<server>\<share>\Microsoft\Office2003StandardSP1\STD.MST /qb- Link to comment Share on other sites More sharing options...
minusbfold Posted March 28, 2006 Author Share Posted March 28, 2006 Hopefully ill get it soon my company gave me this as a project and I can only get so far and now i see this scripting and im like yeah im lost lol.thanks for your help though Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 What do you have so far? Do you have a unattended install for at least the operating system? Link to comment Share on other sites More sharing options...
minusbfold Posted March 28, 2006 Author Share Posted March 28, 2006 Yes I did it with nlite I have all my hotfixes/updates built into it and thats about it Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 Do you wish to install the software from a network or do you need it copied to the CD/DVD? Link to comment Share on other sites More sharing options...
minusbfold Posted March 28, 2006 Author Share Posted March 28, 2006 I want it all to come off a DVDThis is the order I want it to go in1.XP Pro sp2 - Already Done with nlite 2.Updates - Already Done with nlite 3.Office 20034.Flash5.Shockwave6. Ultra VNC7. Adobe Reader8. Cisco VPN Client9. Spybot If that is possible at all Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 minusbfold - I'm getting ready to reply to you but in the meantime could you go into your msfn profile and check your messages? I left something for you. I'm getting a reply ready for you. Link to comment Share on other sites More sharing options...
minusbfold Posted March 28, 2006 Author Share Posted March 28, 2006 Ok Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 Here's an example of an old runonceex.cmd file that I used before I put all my installs on the network:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "TITLE FOR FIRST APP BEING INSTALLED" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\FIRSTAPPFOLDERNAME\INSTALL EXE OR MSI" /fREG ADD %KEY%\010 /VE /D "TITLE FOR SECOND APP BEING INSTALLED" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\SECONDAPPFOLDERNAME\INSTALL EXE OR MSI" /fEXITThe cmdow @ /HID command at the top - now that I think about it I don't think it's needed in this file but you can use it in other files to hide the window from the user. To use this command find it (I can't remember where so I'll have to look that up too) and copy it to $OEM$\$$\System32 on your Unattended CD. Create a folder for each of your installs in $OEM$\$1\Install on your UACD. This equates to the commands above where you see the "%systemdrive%\install\" entries. You can use the above exactly as it is but replace the capitalized text with your own. The first line tells the user what's being installed. The second line is the actual install line. You will want to include switches to make the install silent. You need the /f at the end of each line and you need to increment the statement numbers. I started with 5, then 10, and so forth. Link to comment Share on other sites More sharing options...
minusbfold Posted March 28, 2006 Author Share Posted March 28, 2006 Ok one thing that I dont understand is... Where do I add these lines like open up RunOnceEx.cmd Creator and just started adding each line indavidually and then save the file in the $oem$ folder. And since im going off a DVD will my system drive be displayed like this.REG ADD %KEY%\005 /VE /D "TITLE FOR FIRST APP BEING INSTALLED" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\FIRSTAPPFOLDERNAME\INSTALL EXE OR MSI" /fAd in D being the drive letter Link to comment Share on other sites More sharing options...
exrcizn Posted March 28, 2006 Share Posted March 28, 2006 minusbfold - sent you another private message. Thanks! 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