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

WinBuilder "invalid basedir"

Discussion in 'PC-WELT Tools und Scripte' started by prefontaine, Mar 16, 2010.

Thread Status:
Not open for further replies.
  1. Moin,

    ich wollt mir gerade das ISO File erstellen und klicke auf CheckSource. Dann gibt er mir folgende Fehlernachricht: Invalid BaseDir!
    Don't use a folder under 'UserProfiles' as BaseDir!

    Hoffe ihr könnt mir helfen, vielen Dank schonmal im Voraus.
    Hier noch der Log (hoffe jemand kann das entziffern, weil ich habe keine Ahnung). :D

    Processing section: [Info] in file: [PreConfig]

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

    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]
    ExtractFile - [WimInfo.exe] to: [%BaseDir%\Projects\Tools]
    ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\WimInfo.exe] with parameters: ["-W:E:\sources\install.wim" "-s:%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script" -b:pScrollBox1]
    ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\WimInfo.exe] with parameters: ["-W:E:\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%=E:]
    Run - Processing section: [SetVars] From file: [%BaseDir%\Projects\Win7RescuePE\Build\0-preconfig.script]
    StrFormat - converted [SPLIT(%pScrollBox1%,:,1)] to variable: [%WimIndexInstall%] with result: [5]
    SetVar - Sucessfuly changed the value of [%WimIndexInstall%] to: [5]
    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]

    Finished processing script: PreConfig (0-preconfig.script)

    Script time: 8 seconds and 892 miliseconds

    Script has been sucessfully processed!
     
  2. pcwFrusty

    pcwFrusty Byte

    du musst das Projekt im Hauptverzeichnis einer Festplatte oder Partition ausführen. Schau mal in die "Fragen zu pcwWin7PE".

    Gruß
    Frusty
     
  3. Vielen Dank hat super geklappt. Jetzt wollt ich das ISO denn auch endlich mal erstellen, aber zack neuer Fehler. Der Vorgang wird bei Avira Antivir abgebrochen. Ich hab vom Fehlerlog mal nur den Teil von Antivir kopiert und gepostet. Hoffe Ihr könnt mir wieder aus der Patsche helfen.

    Vielen Dank im Voraus.

    Log:
    Avira AntiVir Personal Edition Classic 9

    File [%BaseDir%\Projects\Win7RescuePE\Apps\Security\AntiVirus\Avira9.script] Version[14]

    Processing Avira AntiVir Desktop...
    Run - Processing section: [Run_FromRam2] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    with parameters: [True]
    IF - [FalseTrue] is equal to: [FalseTrue] evaluated string: [If,%AtRam%#1,Equal,FalseTrue,Begin]
    SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\Target\Win7RescuePE\Program#$sFiles]
    IF - [Win7RescuePE] is not equal to: [Leopard] evaluated string: [If,%ProjectName%,Equal,"Leopard",Set,"%PE_Programs%","X:\Program#$sFiles"]
    ELSE - executing command: [Set,%PE_Programs%,#$pSystemDrive#$p\Program#$sFiles]
    SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [#$pSystemDrive#$p\Program#$sFiles]
    SetVar - Sucessfuly changed the value of [%PE_Cfg%] to: [%BaseDir%\Target\Win7RescuePE\windows\system32\Win7PE.cfg]
    [End]
    Run - Processed section [Run_FromRam2] in file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    Run - Processing section: [CheckUpdate] From file: [%BaseDir%\Projects\Win7RescuePE\Apps\Security\AntiVirus\Avira9.script]
    IF - [False] is not equal to: [True] evaluated string: [If,%pAlwaysUpdate%,EQUAL,True,Run,%ScriptFile%,Download]
    ELSE - executing command: [Begin]
    IF - File does not exist: [%BaseDir%\Workbench\Common\Avira\AntiVir Desktop\avcenter.exe] evaluated string: [If,NotExistFile,"%GlobalTemplates%\%ProgramFolder%\%ProgramEXE%",Run,%ScriptFile%,Download]
    Run - Processing section: [Download] From file: [%BaseDir%\Projects\Win7RescuePE\Apps\Security\AntiVirus\Avira9.script]
    Download Avira AntiVir Desktop...
    make1 %BaseDir%\Workbench\Common\Avira\AntiVir Desktop...
    make2 %BaseDir%\Temp\Avira\AntiVir Desktop...
    IF - Directory exists: [%BaseDir%\Temp\Avira\AntiVir Desktop] evaluated string: [If,EXISTDIR,"%TmpFolder%",DirDelete,"%TmpFolder%"]
    DirDelete - Deleted directory [%BaseDir%\Temp\Avira\AntiVir Desktop]
    IF - Directory exists: [%BaseDir%\Workbench\Common\Avira\AntiVir Desktop] evaluated string: [If,EXISTDIR,"%ProgramTemplate%",DirDelete,"%ProgramTemplate%"]
    DirDelete - Deleted directory [%BaseDir%\Workbench\Common\Avira\AntiVir Desktop]
    [//DirMake,"%TmpFolder%"]
    DirMake - Created directory: [%BaseDir%\Workbench\Common\Avira\AntiVir Desktop]
    SetVar - Sucessfuly changed the value of [%downloadName%] to: [download.zip]
    WebGet - [http://dlce.antivir.com/package/wks_avira/win32/de/pecl/avira_antivir_personal_de.zip] to directory: [%BaseDir%\Temp\Avira\AntiVir Desktop\download.zip] Socket Error # 10060 Connection timed out.
    Halt
    Run - Processed section [Download] in file: [%BaseDir%\Projects\Win7RescuePE\Apps\Security\AntiVirus\Avira9.script]
    Run - Processed section [CheckUpdate] in file: [%BaseDir%\Projects\Win7RescuePE\Apps\Security\AntiVirus\Avira9.script]
    Script time: 22 seconds and 131 miliseconds

    Finished processing script: Avira AntiVir Personal Edition Classic 9


    Project time: 9 minutes, 27 seconds and 691 miliseconds
    OnBuildExit [Exec,%API%,Clean_2,ERROR]
    Exec - Processing section: [Clean_2] From file: [%BaseDir%\Projects\Win7RescuePE\Common_api.script]
    with parameters: [ERROR]
    AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win7RescuePE\Common_api.script] into the local variable list
    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 [E:]
    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 [%BaseDir%\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 [D:\Matze\WinRep\WAIK\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]
    IF - [ERROR] 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 - [ERROR] 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 - [ERROR] is equal to: [ERROR] evaluated string: [If,#1,Equal,ERROR,Begin]
    IF - [True] is equal to: [True] evaluated string: [If,%CBClean5%,Equal,True,Begin]
    IF - No reply from: [True] evaluated string: [If,QUESTION,"Build stopped due to an error.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    ELSE - [Run,%API%,UnMountWim]
    [End]
    IF - [ERROR] is not equal to: [COMMAND] evaluated string: [If,#1,Equal,COMMAND,Begin]
    [If,%CBClean7%,Equal,True,Begin]
    [If,QUESTION,"Build stopped by script command.#$x#$x#$sUnmount Wim ?",10,True,Run,%API%,UnMountWim]
    [End]
    [Else,Run,%API%,UnMountWim]
    [End]
    IF - [ERROR] 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]
     
Thread Status:
Not open for further replies.

Share This Page