cancel
Showing results for 
Search instead for 
Did you mean: 
Superfreak3
Occasional contributor

Reevaluate Condition Issue Questions....

Hi there,

So, we have an install with some third party app integrations. What happens is that if an end user upgrades on of those apps after installing our software, which may support later versions, the end use launches our package again to run a Modify/Maintenance "Change" install. All works as planned. Our install detects the upgraded third party app and places the corresponding Features accordingly.

Now, here is the issue, there are also some conditioned components in our Core app that work in conjunction with the installed third party app. I thought I could just set those as transitive components by setting the Reevaluate Condition on them. However, as I understand it, these are only acted upon via Repair/"Reinstall". That won't work for us as the user won't want to run our package twice to match our components to their installed app. Also, I even tried running the repair and the conditioned components are still not installed when marked to reevaluate condition.

Is there any way I can get these transitive, conditioned components handled via the Maintenance/"Change" install?

I guess I could create new features to handle them and by adjusting ADDLOCAL at runtime to accomplish what I want, but that would be a lot of redesign/gutting. I'm hoping that I can deal with the components during Modify as they currently exist in our core app component tree.

Thank you so much in advance for any information or guidance you can provide!
Labels (1)
0 Kudos
5 Replies
Superfreak3
Occasional contributor

Re: Reevaluate Condition Issue Questions....

Or, is there a way I can use REINSTALLMODE with a parameter(s) in combination with the Modify/Maint/Change install type?
0 Kudos
Highlighted
eladef
Flexera beginner

Use Reinstall

Check this link

I created a CA (with the needed condition) that set the REINSTALL property to the Feature I need to reevaluate.
0 Kudos
Cary_R
Pilgrim

Re: Reevaluate Condition Issue Questions....

eladef wrote:
Check this link

I created a CA (with the needed condition) that set the REINSTALL property to the Feature I need to reevaluate.


/\---this.

Sort of, anyways. The difference between a Change and a Repair in this case is a Reinstall control event. You don't necessarily need a custom action--you could duplicate the event on the MaintenanceType dialog and have it run for Change as well as Repair.
0 Kudos
Superfreak3
Occasional contributor

Re: Reevaluate Condition Issue Questions....

Cary R wrote:
/\---this.

Sort of, anyways. The difference between a Change and a Repair in this case is a Reinstall control event. You don't necessarily need a custom action--you could duplicate the event on the MaintenanceType dialog and have it run for Change as well as Repair.


I tried adding a control event on the Next button of the Maintenance Type dialog that would set the REINSTALL property to MyFeatureName if _IsMaintenance = "Change". The involved components are also marked to Reevaluate Condition, but they are still not being installed during a Modify/Change install.

Not sure what I'm missing, but I could turn to placing the involved components in a separate feature to be handled during the Modify, being added to ADDLOCAL if conditions are met. I would rather go the REINSTALL route if I could because it seems like less gutting of the install.

Are you maybe referring to duplicating these on the Maint Type Next button...

ReinstallMode _IsMaintenance = "Reinstall"
Mode [ReinstallModeText]

Reinstall _IsMaintenance = "Reinstall"
Feature Name ALL

... changing "Reinstall" to "Change" and ALL to MyFeatureName, of course.

If so, that would take care of the install via the UI, but I would need to set whatever is needed during a silent install as well. I have a Custom Action that addresses ADDLOCAL for any new features that need to be installed during maintenance and I tried just adding session.Item("REINSTALL") = "MyFeatureName", but that doesn't seem to work either.

UPDATE: What's odd is that it seems my action run during silent install works ( session.Item("REINSTALL") = "MyFeatureName"), but from the UI setting the REINSTALL property to MyFeature if _ISMaintenance = "Change" does not work.
0 Kudos
Superfreak3
Occasional contributor

Re: Reevaluate Condition Issue Questions....

I think I'm just going to go with Adding a new Feature to handle these files. This will fall in line with how we currently handle our Maintenance installs where components are placed based on the presence of searched third part apps.

That way I won't have to mix in special REINSTALL considerations during the Modify/Change install.

Thanks for the responses. I'm filing them away as I know I'll most likely reference them down the road.
0 Kudos