PDA

View Full Version : Help required on Silent Installation



jagdishprabhu
10-22-2003, 09:20 AM
I have a problem in silent installation of a component based project. I do recording to form an iss file. I have used sdComponentTree to selecting / deselecting certian items. The script reads it properly but does not take deselections into considerations. It installs everything.

My iss file looks like below for that tree deselection :
[{8CC14B60-2B3B-11D6-B3DB-0050BA3C611D}-SdComponentTree-0]
szDir=C:\Program Files\EGSoft\Yield Mask
Client-type=string
Client-count=5
Client-0=Client\MaskMapComponent
Client-1=Client\DatasetBuilderComponent
Client-2=Client\MaskGalleryComponent
Client-3=Client\ImageGalleryComponent
Client-4=Client\ChartComponent
SystemComponent-type=string
SystemComponent-count=1
SystemComponent-0=SystemComponent\ProxyStubs
Component-type=string
Component-count=2
Component-0=Client
Component-1=SystemComponent
Result=1

Now while reading i use:
if (MODE=SILENTMODE) then
SdMakeName(svSection,"SdComponentTree","",nComponentTree);
SilentReadData(svSection, "szDir", SilentReadData(svSection, "Component-0", DATA_STRING,svSys, nTemp );

When i use DATA_COMPONENT it aborts.
Kindly suggest what could be the problem?