usicolburn Posted December 9, 2010 Share Posted December 9, 2010 hello, I need help people. I created simple batch file to install office 2003 with xp. I followed the example on this site step by step but after xp installs and the script tries to run but I get an error message stating file for the installation of office 2003 not found or located. I have copied the entire office 2003 files from the CD to the $OEM$ folder. Here is what the GuiRunOnce looks like under winnt.sif:[GuiRunOnce] "%systemdrive%\install\office2003.cmd"This is what the script looks like just like the examples on the site here:ECHO.ECHO installing office 2003Echo please wait...start /wait %systemdrive%\install\Applications\Office2003\PRO11.msi /QBThe scrip is saved under the $oem$\$1\install\office2003.cmd.what am I doing wrong? How come this script doesn't initiate the office setup exe? Please help. Link to comment Share on other sites More sharing options...
myselfidem Posted December 9, 2010 Share Posted December 9, 2010 (edited) For the section [GuiRunOnce] Command0="%systemdrive%\install\office2003.cmd"I'm guessing you have placed your Office 2003 inside:$OEM$\$1\install\Applications\Office2003Example:For my Office Profesionnal 2003 OEM I've used "ork.exe" inside Office 2003 Editions Resource Kit Tools to creat e an silent installation with UNATTEND.MST file:And with WPIcmds[pn]=['{REGEDIT} %WPIPath%\\Install\\Office2003\\office.reg','%WPIPath%\\Install\\Office2003\\setup.exe TRANSFORMS=UNATTEND.MST /qn'];More help:[GuiRunOnce] vs [Commands] vs cmdlines.txtOffice 2003 Advanced Installation Msiexec.exe Command LineExample for msi packages:msiexec.exe /i "%systemdrive%\Install\Shrink\dvdshrink2007.msi" /qn Edited December 9, 2010 by myselfidem Link to comment Share on other sites More sharing options...
usicolburn Posted December 9, 2010 Author Share Posted December 9, 2010 For the section [GuiRunOnce] Command0="%systemdrive%\install\office2003.cmd"I'm guessing you have placed your Office 2003 inside:$OEM$\$1\install\Applications\Office2003Example:For my Office Profesionnal 2003 OEM I've used "ork.exe" inside Office 2003 Editions Resource Kit Tools to creat e an silent installation with UNATTEND.MST file:And with WPIcmds[pn]=['{REGEDIT} %WPIPath%\\Install\\Office2003\\office.reg','%WPIPath%\\Install\\Office2003\\setup.exe TRANSFORMS=UNATTEND.MST /qn'];More help:[GuiRunOnce] vs [Commands] vs cmdlines.txtOffice 2003 Advanced Installation Msiexec.exe Command LineExample for msi packages:msiexec.exe /i "%systemdrive%\Install\Shrink\dvdshrink2007.msi" /qnSo to clear things the command0 needs to be included withing the GuiRunOnce section for the script to work? I am just doing a simple installation of office 2003 without the advanced section. Also Where should the OEM files reside during installation? Outside of I386 or inside of it? I am a bit confused as to where I should place it. I have used nlite to make the image. Please let me know I really appreciate your help. Link to comment Share on other sites More sharing options...
myselfidem Posted December 9, 2010 Share Posted December 9, 2010 (edited) You can find help about the $OEM$ folders structure:$OEM$ Distribution Folders Customizing and Automating Installations Edited December 9, 2010 by myselfidem Link to comment Share on other sites More sharing options...
deathdragon Posted January 3, 2011 Share Posted January 3, 2011 You can find help about the $OEM$ folders structure:$OEM$ Distribution Folders Customizing and Automating Installations what i have to do if i have to install photoshop cs5 silently with key Link to comment Share on other sites More sharing options...
myselfidem Posted January 3, 2011 Share Posted January 3, 2011 (edited) what i have to do if i have to install photoshop cs5 silently with keyAbout Adobe Creative CS5Export the key (name, serial number,...) for Adobe Creative CS5 inside your Registry (Give a name like Adobe.reg) and add a command inside the batch file launched with Guirunonce:Set the reg file inside $OEM$\$1\install\Adobe\Adobe.cmd (Example)You can add inside Winnt.sif[GuiRunOnce]Command0="%systemdrive%\install\Office2003\Office2003.cmd"Command1="%systemdrive%\install\Adobe\Adobe.cmd"orCommand1="%systemdrive%\install\Install.cmd" (with all your silent switches for the applications)@echo offecho.REM Installing applications---REM Add settings reg file for Adobe Creative CS5REGEDIT /S "%systemdrive%\install\Adobe\Adobe.reg"echo.REM Installing Adobe Creative CS5start /Wait "%systemdrive%\install\AdobeCS5 {silent switches}etc...REM Deleting unwanted files and folders after execution finishedecho.RMDIR /S /Q %systemdrive%\installexitYou can add all your programs with silent switches inside one batch file, example above (Install.cmd)! Edited January 3, 2011 by myselfidem 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