chupacabra Posted January 30, 2010 Posted January 30, 2010 (edited) hi people i need help with batch file , i dont know how to write batch files at all.what i need is for someone of you to edit batch file,this is locatio of file i need to run..C:\Win xp Test\$OEM$\$1\install\Applications\Office2003\PRO11.msican any of you edit it for me plz...cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installeren van Software" /fREG ADD %KEY%\001 /VE /D "Office2003" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\Office2003\PRO11.msi /QB" /fEXIT Edited January 30, 2010 by chupacabra
chupacabra Posted January 30, 2010 Author Posted January 30, 2010 (edited) Seems OK to me.yeah strell, but is destination ok in the batch file ?when i created iso , during VMware test , got error that destination could not be found... so i was not able to start office 2003 installation Edited January 30, 2010 by chupacabra
Guest Posted January 30, 2010 Posted January 30, 2010 Make certain the following lines exist in WinNT.sif after running nLite. Otherwise your OEM distribution folders will not copy.[Unattended]OemPreinstall="Yes"
chupacabra Posted January 30, 2010 Author Posted January 30, 2010 Make certain the following lines exist in WinNT.sif after running nLite. Otherwise your OEM distribution folders will not copy.[Unattended]OemPreinstall="Yes"it already exists
Ponch Posted January 30, 2010 Posted January 30, 2010 I see people using "shortfilenames=true" as well as your "/qb". I have no idea if this should be your case so this is just a shot in the dark. Sorry.
Guest Posted January 30, 2010 Posted January 30, 2010 (edited) Here's another shot in the dark. Try calling the MSI properly using MSIExec.exe.REG ADD %KEY%\001 /V 1 /D "MSIExec.exe /i \"%systemdrive%\install\Applications\Office2003\PRO11.msi\" /qb" /fHowever, it seems more likely that you'll need a transforms file to automate the installation. A guide exists to create this file. Edited January 30, 2010 by 5eraph
chupacabra Posted January 30, 2010 Author Posted January 30, 2010 Here's another shot in the dark. Try calling the MSI properly using MSIExec.exe.REG ADD %KEY%\001 /V 1 /D "MSIExec.exe /i \"%systemdrive%\install\Applications\Office2003\PRO11.msi\" /qb" /fHowever, it seems more likely that you'll need a transforms file to automate the installation. A guide exists to create this file.ok i made unattended.mstnow what , what do i need to place into batch file , plz help , what command do i need to copy ?
strel Posted January 30, 2010 Posted January 30, 2010 Have you checked that you correctly placed all files you need under $OEM$ folders for the batch you're using? That is:$OEM$\$$\System32\CMDOW.EXE and what's in the image
chupacabra Posted January 30, 2010 Author Posted January 30, 2010 (edited) Have you checked that you correctly placed all files you need under $OEM$ folders for the batch you're using? That is:$OEM$\$$\System32\CMDOW.EXE and what's in the imagethis is where files are located$OEM$\$1\install\applications\ofice2003dunn maybe i still need to change somethingRunOnceEx.cmd is located at $OEM$ Edited January 30, 2010 by chupacabra
strel Posted January 30, 2010 Posted January 30, 2010 (edited) As you're using this install method I hope you can check whether you forgot something.Check:$OEM$\$$\System32\CMDOW.EXEand your cmdlines.txt file. Edited January 30, 2010 by strel
chupacabra Posted January 30, 2010 Author Posted January 30, 2010 As you're using this install method I hope you can check whether you forgot something.Check:$OEM$\$$\System32\CMDOW.EXEand your cmdlines.txt file.there is noo need for CMDOW.exeand this is what i got inside cmdlines.txtcmdlines.txt file[Commands]"RunOnceEx.cmd""rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
Yzöwl Posted January 30, 2010 Posted January 30, 2010 there is noo need for CMDOW.exeOf course there iscmdow @ /HIDit's used in the first line of your batch file!
chupacabra Posted January 30, 2010 Author Posted January 30, 2010 (edited) there is noo need for CMDOW.exeOf course there is…cmdow @ /HID…it's used in the first line of your batch file!hahaah , ok sorry man its not my batch file i got it from Somewhere.... ok ill check it out Edited January 30, 2010 by chupacabra
Recommended Posts