Jump to content

Winnt.sif


Recommended Posts

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 2003

Echo please wait...

start /wait %systemdrive%\install\Applications\Office2003\PRO11.msi /QB

The 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


For the section

[GuiRunOnce]

Command0="%systemdrive%\install\office2003.cmd"

I'm guessing you have placed your Office 2003 inside:

$OEM$\$1\install\Applications\Office2003

Example:

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 WPI

cmds[pn]=['{REGEDIT} %WPIPath%\\Install\\Office2003\\office.reg','%WPIPath%\\Install\\Office2003\\setup.exe TRANSFORMS=UNATTEND.MST /qn'];

More help:

[GuiRunOnce] vs [Commands] vs cmdlines.txt

Office 2003 Advanced Installation

Msiexec.exe Command Line

Example for msi packages:

msiexec.exe /i "%systemdrive%\Install\Shrink\dvdshrink2007.msi" /qn

Edited by myselfidem
Link to comment
Share on other sites

For the section

[GuiRunOnce]

Command0="%systemdrive%\install\office2003.cmd"

I'm guessing you have placed your Office 2003 inside:

$OEM$\$1\install\Applications\Office2003

Example:

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 WPI

cmds[pn]=['{REGEDIT} %WPIPath%\\Install\\Office2003\\office.reg','%WPIPath%\\Install\\Office2003\\setup.exe TRANSFORMS=UNATTEND.MST /qn'];

More help:

[GuiRunOnce] vs [Commands] vs cmdlines.txt

Office 2003 Advanced Installation

Msiexec.exe Command Line

Example for msi packages:

msiexec.exe /i "%systemdrive%\Install\Shrink\dvdshrink2007.msi" /qn

So 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

  • 4 weeks later...

what i have to do if i have to install photoshop cs5 silently with key

About Adobe Creative CS5

Export 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"

or

Command1="%systemdrive%\install\Install.cmd" (with all your silent switches for the applications)


@echo off
echo.
REM Installing applications
---
REM Add settings reg file for Adobe Creative CS5
REGEDIT /S "%systemdrive%\install\Adobe\Adobe.reg"
echo.
REM Installing Adobe Creative CS5
start /Wait "%systemdrive%\install\AdobeCS5 {silent switches}

etc...
REM Deleting unwanted files and folders after execution finished
echo.
RMDIR /S /Q %systemdrive%\install
exit

You can add all your programs with silent switches inside one batch file, example above (Install.cmd)!

Edited by myselfidem
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...