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...
×
×
  • Create New...