ok(iState==INSTALLSTATE_DEFAULT||iState==INSTALLSTATE_ADVERTISED,"Installer_ProductState returned %d, expected %d or %d",iState,INSTALLSTATE_DEFAULT,INSTALLSTATE_ADVERTISED);
}
ok(iState==INSTALLSTATE_DEFAULT||iState==INSTALLSTATE_ADVERTISED,"Installer_ProductState returned %d, expected %d or %d",iState,INSTALLSTATE_DEFAULT,INSTALLSTATE_ADVERTISED);
}
}
/* StringList::Item using an invalid index */
memset(szPath,0,sizeof(szPath));
hr=StringList_Item(pStringList,iCount,szPath);
ok(hr==DISP_E_BADINDEX,"StringList_Item for an invalid index did not return DISP_E_BADINDEX, hresult 0x%08x\n",hr);
/* StringList::Item using an invalid index */
memset(szPath,0,sizeof(szPath));
hr=StringList_Item(pStringList,iCount,szPath);
ok(hr==DISP_E_BADINDEX,"StringList_Item for an invalid index did not return DISP_E_BADINDEX, hresult 0x%08x\n",hr);
IDispatch_Release(pStringList);
}
IDispatch_Release(pStringList);
}
/* Installer::ProductState for our product code, which should not be installed */