Fehler:
$ExitCodeList$ = getOutStreamFromSection('DosInAnIcon_uninstall_activex')
Section "DosInAnIcon_uninstall_activex" not found
Code: Alles auswählen
; Prüfen was deinstalliert werden soll
if $ToUninstall$ = "activex"
if not ( $ExeFile_ActiveX$ = "" ) AND FileExistsSysNative ( $ExeFile_ActiveX$ )
Message "Deinstallation wird gestartet..."
if $OSArch$ = "x86 System"
Winbatch_uninstall_activex
sub "%scriptdrive%\install\check_exitcode\check_msi-exitcode.ins"
else
;DosInAnIcon_uninstall_activex /64bit
Set $ExitCodeList$ = getOutStreamFromSection ('DosInAnIcon_uninstall_activex')
Set $ExitCode$ = takeString (0,$ExitCodeList$)
if not ( $ExitCode$ = "" )
LogError $ExitCode$
isFatalError
endif
endif
else
Comment "Flashplayer ActiveX ist nicht installiert! Fahre fort...
endif
endif
...
[DosInAnIcon_uninstall_activex]
@echo off
"$ExeFile_ActiveX$" $ExeFileArgs$
Lösung:
Das Problem kommt von einem bekannten Bug der auftritt, wenn man mit der Funktion getOutStreamFromSection() eine Section in einem SubScript aufruft.
Wird die aufzurufende Section im Main-Script definiert, tritt der Fehler nicht auf.