Help - Search - Members - Calendar
Full Version: problems with office xp
MSFN Forums > Member Contributed Projects > Other Member Contributed Projects > Windows Installation Helper Utility

   
Google Internet Forums Unattended CD/DVD Guide
moo
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
XPect
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
QUOTE
command.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=%SRCDRIVE%\soft\officexp\Custom.mst /qb-

let us know the result

XPect
moo
Thank you Xpect. I'll try.
moo
moo
Well, doesn't work.
Any other suggestions.
moo
BenjaminKalytta
Where is custom.mst stored?
I would do following btw:

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


Benjamin
mastrboy
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.gif

changing the LOG variable in WIHU might do the trick?? wacko.gif
Bendes
You must add a description:

CODE
[Office XP]
description.0=Install Unattended Office XP
command.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=Custom.mst /qb-
selected.0=1
tjhart85
why MUST you have a description? I've never had a description used and have never had these problems.
Bendes
QUOTE (tjhart85 @ Oct 10 2005, 05:14 PM) *
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.gif
mastrboy
i have written a Auto-IT script to fix this problem, it's not perfect but it does the job.

CODE
;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... welcome.gif
greg_285
Hello

I have this in my install.ini file :

QUOTE
; 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
mastrboy
read topic next time, is for XP not 2003 newwink.gif
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.