installshield - Using Instal Shield how can one install an applcaition(file transfer,prerequiste) through custom dialog checkbox -
i trying install 3 application creating custom dialog .within custom dialog there checkbox , onclicking checkbox , thereafter doing next want application file transfer ,install prerequiste based on checkbox checked .i want happen 3 application.please suggest how , how can give condition so.
assuming you're talking custom dialog basic msi, suggest following:
- ensure each application in question part of separate feature. if go original dialog set, potentially let user select them feature name, or hide them. these features should have meaningful names, along lines of
app1
,app2
,app3
. - ensure 3 check boxes associated different properties, such
install_app_1
,install_app_2
,install_app_3
. show public properties here out of habit, since used in same sequence (on same dialog box, even), it's okay use private properties. , use suffixes more meaningful 1, 2, 3. - adding multiple control events next or install button on dialog box described. each feature want control way:
if going show dialog box during maintenance, should initialize values of check box properties (
install_app_1
, etc.) merely going past dialog box doesn't change installation state. can use feature-state condition syntax (!app1
, etc.) in setproperty custom actions scheduled before showing maintenance dialog (e.g. set propertyinstall_app_1
value1
condition!app1=3
).if these features shown in feature selection control, sure update properties accordingly. on next button of dialog using combination of feature state , feature action syntaxes. property should
1
if feature installed , not being removed, or being installed; should set empty ({}
) otherwise.
this lot of steps, ensure features act user expects. if nothing change state, should persist set. if visible in both feature selection control , via check boxes, should act in sync.
as far prerequisites, if mean installshield concept of prerequisites, can associate prerequisites features apps. if mean other components inside msi, work features defined in step 1 well.
Comments
Post a Comment