Seite 1 von 1

Syntax Error bei Skripten aus dem WIki

Verfasst: 30 Jan 2013, 18:59
von snmigerl
Hallo liebe Foren-User,

ich arbeite mich seit einigen Tagen in OPSI ein und eigentlich klappt alles soweit.

Was mir Probleme bereitet sind die Skripte aus dem Wiki.

Ich habe bereits drei verschiedene Skripte getestet und bei allen kommt es dazu, dass ich beim ausführen mehrere Syntax Error gemeldet bekomme.

In den entsprechenden Zeilen sind keine für mich erkennbaren Fehler zu finden.

Ich habe das Anlegen der Produkt mehrfach überprüft und es sieht alles gut aus.

Ich habe auch schon vermutet, dass es evtl. an verschiedenen Codepages oder Zeichensätzen usw. liegt und die Skripte mit verschiedenen Editoren bzw. Einstellungen gespeichert, aber ohne Erfolg.

Hat jemand eine Idee, auf was ich noch achten könnte?

Gruß

Michael

Re: Syntax Error bei Skripten aus dem WIki

Verfasst: 30 Jan 2013, 21:20
von tobias
da hilft nur eins entsprechenden code posten + das dazugehörige log ;)

Kann viele Gründe haben warum es zu Fehlern kommt
- Falsche WINST Version
- Falsche Ordner Struktur
- Fehler im Script aus dem Wiki (die sind nicht immer Fehlerfrei)
...
...
...

Re: Syntax Error bei Skripten aus dem WIki

Verfasst: 30 Jan 2013, 22:30
von snmigerl
Das werde ich morgen tun, wenn ich mir das ganze noch näher angesehen habe.

Habe jetzt auch drei Tage lang an dem Skript zum Domänenbeitritt per Powershell gesessen, bis ich alle Fehler im Skript beseitigt hatte.

Ich hatte nur gehofft, dass es irgendetwas triviales gibt, auf das ich einfach noch achten sollte... ;-)

Ich werde es mir morgen noch einmal genau ansehen und versuchen rauszufinden, was die "angemeckerten" Zeilen in den drei Skripten die ich getestet habe gemeinsam haben. Evtl. hilft mir das ja weiter.

Pakete die fertig zum Donwload waren laufen im übrigen problemlos.

Trotzdem schonmal danke...

Michael

Re: Syntax Error bei Skripten aus dem WIki

Verfasst: 31 Jan 2013, 08:31
von snmigerl
Irgendend etwas passt da leider immer noch nicht...

Hier jetz mal die entsprechenden Code-AUsschnitte und die Fehler aus dem Log:

Setup.ins:

Code: Alles auswählen

[Initial]
setLogLevel=9
;  Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=false

[Actions]
requiredWinstVersion >= "4.10.8.6"

DefVar $UninstallProgram32$
DefVar $UninstallProgram64$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir32$
DefVar $InstallDir64$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $Version$
DefVar $Inst_Cmd32$
DefVar $Inst_Cmd64$
DefVar $Uninst_Cmd32$
DefVar $Uninst_Cmd64$
DefVar $Inst_Prg$
DefVar $Uninst_Prg$
DefVar $LogDir$
DefVar $opsiadminuser$
DefVar $opsiadminpwd$

Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"

; ----------------------------------------------------------------
; - Please edit the following values                             -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$       = "dotNetFX"
Set $Version$         = "4.0"
Set $MinimumSpace$    = "55 MB"
; the path were we find the product after the installation
Set $InstallDir32$    = "%Systemroot%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended\"
Set $InstallDir64$    = "%Systemroot%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Extended\"
Set $LicenseRequired$ = "false"
Set $LicensePool$     = "p_" + $ProductId$
Set $Inst_Prg$        = "dotNetFx40_Full_x86_x64.exe"
Set $Inst_Cmd32$      = '/passive /norestart'
Set $Inst_Cmd64$      = 'NOT NEEDED HERE!'
Set $Uninst_Cmd32$    = '/uninstall /x86 /x64 /ia64 /parameterfolder Extended /passive /norestart'
Set $Uninst_Cmd64$    = '/uninstall /x86 /x64 /ia64 /parameterfolder Extended /passive /norestart'
Set $Uninst_Prg$        = "setup.exe"
Set $opsiadminuser$ = "opsiSetupAdmin"
Set $opsiadminpwd$ = randomstr
; ----------------------------------------------------------------
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
        LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
        isFatalError
        ; Stop process and set installation status to failed
else
        comment "Show product picture"
        ShowBitmap "%ScriptPath%\" + $ProductId$ + ".jpg" $ProductId$+" "+$Version$

        if FileExists("%ScriptPath%\delsub.ins")
                comment "Start uninstall sub section"
                Sub "%ScriptPath%\delsub.ins"
        endif

        if $LicenseRequired$ = "true"
                comment "Licensing required, reserve license and get license key"
                Sub_get_licensekey
        endif

        comment "installing"
 
        Message "Copying Setup to Disk..."
        FilesCopy
        Message "Installing " + $ProductId$ + " 32 Bit..."
        comment "Start setup program"
        DosBatchUserdel
        DosBatchUseradd
        DefStringList $res$
        Set $res$ = getOutStreamFromSection("ExecWithSetup '%ScriptPath%\AutoIt3.exe' WINST")
        if count($res$) = "1"
            DefVar $e$
            Set $e$ = takeString(0, $res$)
            Comment "setup exit code: " + $e$
            if ($e$ = "1614") or ($e$ = "3010")
                ExitWindows /Reboot
            endif
        else
            LogError "Fatal: Setup did not return exit code!"
            IsFatalError
        endif
        DosBatchUserdel
        ; Ok, let's check, if .Net Framework was installed...
        if not(FileExists("%systemroot%\Microsoft.NET\Framework\v4.0.30319"))
            LogError "Fatal: Framework not found!"
            IsFatalError
        endif
        FilesDelete
        Sub_check_exitcode

endif

[FilesCopy]
copy "%ScriptPath%\dotNetFx40_Full_x86_x64.exe" "$LogDir$"

[DosBatchUseradd]
net user "$opsiadminuser$" "$opsiadminpwd$" /add
net localgroup Administratoren /add "$opsiadminuser$"

[DosBatchUserdel]
net user "$opsiadminuser$" /delete
rmdir /s /q "%ProfileDir%\$opsiadminuser$"
 
[ExecWithSetup]
; http://msdn.microsoft.com/library/ee942965%28v=VS.100%29.aspx
; return exit code via stdout as winst cannot read exit codes from ExecWith
$ExitCode = RunAsWait("$opsiadminuser$", @ComputerName, "$opsiadminpwd$", 1, _
  '"$LogDir$\$Inst_Prg$" $Inst_Cmd32$')
if not @error then
  ConsoleWrite($exitcode)
endif

[FilesDelete]
delete "$LogDir$/$Inst_Prg$"

[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
        comment "Looks good: setup program gives exitcode zero"
else
        comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
        if ($ExitCode$ = "1605")
                comment "ERROR_UNKNOWN_PRODUCT  1605    This action is only valid for products that are currently installed."
                comment "Uninstall of a not installed product failed - no problem"
        else
                if ($ExitCode$ = "1641")
                        comment "looks good: setup program gives exitcode 1641"
                        comment "ERROR_SUCCESS_REBOOT_INITIATED 1641    The installer has initiated a restart. This message is indicative of a success."
                else
                        if ($ExitCode$ = "3010")
                                comment "looks good: setup program gives exitcode 3010"
                                comment "ERROR_SUCCESS_REBOOT_REQUIRED  3010    A restart is required to complete the install. This message is indicative of a success."
                        else
                                logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
                                isFatalError
                        endif
                endif
        endif
endif
delsub.ins:

Code: Alles auswählen

Set $UninstallProgram32$ = $InstallDir32$+"\"+$Uninst_Prg$
Set $UninstallProgram64$ = $InstallDir64$+"\"+$Uninst_Prg$

Set $UninstallProgram32_2$ = $InstallDir32_2$+"\"+$Uninst_Prg$
Set $UninstallProgram64_2$ = $InstallDir64_2$+"\"+$Uninst_Prg$
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Uninstalling " + $ProductId$ + " 32 Bit..."

        if FileExists($UninstallProgram32$)
                comment "Uninstall program found, starting uninstall"
                Winbatch_uninstall_32
                comment "Removing "+$InstallDir32$
                Files_uninstall_32
                sub_check_exitcode
        endif
endif
 
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Uninstalling " + $ProductId$ + " 64 Bit..."
 
        if FileExists($UninstallProgram64$)
                comment "Uninstall program found, starting uninstall"
                Winbatch_uninstall_64
                comment "Removing "+$InstallDir64$
                Files_uninstall_64
                sub_check_exitcode
        endif
endif
 
[Winbatch_uninstall_32]
$UninstallProgram32$ $Uninst_Cmd32$
$UninstallProgram32_2$ $Uninst_Cmd32_2$

[Winbatch_uninstall_64]
$UninstallProgram64$ $Uninst_Cmd64$
$UninstallProgram64_2$ $Uninst_Cmd64_2$

[Files_uninstall_32]
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
;
delete -sf "$InstallDir32$\"

[Files_uninstall_64]
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
;
delete -sf "$InstallDir64$\"

[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
        comment "Looks good: setup program gives exitcode zero"
else
        comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
        if ($ExitCode$ = "1605")
                comment "ERROR_UNKNOWN_PRODUCT  1605    This action is only valid for products that are currently installed."
                comment "Uninstall of a not installed product failed - no problem"
        else
                if ($ExitCode$ = "1641")
                        comment "looks good: setup program gives exitcode 1641"
                        comment "ERROR_SUCCESS_REBOOT_INITIATED 1641    The installer has initiated a restart. This message is indicative of a success."
                else
                        if ($ExitCode$ = "3010")
                                comment "looks good: setup program gives exitcode 3010"
                                comment "ERROR_SUCCESS_REBOOT_REQUIRED  3010    A restart is required to complete the install. This message is indicative of a success."
                        else
                                logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
                                isFatalError
                        endif
                endif
        endif
endif
Hier die Fehlermeldungen:
[5] [Jan 31 08:28:52:869] --
[5] [Jan 31 08:28:52:870] --
[1] [Jan 31 08:28:52:871] opsi-winst 4.11.3.3 started at 31.01.2013 08:28:43
[1] [Jan 31 08:28:52:876]
[1] [Jan 31 08:28:52:878] ============ Version 4.11.3.3 WIN32 script "\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\setup.ins"
[1] [Jan 31 08:28:52:879] start: 2013-01-31 08:28:52
[1] [Jan 31 08:28:52:880] on client named "OWIN7-N1"
[1] [Jan 31 08:28:52:882] loggedin user "Administrator"
[1] [Jan 31 08:28:52:884] winst running as "Administrator"
[1] [Jan 31 08:28:52:885] winst running with admin privileges
[1] [Jan 31 08:28:52:886] winst running in standard script mode
[1] [Jan 31 08:28:52:888] [executing: "C:\Program Files\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [Jan 31 08:28:52:890] system infos:
[1] [Jan 31 08:28:52:900] 00-22-19-08-D5-8A - PC hardware address
[1] [Jan 31 08:28:52:905] OWIN7-N1.schule.dbs-neustadt.tsc - IP name
[1] [Jan 31 08:28:52:910] 172.16.10.8 - IP address
[1] [Jan 31 08:28:52:915] DEU - System default locale
[1] [Jan 31 08:28:52:920] MS Windowds 6.1 32 Bit
[1] [Jan 31 08:28:52:925]
[1] [Jan 31 08:28:53:047] LogLevel was 6
[1] [Jan 31 08:28:53:052] LogLevel set to 9
[5] [Jan 31 08:28:53:055] ExitOnError was True is set to false
[5] [Jan 31 08:28:53:059] ReportMessages was True is set to false
[5] [Jan 31 08:28:53:075]
[5] [Jan 31 08:28:53:079] Set $INST_SystemType$ = GetSystemType
[5] [Jan 31 08:28:53:096]
[5] [Jan 31 08:28:53:099] Set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
[5] [Jan 31 08:28:53:109]
[5] [Jan 31 08:28:53:113] Set $LogDir$ = "C:\tmp"
[5] [Jan 31 08:28:53:122]
[5] [Jan 31 08:28:53:126] Set $ProductId$ = "dotNetFX"
[5] [Jan 31 08:28:53:134]
[5] [Jan 31 08:28:53:138] Set $Version$ = "4.0"
[5] [Jan 31 08:28:53:147]
[5] [Jan 31 08:28:53:151] Set $MinimumSpace$ = "55 MB"
[5] [Jan 31 08:28:53:160]
[5] [Jan 31 08:28:53:163] Set $InstallDir32$ = "C:\Windows\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended\"
[5] [Jan 31 08:28:53:173]
[5] [Jan 31 08:28:53:177] Set $InstallDir64$ = "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Extended\"
[5] [Jan 31 08:28:53:186]
[5] [Jan 31 08:28:53:190] Set $LicenseRequired$ = "false"
[5] [Jan 31 08:28:53:199]
[5] [Jan 31 08:28:53:203] Set $LicensePool$ = "p_" + $ProductId$
[5] [Jan 31 08:28:53:211]
[5] [Jan 31 08:28:53:215] Set $Inst_Prg$ = "dotNetFx40_Full_x86_x64.exe"
[5] [Jan 31 08:28:53:224]
[5] [Jan 31 08:28:53:228] Set $Inst_Cmd32$ = '/passive /norestart'
[5] [Jan 31 08:28:53:237]
[5] [Jan 31 08:28:53:242] Set $Inst_Cmd64$ = 'NOT NEEDED HERE!'
[5] [Jan 31 08:28:53:250]
[5] [Jan 31 08:28:53:254] Set $Uninst_Cmd32$ = '/uninstall /x86 /x64 /ia64 /parameterfolder Extended /passive /norestart'
[5] [Jan 31 08:28:53:263]
[5] [Jan 31 08:28:53:267] Set $Uninst_Cmd64$ = '/uninstall /x86 /x64 /ia64 /parameterfolder Extended /passive /norestart'
[5] [Jan 31 08:28:53:276]
[5] [Jan 31 08:28:53:280] Set $Uninst_Prg$ = "setup.exe"
[5] [Jan 31 08:28:53:289]
[5] [Jan 31 08:28:53:293] Set $opsiadminuser$ = "opsiSetupAdmin"
[5] [Jan 31 08:28:53:302]
[5] [Jan 31 08:28:53:306] Set $opsiadminpwd$ = randomstr
[5] [Jan 31 08:28:53:315]
[5] [Jan 31 08:28:53:318] If
[5] [Jan 31 08:28:53:327] HasMinimumSpace ("C:", $MinimumSpace$) <<< result true
[5] [Jan 31 08:28:53:331] not(HasMinimumSpace ("C:", $MinimumSpace$)) <<< result false
[5] [Jan 31 08:28:53:335] Then
[5] [Jan 31 08:28:53:339]
[5] [Jan 31 08:28:53:343] Else
[5] [Jan 31 08:28:53:347] comment: Show product picture
[5] [Jan 31 08:28:53:455]
[5] [Jan 31 08:28:53:459] If
[5] [Jan 31 08:28:53:470] FileExists("\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\delsub.ins") <<< result true
[5] [Jan 31 08:28:53:474] Then
[5] [Jan 31 08:28:53:478] comment: Start uninstall sub section
[5] [Jan 31 08:28:53:501]
[5] [Jan 31 08:28:53:505] Set $UninstallProgram32$ = $InstallDir32$+"\"+$Uninst_Prg$
[5] [Jan 31 08:28:53:514]
[5] [Jan 31 08:28:53:518] Set $UninstallProgram64$ = $InstallDir64$+"\"+$Uninst_Prg$
[5] [Jan 31 08:28:53:527]
[5] [Jan 31 08:28:53:531] Set $UninstallProgram32_2$ = $InstallDir32_2$+"\"+$Uninst_Prg$
[2] [Jan 31 08:28:53:536] Syntax Error in Section: Sub "\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\delsub.ins" (Command in line 5): $UninstallProgram32_2$ = $InstallDir32_2$+"\"+$Uninst_Prg$ -> Variable unbekannt
[5] [Jan 31 08:28:55:268]
[5] [Jan 31 08:28:55:278] Set $UninstallProgram64_2$ = $InstallDir64_2$+"\"+$Uninst_Prg$
[2] [Jan 31 08:28:55:289] Syntax Error in Section: Sub "\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\delsub.ins" (Command in line 6): $UninstallProgram64_2$ = $InstallDir64_2$+"\"+$Uninst_Prg$ -> Variable unbekannt
[5] [Jan 31 08:28:55:746]
[5] [Jan 31 08:28:55:754] If
[5] [Jan 31 08:28:55:759] $INST_SystemType$ = "x86 System" <<< result true
[5] [Jan 31 08:28:55:764] $INST_architecture$ = "system specific" <<< result true
[5] [Jan 31 08:28:55:769] ($INST_architecture$ = "system specific") <<< result true
[5] [Jan 31 08:28:55:774] ($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific") <<< result true
[5] [Jan 31 08:28:55:778] $INST_architecture$ = "both" <<< result false
[5] [Jan 31 08:28:55:783] $INST_architecture$ = "32 only" <<< result false
[5] [Jan 31 08:28:55:787] ($INST_architecture$ = "32 only") <<< result false
[5] [Jan 31 08:28:55:791] ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") <<< result false
[5] [Jan 31 08:28:55:795] (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") <<< result true
[5] [Jan 31 08:28:55:800] Then
[5] [Jan 31 08:28:55:805] message Uninstalling dotNetFX 32 Bit...
[5] [Jan 31 08:28:55:810]
[5] [Jan 31 08:28:55:814] If
[5] [Jan 31 08:28:55:824] "C:\Windows\Microsoft.NET\Framework\v4.0.30319\SetupCache\Extended\\setup.exe": File Error 3 (Das System kann den angegebenen Pfad nicht finden.<)
[5] [Jan 31 08:28:55:828] FileExists($UninstallProgram32$) <<< result false
[5] [Jan 31 08:28:55:832] Then
[5] [Jan 31 08:28:55:837] EndIf
[5] [Jan 31 08:28:55:841] EndIf
[2] [Jan 31 08:28:55:846] Syntax Error in Section: Sub "\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\delsub.ins" (Command in line 18):   -> undefined
[5] [Jan 31 08:28:56:266]
[5] [Jan 31 08:28:56:275] If
[5] [Jan 31 08:28:56:284] $INST_SystemType$ = "64 Bit System" <<< result false
[5] [Jan 31 08:28:56:290] $INST_architecture$ = "system specific" <<< result true
[5] [Jan 31 08:28:56:294] $INST_architecture$ = "both" <<< result false
[5] [Jan 31 08:28:56:298] $INST_architecture$ = "64 only" <<< result false
[5] [Jan 31 08:28:56:301] ($INST_architecture$ = "64 only") <<< result false
[5] [Jan 31 08:28:56:305] ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only") <<< result false
[5] [Jan 31 08:28:56:309] ($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only") <<< result true
[5] [Jan 31 08:28:56:313] (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) <<< result true
[5] [Jan 31 08:28:56:317] ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) <<< result false
[5] [Jan 31 08:28:56:321] Then
[5] [Jan 31 08:28:56:325]
[5] [Jan 31 08:28:56:329] If
[5] [Jan 31 08:28:56:333] Then
[5] [Jan 31 08:28:56:338] EndIf
[5] [Jan 31 08:28:56:342] EndIf
[2] [Jan 31 08:28:56:345] Syntax Error in Section: Sub "\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\delsub.ins" (Command in line 30):   -> undefined
[5] [Jan 31 08:28:56:801] EndIf
[5] [Jan 31 08:28:56:805]
[5] [Jan 31 08:28:56:808] If
[5] [Jan 31 08:28:56:813] $LicenseRequired$ = "true" <<< result false
[5] [Jan 31 08:28:56:816] Then
[5] [Jan 31 08:28:56:821] EndIf
[5] [Jan 31 08:28:56:834] comment: installing
[2] [Jan 31 08:28:56:847] Syntax Error in Section: Actions (Command in line 84):   -> undefined
[5] [Jan 31 08:28:57:293] message Copying Setup to Disk...
[5] [Jan 31 08:28:57:298]
[5] [Jan 31 08:28:57:301] Execution of FilesCopy
[5] [Jan 31 08:28:57:317] 1 File(s) found
[5] [Jan 31 08:29:01:634] 1 File(s) treated
[5] [Jan 31 08:29:01:640] message Installing dotNetFX 32 Bit...
[5] [Jan 31 08:29:01:645] comment: Start setup program
[5] [Jan 31 08:29:01:649]
[5] [Jan 31 08:29:01:653] Execution of DosBatchUserdel
[5] [Jan 31 08:29:02:131]
[5] [Jan 31 08:29:02:136] Execution of DosBatchUseradd
[5] [Jan 31 08:29:02:530]
[5] [Jan 31 08:29:02:534] Set $res$ = getOutStreamFromSection("ExecWithSetup '\\debianopsi\opsi_workbench\netfx40\CLIENT_DATA\AutoIt3.exe' WINST")
[5] [Jan 31 08:29:02:539]
[5] [Jan 31 08:29:02:542] Execution of ExecWithSetup
[5] [Jan 31 08:29:04:905]
[5] [Jan 31 08:29:04:908] If
[5] [Jan 31 08:29:04:919] count($res$) = "1" <<< result false
[5] [Jan 31 08:29:04:922] Then
[5] [Jan 31 08:29:04:926]
[5] [Jan 31 08:29:04:929] If
[5] [Jan 31 08:29:04:933] Then
[5] [Jan 31 08:29:04:936] EndIf
[5] [Jan 31 08:29:04:940]
[5] [Jan 31 08:29:04:943] Else
[3] [Jan 31 08:29:04:947] Error: Fatal: Setup did not return exit code!
[5] [Jan 31 08:29:04:950] Error level set to fatal
[5] [Jan 31 08:29:04:953] Process aborted
[1] [Jan 31 08:29:04:964] ___________________
[1] [Jan 31 08:29:04:967] script finished
[1] [Jan 31 08:29:04:970] 6 errors
[1] [Jan 31 08:29:04:973] 0 warnings
[1] [Jan 31 08:29:04:976]
[1] [Jan 31 08:29:04:979]
Vermutlich sehe ich den Wald vor lauter Bäumen nicht, aber vieleicht kann mir ja jemand die Augen öffnen... ;-)

Danke schon mal...

Michael