I've written a CA with IS script:
// Loop while list items continue to be retrieved.
while (svResult != END_OF_LIST)
svResult = MsiSetComponentState(hMSI, svComponent, INSTALLSTATE_SOURCE);
if svResult != ERROR_SUCCESS then
// Get the next string in the list.
svResult = ListGetNextString (lComponents, svComponent);
This runs without errors, and the List is created + filled earlier in the CA.
The CA is placed twice in the Sequence
1 in the UI before ExecuteAction
2 in the Execute after CostFinalyze
In the UI I can choose two different options which has some impact on the component list that I create lateron.
Has someone suggestions to get this working?