1. Liebe Forumsgemeinde,

    aufgrund der Bestimmungen, die sich aus der DSGVO ergeben, müssten umfangreiche Anpassungen am Forum vorgenommen werden, die sich für uns nicht wirtschaftlich abbilden lassen. Daher haben wir uns entschlossen, das Forum in seiner aktuellen Form zu archivieren und online bereit zu stellen, jedoch keine Neuanmeldungen oder neuen Kommentare mehr zuzulassen. So ist sichergestellt, dass das gesammelte Wissen nicht verloren geht, und wir die Seite dennoch DSGVO-konform zur Verfügung stellen können.
    Dies wird in den nächsten Tagen umgesetzt.

    Ich danke allen, die sich in den letzten Jahren für Hilfesuchende und auch für das Forum selbst engagiert haben. Ich bin weiterhin für euch erreichbar unter tti(bei)pcwelt.de.
    Dismiss Notice

mount win7 boot.wim files with imagex.exe returned with 2

Discussion in 'PC-WELT Tools und Scripte' started by wsmfa, Apr 9, 2010.

Thread Status:
Not open for further replies.
  1. wsmfa

    wsmfa ROM

    Ich bin seit 10 Tagen dabei eine Boot Cd zu erstellen.
    Ich habe alles versucht einschliesslich ein XP auf eine separate Festplatte zu kopieren aber egal was ich mache ich bekomme immer wieder diese Fehlermeldung wenn ich den den Play-Knopf druecker.

    Mein Rechner ist ein Amd 64 2GB Speicher, xp sp3 32Bit, Net Framework 2.0sp2 und 3.5.
    Weder Firewall noch Vierenprogramme sind installiert

    Bitte um Hilfe

    Hier kommen check source und der letzte Teil des logs.



    Buildsystem : x86
    BaseDir : c:\pcwWin7PE\Tools\Win7PE
    WaikDir : C:\Programme\Windows AIK\
    SourceDir : M:
    Info Install.wim : 1: Windows 7 ENTERPRISE
    Info Boot.wim : 2: Microsoft Windows Setup (x86)
    Language : de-DE
    Architecture : 0
    Version : 6.1.7600.16385.0

    imagex.exe found : YES


    [Success] IF - executing command: [True] evaluated string: [If,QUESTION,"Build stopped by script command.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    Run - Processing section: [UnMountWim] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    [Success] IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [WimTools] to variable: [%WimTools%] with value [ImageX]
    [Info] Please wait: UnMountig WIM files...
    [Success] IF - [ImageX] is equal to: [ImageX] evaluated string: [If,%WimTools%,Equal,ImageX,Run,%API%,UnMountImagex]
    Run - Processing section: [UnMountImagex] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    [Ignore] IF - Directory does not exist: [%BaseDir%\Temp\Win7RescuePE\BootWimSrc\Windows] evaluated string: [If,ExistDir,"%BootSRC%\Windows",ShellExecute,Hide,"#$q%imagex%#$q","/unmount #$q%BootSRC%#$q"]
    [Ignore] IF - Directory does not exist: [%BaseDir%\Temp\Win7RescuePE\InstallWimSrc\Windows] evaluated string: [If,ExistDir,"%InstallSRC%\Windows",ShellExecute,Hide,"#$q%imagex%#$q","/unmount #$q%InstallSRC%#$q"]
    Run - Processed section [UnMountImagex] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    [Ignore] IF - [ImageX] is not equal to: [WimUtil] evaluated string: [If,%WimTools%,Equal,WimUtil,Run,%API%,UnMountWimutil]
    Run - Processed section [UnMountWim] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    [Success] [End]
    [Ignore] ELSE - [Run,%API%,UnMountWim]
    [Success] [End]
    [Ignore] IF - [COMMAND] is not equal to: [EXCEPTION] evaluated string: [If,#1,Equal,EXCEPTION,Begin]
    [Skipped] [If,%CBClean9%,Equal,True,Begin]
    [Skipped] [If,QUESTION,"Build stopped by exception.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [Ignore] [End]
    [Skipped] [Else,Run,%API%,UnMountWim]
    [Ignore] [End]
    [Ignore] IF - File does not exist: [%BaseDir%\Projects\Win7RescuePE\00-0priority.script] evaluated string: [If,ExistFile,"%ProjectDir%\00-0priority.script",Exec,"%ProjectDir%\00-0priority.script",SetDefault]
    [Info] [//IniDelete,%API%,Main,Interface]
    Exec - Processed section [Clean_2] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
     
  2. wsmfa

    wsmfa ROM

    Bei mir Laeuft die Image erstellung einfach nicht. Ich brauche Hilfe.

    Hier eine Kurzauflistung meiner Versuche.

    A
    Instrallation in ein laufendes System:

    AMD Athlon 64,3200+
    2GB RAM

    Win xp serv.pack 3 mit allen updates.
    Net Framework 2.0 SP 2, 3.0 und 3.5

    Virenscanner und Firewall deaktiviert.

    Installiert in C:\PcwWin7PE

    Die basic downloads liefen Problemlos genau wie die Installation von Waik.

    Nach einhaengen der win7.iso aendern der Pfade und "get info" und "check soürce" bleiben bei "play"
    die Scripts bei " Mount Win7 boot.wim files with imagex.exe returned with 2" stehen und wim wird umount.

    Ca 10 weitere Versuche mit verschiedenen Pfaden sowie aenderungen der Dateiattribute verliefen genauso.
    Auf mein Post erhielt ich keine Antwort.

    daraufhin habe ich mein System mit einem Backup in den stand davor zurueckgesetzt und bin umgezogen.

    B Neuinstallation

    Rechner intel Pentium 2800 1GB Ram
    Neuinstalation von Xp auf eine 40 GB Platte
    Alle MS updates installiert
    PcwWin7PE neu heruntergeladen
    Aik installiert

    Winbuilder genau nach Anweisung gestartet.

    Mit genau dem gleichen Misserfolg.

    ca 20 weitere Versuche mit imagex /cleanup etc ,neuentpacken in unterschiedliches Verzeichnis, alle Win 7 eintraege
    aus der Registry loeschen, Net Framework 3.0 und 3.5 deinstallieren etc., blieben alle wieder am gleichen Punkt haengen.

    Danach habe ich die Win7 vom eingehaengten Iso File auf die Festplatte kopiert und
    den als winbuilder path vorgegeben.

    Auch dieser Versuch war ergebnislos. Immer die gleiche Fehlermeldung.

    Danach habe ich Win7 eval von dem Image file auf mein System installiert. Net Framework 4.5 installiert, und damit
    Tests gemacht. Auch diese Versuche endeten mir dem gleichen misserfolg.

    Ich wohne in Thailand.

    Das einzige was ich mir denken kann ist dass das Progrmm nur in Deutschland laeuft. Ist das moeglich?

    Beigefuegt nochmals ein diesmal komplettes Fehlerprotokoll. Bitte helft mir. Danke







    Scripts

    Configuration Version[12] ( ) 0.985 seconds
    PreConfig Version[15] ( ) 18.250 seconds

    2 scripts processed.
    Project time: 20 seconds and 344 miliseconds


    Warnings

    (0-preconfig.script) Mount Win7 boot.wim files with imagex.exe returned with 2



    %BaseDir% = C:\pcwWin7PE\Tools\Win7PE\
    (WinBuilder's path is replaced by the variable %BaseDir% to make the log easier to read)
    WinBuilder Version [078 SP 6]

    AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win7RescuePE\Common_api.script] into the local variable list
    [//System,ONBUILDEXIT,Exec,%API%,Clean]
    System - OnBuildExit [System,ONBUILDEXIT,Exec,%API%,Clean_2]


    Configuration

    File [%BaseDir%\Projects\Win7RescuePE\config.script] Version[12]

    Process common settings...
    IF - File exists: [%BaseDir%\Projects\Win7RescuePE\project.ini] evaluated string: [If,NotExistFile,%ProjectInfo%,FileCreateBlank,%ProjectInfo%]
    IniAddSection - Created section in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo]
    IF - [In RAM (boot.wim)] is not equal to: [Normal] evaluated string: [If,%pScrollBoxBuildModel%,Equal,"Normal",IniWrite,%ProjectInfo%,"ProjectInfo","BuildModel","Normal"]
    IF - [In RAM (boot.wim)] is equal to: [In RAM (boot.wim)] evaluated string: [If,%pScrollBoxBuildModel%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectInfo%,"ProjectInfo","BuildModel","RAM"]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [BuildModel=RAM]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Shell=BS Explorer]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [ScreenResolution=1024x768]
    IF - [Grub4Dos] is equal to: [Grub4Dos] evaluated string: [If,%pScrollBox4%,Equal,"Grub4Dos",IniWrite,%ProjectInfo%,"ProjectInfo","BootManager","Grub4Dos"]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [BootManager=Grub4Dos]
    IF - [Grub4Dos] is not equal to: [Standard] evaluated string: [If,%pScrollBox4%,Equal,"Standard",IniWrite,%ProjectInfo%,"ProjectInfo","BootManager","Standard"]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Locale=Auto]
    IF - [pCheckBox1] is not equal to: [true] evaluated string: [If,pCheckBox1,Equal,true,run,%ScriptFile%,CheckFileCopy]
    IF - [In RAM (boot.wim)] is not equal to: [Normal] evaluated string: [If,%pScrollBoxBuildModel%,Equal,"Normal",run,%ScriptFile%,CheckBootMGR]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [GrubSkin=Text]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [ForceAllToRam=No]
    IF - [Both (SATA+LAN)] is equal to: [Both (SATA+LAN)] evaluated string: [If,%pScrollBox10%,Equal,"Both (SATA+LAN)",IniWrite,%ProjectInfo%,"ProjectInfo","Drivers","Both"]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Drivers=Both]
    IF - [Both (SATA+LAN)] is not equal to: [SATA only] evaluated string: [If,%pScrollBox10%,Equal,"SATA only",IniWrite,%ProjectInfo%,"ProjectInfo","Drivers","Sata"]
    IF - [Both (SATA+LAN)] is not equal to: [LAN only] evaluated string: [If,%pScrollBox10%,Equal,"LAN only",IniWrite,%ProjectInfo%,"ProjectInfo","Drivers","Lan"]
    IF - [Both (SATA+LAN)] is not equal to: [None] evaluated string: [If,%pScrollBox10%,Equal,"None",IniWrite,%ProjectInfo%,"ProjectInfo","Drivers","None"]
    [//]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [HideLoader=True]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [CopyPreLogonFiles=False]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [DetectHardwareFull=0]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [RemoveShortcutArrows=True]
    [//if,%pCheckBoxPreLogon%,Equal,True,Run,%ScriptFile%,Process-CopyPreLogonFiles]
    [// Rev CAPI - added]
    SetVar - Sucessfuly changed the value of [%AtRam%] to: [False]
    IF - [False] is not equal to: [True] evaluated string: [If,%AtRam%,Equal,True,Begin]
    [IniWrite,"%ProjectDir%\script.project","Variables","#$pPE_CFG#$p","#$pPECFG#$p"]
    [IniWrite,"%ProjectDir%\script.project","Variables","#$pTarget_Prog#$p","#$pTargetDir#$p\Program##$sFiles"]
    [Set,"%PE_Programs%","##$pSystemDrive##$p\Program##$sFiles",Permanent]
    [End]
    ELSE - executing command: [Begin]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\script.project] Section [Variables] Key [%PE_CFG%=%PECFGCD%]
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\script.project] Section [Variables] Key [%Target_Prog%=%TargetDir%\Programs]
    SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [#$pCDDrive#$p\Programs]
    [End]
    [#]
    Script time: 985 miliseconds

    Finished processing script: Configuration





    PreConfig

    File [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script] Version[15]

    Preparing system...
    [//StrFormat,CTRIM,%pFileBox1%,\,%WAIKPath%]
    IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox1%,Equal,True,begin]
    Run - Processing section: [Info] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    ExtractFile - [WimInfo.exe] to: [%BaseDir%\Projects\Tools]
    ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\WimInfo.exe] with parameters: ["-W:U:\sources\install.wim" "-s:%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script" -b:pScrollBox1]
    ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\WimInfo.exe] with parameters: ["-W:U:\sources\boot.wim" "-s:%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script" -b:pScrollBox2 -l:pTextLabel11 -a:pTextLabel13 -v:pTextLabel17]
    IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,EQUAL,0,Begin]
    [System,CURSOR,NORMAL]
    [Message,"GetInfo wim files with returned with %ExitCode% check source directory",INFORMATION]
    [Halt,"GetInfo wim files with returned with %ExitCode% check source directory"]
    [End]
    System - Refreshing interface after finishing processing
    IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script] Section [Variables] Key [%LastSource%=U:]
    Run - Processing section: [SetVars] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    StrFormat - converted [SPLIT(%pScrollBox1%,:,1)] to variable: [%WimIndexInstall%] with result: [1]
    SetVar - Sucessfuly changed the value of [%WimIndexInstall%] to: [1]
    StrFormat - converted [SPLIT(%pScrollBox2%,:,1)] to variable: [%WimIndexBoot%] with result: [2]
    SetVar - Sucessfuly changed the value of [%WimIndexBoot%] to: [2]
    SetVar - Sucessfuly changed the value of [%WimLanguage%] to: [de-DE]
    SetVar - Sucessfuly changed the value of [%WimArchitecture%] to: [0]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,1)] to variable: [%WimMajor%] with result: [6]
    SetVar - Sucessfuly changed the value of [%WimMajor%] to: [6]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,2)] to variable: [%WimMinor%] with result: [1]
    SetVar - Sucessfuly changed the value of [%WimMinor%] to: [1]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,3)] to variable: [%WimBuild%] with result: [7600]
    SetVar - Sucessfuly changed the value of [%WimBuild%] to: [7600]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,4)] to variable: [%WimSPBuild%] with result: [16385]
    SetVar - Sucessfuly changed the value of [%WimSPBuild%] to: [16385]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,5)] to variable: [%WimSPLevel%] with result: [0]
    SetVar - Sucessfuly changed the value of [%WimSPLevel%] to: [0]
    Run - Processed section [SetVars] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Run - Processed section [Info] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Run - Processing section: [AutoCheckSource] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    StrFormat - converted [POS(%BaseDir%,%UserProfile%,%pos%)] to variable: [%pos%] with result: [0]
    IF - [0] is not equal to: [1] evaluated string: [If,%pos%,EQUAL,1,Begin]
    [If,EXISTFILE,%basedir%\Temp\CheckSource.txt,FileDelete,%basedir%\Temp\CheckSource.txt]
    [FileCreateBlank,%basedir%\Temp\CheckSource.txt]
    [//Echo,%SourceDir%]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,BaseDir : %basedir%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,WaikDir : %pFileBox1%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,SourceDir : %SourceDir%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Info Install.wim : %pScrollBox1%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Info Boot.wim : %pScrollBox2%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Language : %pTextLabel11%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Architecture : %pTextLabel13%%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Version : %pTextLabel17%,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Invalid BaseDir!,APPEND]
    [TXTAddLine,%basedir%\Temp\CheckSource.txt,Don't use a folder under 'UserProfiles' as BaseDir!,APPEND]
    [ShellExecuteEx,Open,%basedir%\Temp\CheckSource.txt]
    [Halt,"Invalid BaseDir!"]
    [end]
    Run - Processed section [AutoCheckSource] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    [end]
    IF - [1: Windows 7 ENTERPRISE] is not equal to: [] evaluated string: [If,%pScrollBox1%,EQUAL,,Set,%Err%,1]
    IF - [2: Microsoft Windows Setup (x86)] is not equal to: [] evaluated string: [If,%pScrollBox2%,EQUAL,,Set,%Err%,1]
    IF - [%Err%] evaluated string: [If,EXISTVAR,%Err%,Run,%ScriptFile%,ErrorExit]
    IF - [U:] is equal to: [%LastSource%] evaluated string: [If,Not,%SourceDir%,EQUAL,%LastSource%,Run,%ScriptFile%,ErrorExit]
    Run - Processing section: [SetVars] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    StrFormat - converted [SPLIT(%pScrollBox1%,:,1)] to variable: [%WimIndexInstall%] with result: [1]
    SetVar - Sucessfuly changed the value of [%WimIndexInstall%] to: [1]
    StrFormat - converted [SPLIT(%pScrollBox2%,:,1)] to variable: [%WimIndexBoot%] with result: [2]
    SetVar - Sucessfuly changed the value of [%WimIndexBoot%] to: [2]
    SetVar - Sucessfuly changed the value of [%WimLanguage%] to: [de-DE]
    SetVar - Sucessfuly changed the value of [%WimArchitecture%] to: [0]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,1)] to variable: [%WimMajor%] with result: [6]
    SetVar - Sucessfuly changed the value of [%WimMajor%] to: [6]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,2)] to variable: [%WimMinor%] with result: [1]
    SetVar - Sucessfuly changed the value of [%WimMinor%] to: [1]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,3)] to variable: [%WimBuild%] with result: [7600]
    SetVar - Sucessfuly changed the value of [%WimBuild%] to: [7600]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,4)] to variable: [%WimSPBuild%] with result: [16385]
    SetVar - Sucessfuly changed the value of [%WimSPBuild%] to: [16385]
    StrFormat - converted [SPLIT(%pTextLabel17%,.,5)] to variable: [%WimSPLevel%] with result: [0]
    SetVar - Sucessfuly changed the value of [%WimSPLevel%] to: [0]
    Run - Processed section [SetVars] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    True
    [//]
    [//run,%ScriptFile%,CheckSource]
    [//If,notExistFile,"%Tools%\wimutil.exe",run,%ScriptFile%,WinUtil]
    IF - Directory exists: [%BaseDir%\Temp] evaluated string: [If,notExistDir,"%basedir%\Temp",DirMake,"%basedir%\Temp"]
    IF - Directory exists: [%BaseDir%\Custom] evaluated string: [If,notExistDir,"%basedir%\Custom",DirMake,"%basedir%\Custom"]
    IF - Directory does not exist: [%BaseDir%\Custom\Win7RescuePE] evaluated string: [If,notExistDir,"%basedir%\Custom\Win7RescuePE",DirMake,"%basedir%\Custom\Win7RescuePE"]
    DirMake - Created directory: [%BaseDir%\Custom\Win7RescuePE]
    IF - Directory does not exist: [%BaseDir%\Temp\Win7RescuePE\BootWimSrc] evaluated string: [If,notExistDir,%BootSRC%,DirMake,%BootSRC%]
    DirMake - Created directory: [%BaseDir%\Temp\Win7RescuePE\BootWimSrc]
    IF - Directory does not exist: [%BaseDir%\Temp\Win7RescuePE\InstallWimSrc] evaluated string: [If,notExistDir,%InstallSRC%,DirMake,%InstallSRC%]
    DirMake - Created directory: [%BaseDir%\Temp\Win7RescuePE\InstallWimSrc]
    IF - Directory exists: [%BaseDir%\ISO] evaluated string: [If,notExistDir,%ISODir%,DirMake,"%ISODir%"]
    IF - Directory does not exist: [%BaseDir%\Target\Win7RescuePE] evaluated string: [If,NotExistDir,"%TargetDir%",DirMake,"%TargetDir%"]
    DirMake - Created directory: [%BaseDir%\Target\Win7RescuePE]
    [//]
    [//If,ExistDir,"%WindowsDir%\SysWOW64",Set,%SysType%,"amd64"]
    [//If,NotExistDir,"%WindowsDir%\SysWOW64",Set,%SysType%,"x86"]
    SetVar - Sucessfuly changed the value of [%SysType%] to: [x86]
    IF - [False] is not equal to: [True] evaluated string: [If,%Wow64%,EQUAL,True,Begin]
    [Set,%SysType%,"amd64"]
    [End]
    [//]
    Run - Processing section: [AutoDetectWimTool] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Run - Processing section: [AutoFindImagex] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Detecting "imagex.exe"...
    [//If,ExistFile,"%pFileBox1%\Tools\%SysType%\imagex.exe",Set,"%IMAGEX%","%pFileBox1%\Tools\%SysType%\imagex.exe"]
    [//If,ExistFile,"%pFileBox1%\Tools\%SysType%\imagex.exe",Set,%ImageTool%,"ImageX"]
    [//If,ExistFile,"%Tools%\imagex.exe",Set,"%IMAGEX%","%Tools%\imagex.exe"]
    [//If,ExistFile,"%Tools%\imagex.exe",Set,%ImageTool%,"ImageX"]
    [//If,ExistFile,"%ProgramFilesDir%\Windows#$sAIK\Tools\%SysType%\imagex.exe",Set,"%IMAGEX%","%ProgramFilesDir%\Windows#$sAIK\Tools\%SysType%\imagex.exe"]
    [//If,ExistFile,"%ProgramFilesDir%\Windows#$sAIK\Tools\%SysType%\imagex.exe",Set,%ImageTool%,"ImageX"]
    IF - File exists: [F:\Program Files\Windows AIK\Tools\x86\imagex.exe] evaluated string: [If,ExistFile,"%pFileBox1%Tools\%SysType%\imagex.exe",Set,"%IMAGEX%","%pFileBox1%Tools\%SysType%\imagex.exe"]
    SetVar - Sucessfuly changed the value of [%IMAGEX%] to: [F:\Program Files\Windows AIK\Tools\x86\imagex.exe]
    IF - File exists: [F:\Program Files\Windows AIK\Tools\x86\imagex.exe] evaluated string: [If,ExistFile,"%pFileBox1%Tools\%SysType%\imagex.exe",Set,%ImageTool%,"ImageX"]
    SetVar - Sucessfuly changed the value of [%ImageTool%] to: [ImageX]
    IF - [x86] is not equal to: [amd64] evaluated string: [If,"%SysType%",Equal,"amd64",run,%ScriptFile%,Win64Check]
    Run - Processed section [AutoFindImagex] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    [//If,"%ImageTool%",NotEqual,"ImageX",run,%ScriptFile%,Find-WimUtil]
    [//If,"%ImageTool%",NotEqual,"ImageX",Set,"%ImageTool%","WimUtil"]
    Run - Processed section [AutoDetectWimTool] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    [// Only Waik supported yet!]
    IF - [ImageX] is equal to: [ImageX] evaluated string: [If,"%ImageTool%",NotEqual,"ImageX",Message,"ImageX not found!#$xPlease install WAIK and select:#$x'Folder with installed WAIK'#$xin script:#$x'0 - PreConfig'#$x#$xExiting...",INFORMATION]
    IF - [ImageX] is equal to: [ImageX] evaluated string: [If,"%ImageTool%",NotEqual,"ImageX",Halt,"ImageX not found! Please install WAIK. Exiting..."]
    [//]
    Run - Processing section: [Find-Win7] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Detecting Microsoft Windows Win7 DVD...
    IF - File exists: [U:\sources\boot.wim] evaluated string: [If,ExistFile,"%SourceDir%\sources\boot.wim",Set,%SDIR%,"%SourceDir%"]
    SetVar - Sucessfuly changed the value of [%SDIR%] to: [U:]
    IF - File exists: [U:\sources\boot.wim] evaluated string: [If,ExistFile,"%SourceDir%\sources\boot.wim",Set,%Win7CD%,"OK"]
    SetVar - Sucessfuly changed the value of [%Win7CD%] to: [OK]
    IF - File exists: [U:\sources\boot.wim] evaluated string: [If,ExistFile,"%SourceDir%\sources\boot.wim",Echo,"Win7 DVD found [%SDIR%]"]
    Win7 DVD found [U:]
    Run - Processed section [Find-Win7] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    IF - [OK] is equal to: [OK] evaluated string: [If,%Win7CD%,Equal,"OK",run,%ScriptFile%,MountWin7]
    Run - Processing section: [MountWin7] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    IF - [ImageX] is equal to: [ImageX] evaluated string: [If,"%ImageTool%",Equal,"ImageX",run,%ScriptFile%,MountWin7-imagex]
    Run - Processing section: [MountWin7-imagex] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    "Mounting Windows Win7 boot.wim files with imagex.exe... "2
    ShellExecute: [Hide] using: ["F:\Program Files\Windows AIK\Tools\x86\imagex.exe"] with parameters: [/mount "U:\sources\boot.wim" 2 "%BaseDir%\Temp\Win7RescuePE\BootWimSrc"]
    [//Echo,%ExitCode%]
    IF - [2] is not equal to: [0] evaluated string: [If,"%ExitCode%",Equal,"0",Echo,"Mounting Windows Win7 boot.wim: success"]
    [//If,"%ExitCode%",NotEqual,"0",Echo,"Mounting Windows Win7 boot.wim: ERROR"]
    IF - [2] is not equal to: [0] evaluated string: [If,Not,%ExitCode%,EQUAL,0,Begin]
    Message: Mount Win7 boot.wim files with imagex.exe returned with 2
    Mount Win7 boot.wim files with imagex.exe returned with 2
    Run - Processed section [MountWin7-imagex] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Run - Processed section [MountWin7] in file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    Script time: 18 seconds and 250 miliseconds

    Finished processing script: PreConfig


    Project time: 20 seconds and 344 miliseconds
    OnBuildExit [Exec,%API%,Clean_2,COMMAND]
    Exec - Processing section: [Clean_2] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    with parameters: [COMMAND]
    AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win7RescuePE\Common_api.script] into the local variable list
    Run - Processing section: [Read_ENV%API_TYPE%] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    Run - Processing section: [Set_Api_Type] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    IF - [078.06] is not smaller than [077.102] evaluated string: [If,%Version%,Smaller,077.102,Begin]
    [Message,"Common_Api require Winbuilder 077RC2 Please update your version",ERROR,10]
    [Halt,"Wrong WB vesion"]
    [End]
    StrFormat - converted: [%Target_Win%] to variable: [%var%] with result: [windows]
    StrFormat - converted [POS(I386|Windows,%var%,%var1%)] to variable: [%var1%] with result: [6]
    StrFormat - converted [LEFT(I386|Windows,%var1%)] to variable: [%var2%] with result: [I386|W]
    StrFormat - converted [SPLIT(%var2%,|,0)] to variable: [%Case%] with result: [2]
    SetVar - Sucessfuly changed the value of [%API_TYPE%] to: [2]
    IF - [2] is equal to: [2] evaluated string: [If,%API_TYPE%,Equal,2,Begin]
    IF - Directory exists: [%BaseDir%\Projects\Win7RescuePE\Apps] evaluated string: [If,ExistDir,%ProjectDir%\Apps,Set,%_App_%,Apps,GLOBAL]
    SetVar - Sucessfuly changed the value of [%_App_%] to: [Apps]
    IF - Directory does not exist: [%BaseDir%\Projects\Win7RescuePE\Applications] evaluated string: [If,ExistDir,%ProjectDir%\Applications,Set,%_App_%,Applications,GLOBAL]
    ELSE - executing command: [Set,%_App_%,App,GLOBAL]
    SetVar - Sucessfuly changed the value of [%_App_%] to: [App]
    IF - [%OsType%] evaluated string: [If,Not,ExistVar,%OsType%,Set,%OsType%,Project,GLOBAL]
    SetVar - Sucessfuly changed the value of [%OsType%] to: [Project]
    [End]
    IF - [2] is not equal to: [0] evaluated string: [If,%API_TYPE%,Equal,0,Begin]
    [Message,"Unknown #$pTarget_Win#$p=#$pTargetDir#$p\%var% !!#$x Can not initialize #$pApi_Type#$p !!",ERROR]
    [Halt,"Can not initalize #$pApi_Type#$p !!"]
    [End]
    ELSE - executing command: [If,%WarnWhenSetApi%,Equal,True,Echo,"Set API_Type=%API_Type% (1=LiveXP - 2=Vista/Win7)",WARN]
    IF - [False] is not equal to: [True] evaluated string: [If,%WarnWhenSetApi%,Equal,True,Echo,"Set API_Type=%API_Type% (1=LiveXP - 2=Vista/Win7)",WARN]
    Run - Processed section [Set_Api_Type] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    Run - Processing section: [Read_ENV2] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    IF - [] is equal to: [] evaluated string: [If,Not,#1,Equal,,Begin]
    [If,#2,Equal,,IniRead,%ProjectInfo%,"%OsType%Info",#1,%#1%]
    [Else,IniRead,%ProjectInfo%,"%OsType%Info",#1,%#2%]
    [End]
    ELSE - executing command: [Begin]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Language] to variable: [%DistLang%] with value [de-DE]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [SourceDir] to variable: [%SDIR%] with value [J:]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [SourceType] to variable: [%SourceType%] with value [Win7CD]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [WimTools] to variable: [%WimTools%] with value [ImageX]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [SystemFiles] to variable: [%SystemFiles%] with value [E:\pcwWin7PE\Tools\Win7PE\Temp\Win7RescuePE\InstallWimSrc]
    IF - [ImageX] is equal to: [ImageX] evaluated string: [If,%WimTools%,Equal,ImageX,IniRead,%ProjectInfo%,%OsType%Info,imagex,%IMAGEX%]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [imagex] to variable: [%IMAGEX%] with value [C:\Programme\Windows AIK\Tools\x86\imagex.exe]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [BuildModel] to variable: [%BuildModel%] with value [RAM]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Shell] to variable: [%Shell%] with value [BS Explorer]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [ScreenResolution] to variable: [%ScreenResolution%] with value [1024x768]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Locale] to variable: [%Locale%] with value [Auto]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [SysType] to variable: [%SysType%] with value [x86]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [GrubSkin] to variable: [%GrubSkin%] with value [Text]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [ForceAllToRam] to variable: [%ForceAllToRam%] with value [No]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Drivers] to variable: [%Drivers%] with value [Both]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [IsoLinuxMode] to variable: [%IsoLinuxMode%] with value [Graphics]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [DllSrc] to variable: [%DllSrc%] with value []
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [WAIKDir] to variable: [%WAIKDir%] with value []
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [BootManager] to variable: [%BootManager%] with value [Grub4Dos]
    IniRead - [%BaseDir%\Projects\Win7RescuePE\project.ini] Section [ProjectInfo] Key [Type] to variable: [%Type%] with value []
    IF - [Win7CD] is not equal to: [] evaluated string: [If,%SourceType%,Equal,,Run,%API%,NotConfigured]
    [End]
    Run - Processed section [Read_ENV2] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    Run - Processed section [Read_ENV%API_TYPE%] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    IF - [COMMAND] is not equal to: [DONE] evaluated string: [If,#1,Equal,DONE,Begin]
    [If,%CBClean1%,Equal,True,Begin]
    [If,QUESTION,"Build successful.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    [Else,Run,%API%,UnMountWim]
    [End]
    IF - [COMMAND] is not equal to: [STOP] evaluated string: [If,#1,Equal,STOP,Begin]
    [If,%CBClean3%,Equal,True,Begin]
    [If,QUESTION,"Build stopped by user.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    [Else,Run,%API%,UnMountWim]
    [End]
    IF - [COMMAND] is not equal to: [ERROR] evaluated string: [If,#1,Equal,ERROR,Begin]
    [If,%CBClean5%,Equal,True,Begin]
    [If,QUESTION,"Build stopped due to an error.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    [Else,Run,%API%,UnMountWim]
    [End]
    IF - [COMMAND] is equal to: [COMMAND] evaluated string: [If,#1,Equal,COMMAND,Begin]
    IF - [True] is equal to: [True] evaluated string: [If,%CBClean7%,Equal,True,Begin]
    IF - No reply from: [True] evaluated string: [If,QUESTION,"Build stopped by script command.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    ELSE - [Run,%API%,UnMountWim]
    [End]
    IF - [COMMAND] is not equal to: [EXCEPTION] evaluated string: [If,#1,Equal,EXCEPTION,Begin]
    [If,%CBClean9%,Equal,True,Begin]
    [If,QUESTION,"Build stopped by exception.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    [Else,Run,%API%,UnMountWim]
    [End]
    IF - File does not exist: [%BaseDir%\Projects\Win7RescuePE\00-0priority.script] evaluated string: [If,ExistFile,"%ProjectDir%\00-0priority.script",Exec,"%ProjectDir%\00-0priority.script",SetDefault]
    [//IniDelete,%API%,Main,Interface]
    Exec - Processed section [Clean_2] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]






    You can post this log on the Boot Land forums whenever you need help to properly debug the errors on this project
    More detailed documentation can be found on our wiki

    WinBuilder © 2006-2009 Nuno Brito
     
  3. Rank28

    Rank28 ROM

    Hallo wsmfa
    Bei mir hat es auch nicht funktioniert, dann habe ich genau beobachtet, bei welchen Schritt die Fehlermeldung kam und diesen Punkt im Script deaktiviert. Nach 3 Durchläufen bin ich zum Ende gekommen. Leider ist meine CD daher nun nicht vollständig, läuft aber.
     
Thread Status:
Not open for further replies.

Share This Page