Installations- / Skript-Abbruch
Verfasst: 13 Jun 2014, 10:57
Hallo zusammen!
Folgender Ausschnitt aus meinem Skript zur Erklärung:
Wenn Installation 1 mit einem ErrorCde z.B. 1603 endet, ist es dann üblich, dass Installation 2 gar nicht erst angefangen wird???
Folgender Ausschnitt aus meinem Skript zur Erklärung:
PROPERTY1 und PROPERTY2 sind in diesem Fall mal nur Platzhalter für die Originalwerte, aber für meine Frage dürfte das ausreichen:; Installation 1
if (($INST_SystemType$ = "64 Bit System") and ($INST_architecture$ = "system specific") and ($PROPERTY1$ = "yes"))
comment "Install PROPERTY1"
Winbatch_Install_64_PROPERTY1
Sub_check_exitcode
else
comment "PROPERTY1 not needed"
endif
; Installation 2
if (($INST_SystemType$ = "64 Bit System") and ($INST_architecture$ = "system specific") and ($PROPERTY2$ = "yes"))
comment "Install PROPERTY2"
Winbatch_Install_64_PROPERTY1
Sub_check_exitcode
else
comment "PROPERTY2 not needed"
endif
Wenn Installation 1 mit einem ErrorCde z.B. 1603 endet, ist es dann üblich, dass Installation 2 gar nicht erst angefangen wird???