moo Posted October 11, 2004 Share Posted October 11, 2004 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=1What's wrong?Thanks.moo Link to comment Share on other sites More sharing options...
XPect Posted October 11, 2004 Share Posted October 11, 2004 Could be just that wihu doesn't find the Custom.mst.Try to had the path of the file in the command line, something likecommand.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=%SRCDRIVE%\soft\officexp\Custom.mst /qb-let us know the resultXPect Link to comment Share on other sites More sharing options...
moo Posted October 11, 2004 Author Share Posted October 11, 2004 Thank you Xpect. I'll try.moo Link to comment Share on other sites More sharing options...
moo Posted October 11, 2004 Author Share Posted October 11, 2004 Well, doesn't work.Any other suggestions.moo Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted October 12, 2004 Share Posted October 12, 2004 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\officexpselected.0=1Benjamin Link to comment Share on other sites More sharing options...
mastrboy Posted September 30, 2005 Share Posted September 30, 2005 (edited) i had the same problem, this is the way i solved it:WIHU Install CFG:___________________________________________________________description.0=Microsoft Officeselected.0=0collapsed.0 =0command.0=cmd.exe /C @echo off /user:DOMAIN\USERhelp.0=%wihu%/office.rtfGroup.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 offcall %PATH-TO-OFFICE%\INSTAPLS.EXE TRANSFORMS=standard.MST /qrexit-------------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. changing the LOG variable in WIHU might do the trick?? Edited September 30, 2005 by mastrboy Link to comment Share on other sites More sharing options...
Bendes Posted October 4, 2005 Share Posted October 4, 2005 You must add a description:[Office XP]description.0=Install Unattended Office XPcommand.0 = %SRCDRIVE%\soft\officexp\setup.exe TRANSFORMS=Custom.mst /qb-selected.0=1 Link to comment Share on other sites More sharing options...
tjhart85 Posted October 10, 2005 Share Posted October 10, 2005 why MUST you have a description? I've never had a description used and have never had these problems. Link to comment Share on other sites More sharing options...
Bendes Posted October 10, 2005 Share Posted October 10, 2005 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 Link to comment Share on other sites More sharing options...
mastrboy Posted January 5, 2006 Share Posted January 5, 2006 (edited) 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 wrongFunc error() MsgBox(0+48, "No such parameter", "Use /? to se options") ExitEndFuncIf $CmdLine[0] = 0 Then Call ("error")EndIfSelect 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")EndSelectExitfeel free to try it out or modify it to your needs... Edited January 5, 2006 by mastrboy Link to comment Share on other sites More sharing options...
greg_285 Posted January 5, 2006 Share Posted January 5, 2006 HelloI have this in my install.ini file :; Sub command 0description.0=Microsoft Office 2003command.0=%srcdrive%\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-selected.0 = 0And it works fine..the method is in the msfn unattended guide Link to comment Share on other sites More sharing options...
mastrboy Posted January 20, 2006 Share Posted January 20, 2006 read topic next time, is for XP not 2003 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now