Jump to content

Help Install office 2003 and 2007 RunOnceEx


Guest AhrimanSefid2

Recommended Posts

Guest AhrimanSefid2

Hi.I want to add office 2003 and 2007 and I want to install them separately each one to one windows in RunOnceEx mode.

What should I do????

Thanks a lot.

cmdow @ /HID
@Echo Off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP3 SET CDROM=%%i:

SET PP=%cdrom%\XPS3\SETUP\$OEM$\

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

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%0 /VE /D "Office 2007 Enterprise" /f
REG ADD %KEY%0 /V 1 /D "%PP%\XPS3\SETUP\$OEM$\OFFICE2007SP2ENGLISH\setup.exe" /adminfile "setup.msp" /f

EXIT

Edited by AhrimanSefid2
Link to comment
Share on other sites


Hi.I want to add office 2003 and 2007 and I want to install them separately each one to one windows in RunOnceEx mode.

What should I do????

Thanks a lot.

cmdow @ /HID
@Echo Off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP3 SET CDROM=%%i:

SET PP=%cdrom%\XPS3\SETUP\$OEM$\

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

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%0 /VE /D "Office 2007 Enterprise" /f
REG ADD %KEY%0 /V 1 /D "%PP%\XPS3\SETUP\$OEM$\OFFICE2007SP2ENGLISH\setup.exe" /adminfile "setup.msp" /f

EXIT

well t seems there is a small mistake in there

try this one

cmdow @ /HID
@Echo Off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP3 SET CDROM=%%i:

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

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%0 /VE /D "Office 2007 Enterprise" /f
REG ADD %KEY%0 /V 1 /D "%CDROM%\XPS3\SETUP\$OEM$\OFFICE2007SP2ENGLISH\setup.exe" /adminfile "setup.msp" /f

EXIT

Link to comment
Share on other sites

You dont have to tell it to run the msps. throw them all in the updates folder and just run setup.exe

That and you might need to stick with 8.3 filenames

if that is the case OFFICE2007SP2ENGLISH is about 12 characters too long

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...