Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

problems with office xp

- - - - -

  • Please log in to reply
11 replies to this topic

#1
moo

moo

    Junior

  • Member
  • Pip
  • 86 posts
Hi guys.
All installations work well, but office xp generate error 1622. When I using just RunOnceEx it working fine.

[Office XP]
command.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=Custom.mst /qb-
selected.0=1

What's wrong?
Thanks.
moo


How to remove advertisement from MSFN

#2
XPect

XPect

    Junior

  • Member
  • Pip
  • 80 posts
Could be just that wihu doesn't find the Custom.mst.

Try to had the path of the file in the command line, something like

command.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=%SRCDRIVE%\soft\officexp\Custom.mst /qb-

let us know the result

XPect

#3
moo

moo

    Junior

  • Member
  • Pip
  • 86 posts
Thank you Xpect. I'll try.
moo

#4
moo

moo

    Junior

  • Member
  • Pip
  • 86 posts
Well, doesn't work.
Any other suggestions.
moo

#5
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
Where is custom.mst stored?
I would do following btw:

[Office XP]
command.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=Custom.mst /qb-
workdir.0 = %SRCDRIVE%\soft\officexp
selected.0=1

Benjamin

#6
mastrboy

mastrboy

    Newbie

  • Member
  • 15 posts
i had the same problem, this is the way i solved it:

WIHU Install CFG:
___________________________________________________________
description.0=Microsoft Office
selected.0=0
collapsed.0 =0
command.0=cmd.exe /C @echo off
/user:DOMAIN\USER
help.0=%wihu%/office.rtf
Group.0=1

; Sub command 0.0
description.0.0=Office XP Standard
command.0.0=%systemdrive%\Install\CMD-Install\OfficeXP-STD.cmd
selected.0.0 =0

; Sub command 0.1
description.0.1=Office XP Full
command.0.1=%systemdrive%\Install\CMD-Install\OfficeXP-FULL.cmd
selected.0.1 =0

; Sub command 0.2
description.0.2=Office XP Standard + Access
command.0.2=%systemdrive%\Install\CMD-Install\OfficeXP-STD-AC.cmd
selected.0.2 =0

; Sub command 0.3
description.0.3=Office XP Standard + Frontpage
command.0.3=%systemdrive%\Install\CMD-Install\OfficeXP-STD-AC.cmd
selected.0.3 =0
___________________________________________________

And in the commands file Wihu calls up contains:
-------------
cmdow @ /HID
@echo off
call %PATH-TO-OFFICE%\INSTAPLS.EXE TRANSFORMS=standard.MST /qr
exit
-------------

only different MST files for each command file tough..

I think the error occours because wihu has a log variable and office might have the same variable so they crash, if you run office instapls.exe without any switches you get the error message that it can not write to log file. :huh:

changing the LOG variable in WIHU might do the trick?? :wacko:

Edited by mastrboy, 30 September 2005 - 06:31 AM.


#7
Bendes

Bendes

    Junior

  • Member
  • Pip
  • 53 posts
You must add a description:

[Office XP]
description.0=Install Unattended Office XP
command.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=Custom.mst /qb-
selected.0=1


#8
tjhart85

tjhart85

    Member

  • Member
  • PipPip
  • 193 posts
why MUST you have a description? I've never had a description used and have never had these problems.
Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.

#9
Bendes

Bendes

    Junior

  • Member
  • Pip
  • 53 posts

why MUST you have a description? I've never had a description used and have never had these problems.


Sorry, I'm wrong you're right :blushing:

#10
mastrboy

mastrboy

    Newbie

  • Member
  • 15 posts
i have written a Auto-IT script to fix this problem, it's not perfect but it does the job.

;written by mastrboy
#include <GUIConstants.au3>
;includes MST files (have them in the same folder as the script when compiling)
FileInstall("FULL.MST", @TempDir&"\FULL.MST")
FileInstall("STANDARD.MST", @TempDir&"\STANDARD.MST")
FileInstall("STDAC.MST", @TempDir&"\STDAC.MST")
FileInstall("STDFP.MST", @TempDir&"\STDFP.MST")

;error if parameter is wrong
Func error()
	MsgBox(0+48, "No such parameter", "Use /? to se options")
	Exit
EndFunc

If $CmdLine[0] = 0 Then
	Call ("error")
EndIf

Select
	Case $CmdLine[1] = "/?"
		$Form1 = GUICreate("Office Installation Help", 420, 157, 192, 125)
			GUICtrlCreateLabel("Following parameters are supported:", 8, 8, 141, 18)
			GUICtrlCreateLabel("STANDARD  =  (Word, Excel, Powerpoint og Outlook", 8, 32, 402, 17)
			GUICtrlCreateLabel("FULL  =  Full Installation", 8, 56, 163, 17)
			GUICtrlCreateLabel("STDAC  =  Standard + Access", 8, 80, 148, 17)
			GUICtrlCreateLabel("STDFP  =  Standard + Frontpage", 8, 104, 160, 17)
			$ok_button = GUICtrlCreateButton("OK", 24, 128, 89, 25)
			GUISetState(@SW_SHOW)
		While 1
			$msg = GuiGetMsg()
			Select
			Case $msg = $ok_button
				Exit
			Case $msg = $GUI_EVENT_CLOSE
				Exit
			Case Else
		;continues
			EndSelect
		WEnd

	Case $CmdLine[0] = "1"
		If FileExists(@TempDir&"\"&$CmdLine[1]&".MST") Then
	;starts the installation
			RunWait("c:\OFFICE_XP_SP3\INSTAPLS.EXE TRANSFORMS="""&@TempDir&"\"&$CmdLine[1]&".MST"" /qr");change out with our own location of office installation files
	;Deletes all mst file in tmp dir
			FileDelete(@TempDir&"\*.mst")
			Exit
		Else
			call ("error")
		EndIf

	Case Else
		Call ("error")
EndSelect
Exit

feel free to try it out or modify it to your needs... :hello:

Edited by mastrboy, 05 January 2006 - 02:58 AM.


#11
greg_285

greg_285

    Newbie

  • Member
  • 36 posts
Hello

I have this in my install.ini file :

; Sub command 0
description.0=Microsoft Office 2003
command.0=%srcdrive%\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-
selected.0 = 0


And it works fine..the method is in the msfn unattended guide

#12
mastrboy

mastrboy

    Newbie

  • Member
  • 15 posts
read topic next time, is for XP not 2003 ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN