Jump to content

Help with batch file


chupacabra
 Share

Recommended Posts

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.msi

2n1g7dc.jpg

can any of you edit it for me plz...

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installeren van Software" /f

REG ADD %KEY%\001 /VE /D "Office2003" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\Office2003\PRO11.msi /QB" /f

EXIT

Edited by chupacabra
Link to comment
Share on other sites


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 by chupacabra
Link to comment
Share on other sites

Make certain the following lines exist in WinNT.sif after running nLite. Otherwise your OEM distribution folders will not copy.

[Unattended]
OemPreinstall="Yes"

Link to comment
Share on other sites

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" /f

However, it seems more likely that you'll need a transforms file to automate the installation. A guide exists to create this file.

Edited by 5eraph
Link to comment
Share on other sites

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" /f

However, 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.mst

now what , what do i need to place into batch file , plz help , what command do i need to copy ?

1z6uio.jpg

Link to comment
Share on other sites

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

this is where files are located

$OEM$\$1\install\applications\ofice2003

314t3yp.jpg

dunn maybe i still need to change something

RunOnceEx.cmd is located at $OEM$

Edited by chupacabra
Link to comment
Share on other sites

As you're using this install method I hope you can check whether you forgot something.

Check:

$OEM$\$$\System32\CMDOW.EXE

and your cmdlines.txt file.

there is noo need for CMDOW.exe

and this is what i got inside cmdlines.txt

cmdlines.txt file

[Commands]

"RunOnceEx.cmd"

"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"

Link to comment
Share on other sites

there is noo need for CMDOW.exe
Of 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.... :blushing:

ok ill check it out

Edited by chupacabra
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...