Ich verwende die funktion 'FeatureIsItemSelected()' im IS 2008
Code:
nResult = FeatureIsItemSelected (MEDIA, "PHP");
if nResult = 1 then
SprintfBox ( INFORMATION, "Test", "PHP selectiert");
else
SprintfBox ( INFORMATION, "Test", "PHP nicht selectiert");
endif;
Ich bekomme in nResult den Wert 132 zurück.
Die Testfunktion wird direkt nach InstallWelcome aufgerufen.
Das Feature 'PHP' ist das erste Element (Kein Sub)
Wenn selektiert möchte ich das PHP-Setup im script aufrufen.
Ich bin sicher das ich etwas falsch mache. Aber was ?
Ich bitte um einen Tipp !
Tschau !
Edited by klaus_s_aus_h, 21 August 2008 - 11:29.