cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sbrown
Level 6

Silent Install does not perform correctly

I am using IS2008 Pro, Installscript MSi project.
My iss files has this as selected components:
[{7D7AD192-7938-4952-A289-DBE486F77730}-SdComponentTree-0]
szDir=C:\Program Files\Me\
server-type=string
server-count=2
server-0=server\server.help
server-1=server\s_EN
portal-type=string
portal-count=2
portal-0=portal\Help
portal-1=portal\p_EN
Component-type=string
Component-count=3
Component-0=server
Component-1=portal
Component-2=web_services
Result=1

I did not select Feature B.
However in my script I have:
if FeatureIsItemSelected(MEDIA, "B") then
nResult = DialogAskAPILocation(sAPILocation);
endif;


Feature B is not selected however the code steps into this dialog as though it is. Any suggestions?
Labels (1)
0 Kudos
(1) Reply
ChandanOmkar
Level 8

The same problem was happening with me.. The silent install is treating the features as TRUE even if they are not selected....

I had some conditional dialogs which are not required for silent install, so i put conditions on those dialogs : if(MODE != SILENTMODE) , and this worked for me. After debugging the code it seems that silent install treats that all components are selected. In the IS KB articles it is mentioned that this is an issue with installshield.
0 Kudos