1.) During my install I want an option "configuration" screen to appear if the component is selected.
2.) I know how to display a dalog based off a condition; however, there seems to be no easy way to set a property when a feature is selected.
3.)I am attempting to use the following InstallScript:#include "Isrt.h"
export prototype IVServer_state();
function IVServer_state()
STRING szComponentSource, szComponent, svResult;
NUMBER nInfo, nvResult, nvTemp;
begin
szComponentSource="DATA";
szComponent="ImageVision\\ImageVision Server";
nInfo=COMPONENT_FIELD_SELECTED;
ComponentGetData(szComponentSource, szComponent, nInfo, nvResult, svResult);
if nvResult = 0 then return 0;
else return 1;
endif;
end;
Here are my concerns:
- I can't seem to make this do anything. Ive tried adding:
MessageBox(svResult, INFORMATION)
before the return statements to no avail. (to see if anything was being accomplished)
- How can I set a property within IS from a script?
- Any one have any exmples of GetComponentData?
Any help woul'd be greatly appreciated!