Jump to content

Office


Fx2050

Recommended Posts

just tested my 1st full attempt xp + office

installed fine in VM, logs in then goes to run the office setup but fails.

'cannot find 'install\Applications\OfficeXP\Proplus.exe'

this is my runonce file:

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:\CD.txt SET CDROM=%%i:

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

REG ADD %KEY%\001 /VE /D "Microsoft Office XP" /f

REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\Applications\OfficeXP\proplus.exe TRANSFORMS=Unattended.mst /qb-" /f

EXIT

and my directory structure to the file is (b4 iso convert):

D:\XPCD\$OEM$\$1\install\Applications\OfficeXP\proplus.exe

obviously i must have the path wrong or something to do with the cdrom script part.

do i amend to something like :

"%CDROM%\$OEM$\$1\install\Applications\OfficeXP\proplus.exe TRANSFORMS=Unattended.mst /qb-" /f

that dont seem right though

???

or am i being stupid and it should b PROPLUS.exe

???

Link to comment
Share on other sites


well tried a few times and nothing, tried using %systemdrive% and %cdrom%

now just loads windows and dont start office no error messages about not finding file or nothing.

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:\CD.txt SET CDROM=%%i:

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

REG ADD %KEY%\001 /VE /D "Microsoft Office XP" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\OfficeXP\PROPLUS.msi TRANSFORMS=Unattended.mst /qb-" /f

EXIT

using the proplus.msi as when started the msfn unattended guide i didnt have setup.exe on cd so pointed to the msi.

please help

Link to comment
Share on other sites

I believe you will need setup.exe for it to work.

REG ADD %KEY%\002 /VE /D "Microsoft Office XP Standard" /f

REG ADD %KEY%\002 /V 1 /D "\\server\Install\Microsoft_OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-" /f

I have something like this and this works like a charm. I would suggest you getting proper version of Office.

Link to comment
Share on other sites

thanks but it doesn't have a setup.exe only proplus.msi and i see no reason why a script to run a file wouldnt work if a exe or msi but u never know.

but u may b right, when code was setup.exe i am told cannot find, when change to msi it just does nothing.

Link to comment
Share on other sites

but u may b right, when code was setup.exe i am told cannot find, when change to msi it just does nothing.

That is because you need to call MSIEXEC.EXE if you are calling the MSI.

MSIEXEC.EXE /i %systemdrive%\install\Applications\OfficeXP\PROPLUS.msi TRANSFORMS=Unattended.mst /qb-

etc, etc.

MSIEXEC.EXE is located in System32 if you need the path for that.

Link to comment
Share on other sites

so then i edit to:

REG ADD %KEY%\001 /VE /D "Microsoft Office XP" /f

REG ADD %KEY%\001 /V 1 /D "MSIEXEC.EXE /i %systemdrive%\install\Applications\OfficeXP\PROPLUS.msi TRANSFORMS=Unattended.mst /qb-" /f

or do i specify the path to the msiexec.exe ???

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