Jump to content

mastrboy

Member
  • Posts

    15
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Norway

About mastrboy

Contact Methods

  • Website URL
    http://

mastrboy's Achievements

0

Reputation

  1. i have written i quick autoit script to copy the missing files, it reads from a txt file, so it is easy to add new files. #Region;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_outfile=fix-sysprep.exe #EndRegion;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.12.1 Author: mastrboy Script Function: copy script to fix sysprep #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include <file.au3> $file = FileOpenDialog("Choose txt file with missing files", @ScriptDir, "TXT file (*.txt)", 1) $i386_source = FileSelectFolder("Select i386 source folder","",2 + 4) $i386_destination = FileSelectFolder("Select sysprep i386 destination folder","",2 + 4) $file = FileOpen($file, 0) ; Check if file opened for reading OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf ; Read in lines of text until the EOF is reached While 1 $line = FileReadLine($file) If @error = -1 Then ExitLoop $file_to_copy = $i386_source&"\"&$line If FileExists($file_to_copy) Then FileCopy($file_to_copy,$i386_destination) Else $file_to_copy = StringTrimRight ($line,1) $file_to_copy = $i386_source&"\"&$file_to_copy&"_" If FileExists($file_to_copy) Then FileCopy($file_to_copy,$i386_destination) Else _FileWriteLog(@ScriptDir & "\fix-sysprep-log.log","Could not find file: "&$line) EndIf EndIf Wend FileClose($file) You can find a list of missing files here: http://www.msfn.org/board/index.php?showto...st&p=681291
  2. i have currently created something very similear, but it's linux based and use partimage for imaging.. currently stuck on modifying grub a little to display a message like: "press esc for recovery" or something...
  3. i finaly found some HP Softpaq switches on a forum
  4. mastrboy

    End of WIHU ?

    i really like to so one more thing in wihu, autoclose when install is finished, i tried writing a autoit script that does this for me, but failed and haven't got the time to start over again.
  5. read topic next time, is for XP not 2003
  6. 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...
  7. mastrboy

    End of WIHU ?

    i hope not, im still a very active user of it in my unatended RIS installation.
  8. 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. changing the LOG variable in WIHU might do the trick??
  9. how can i run WIHU after sysprep???
  10. OMG nooo!! please english.. This is like being in the liquer store but not be able to buy, because your not old enough
  11. is there anywhere i can see all available switches for this program? i only need the software install thing (could not find it on your page, and there is 41 pages in this post )
  12. love your prog, microsoft has much to learn from u don't know is this would be a big job, but you not are going to make more changes to the command variables, u could maybe create a little GUI prog that helps create the file?? it's a little heavy to understand for n00bs i understood the first one's used in 1.x just an idea, or if some other programmer on the forum could do it??
×
×
  • Create New...