cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
VitalyR
Level 3

Error 2731. Selection manager not installed.

InstallScript MSI Project compiles without errors and warnings. When I try to run it crashes with error 2731 - Selection manager not initialized. Apparently
something is not correct in my project but InstallShield does not catch an exception.
I did not find any reference to this error in InstallShield Help.

Can anybody explain what this error mean and how to fix it?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

According to the MSI help:
The selection manager is responsible for determining component and feature states. It is initialized during the costing actions (CostInitialize action, FileCost action, and CostFinalize action). A standard action or custom action made a call to a function requiring the selection manager before the initialization of the selection manager. This action should be sequenced after the costing actions.
Do you have any actions or conditions that change feature states, for example? Does performing MSI validation tell you anything more?
0 Kudos
VitalyR
Level 3

Thank you Robert!
I have moved a custom action to AfterFileCost and this error is gone.
0 Kudos