Note that there are some explanatory texts on larger screens.

plurals
  1. POWiX feature state (request/action) not updated during change/modify
    primarykey
    data
    text
    <p>I have a situation where I need to know which features are to be installed/uninstalled in <strong>change mode</strong>, accordingly I'll be able to modify dialog sequence.</p> <p>My setup includes 2 features <strong>F_WEB_APP</strong> and <strong>F_DATABASE</strong>, to make my life easier, I published the following properties on customize dialog next button to identify which features are installed, to be installed or to be uninstalled based on feature conditions as follows: </p> <pre><code>&lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsDBInstalled" Value="Yes" Order="5"&gt;&lt;![CDATA[!F_DATABASE &gt; 2]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsDBInstalled" Value="No" Order="6"&gt;&lt;![CDATA[!F_DATABASE &lt; 3]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsWebInstalled" Value="Yes" Order="7"&gt;&lt;![CDATA[!F_WEB_APP &gt; 2]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsWebInstalled" Value="No" Order="8"&gt;&lt;![CDATA[!F_WEB_APP &lt; 3]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsDBSelected" Value="Yes" Order="9"&gt;&lt;![CDATA[&amp;F_DATABASE &gt; 2]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsDBSelected" Value="No" Order="10"&gt;&lt;![CDATA[&amp;F_DATABASE &lt; 3]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsWebSelected" Value="Yes" Order="11"&gt;&lt;![CDATA[&amp;F_WEB_APP &gt; 2]]&gt;&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Property="IsWebSelected" Value="No" Order="12"&gt;&lt;![CDATA[&amp;F_WEB_APP &lt; 3]]&gt;&lt;/Publish&gt; </code></pre> <p>During <strong>first install</strong>, all of my properties are being set according to user selection (expected behavior), but during <strong>change/modify</strong> they are set only <strong>once</strong> (on customize dialog first load - values match existing state, regardless of user changes)! and if user makes changes and press next or proceed then go back and change selected features and click next, none of the properties gets set ... whats wrong here ?? </p> <p>The log for <strong>first install</strong> (trimmed for readability): </p> <pre><code>Action 20:34:08: CustomizeDlg. Dialog created * user modify features and press next. MSI (c) (94:90) [20:34:09:374]: PROPERTY CHANGE: Adding IsDBInstalled property. Its value is 'No'. MSI (c) (94:90) [20:34:09:376]: PROPERTY CHANGE: Adding IsWebInstalled property. Its value is 'No'. MSI (c) (94:90) [20:34:09:378]: PROPERTY CHANGE: Adding IsDBSelected property. Its value is 'Yes'. MSI (c) (94:90) [20:34:09:379]: PROPERTY CHANGE: Adding IsWebSelected property. Its value is 'Yes'. Action 20:34:09: NextDlg. Dialog created * user press back. Action 20:34:09: CustomizeDlg. Dialog created * user modify features and press next. MSI (c) (94:90) [20:34:12:376]: PROPERTY CHANGE: Modifying IsWebSelected property. Its current value is 'Yes'. Its new value: 'No'. Action 20:34:12: NextDlg. Dialog created * user press back. Action 20:34:13: CustomizeDlg. Dialog created * user modify features and press next. MSI (c) (94:90) [20:34:15:129]: PROPERTY CHANGE: Modifying IsDBSelected property. Its current value is 'Yes'. Its new value: 'No'. Action 20:34:15: NextDlg. Dialog created * user press back. Action 20:34:15: CustomizeDlg. Dialog created * user modify features and press next. MSI (c) (94:90) [20:34:18:289]: PROPERTY CHANGE: Modifying IsWebSelected property. Its current value is 'No'. Its new value: 'Yes'. Action 20:34:18: NextDlg. Dialog created </code></pre> <p>The log for <strong>change/modify</strong> (trimmed for readability): </p> <pre><code>Action 21:01:41: CustomizeDlg. Dialog created * user modify features and press next. MSI (c) (6C:1C) [21:01:45:216]: PROPERTY CHANGE: Adding IsDBInstalled property. Its value is 'Yes'. MSI (c) (6C:1C) [21:01:45:220]: PROPERTY CHANGE: Adding IsWebInstalled property. Its value is 'Yes'. MSI (c) (6C:1C) [21:01:45:223]: PROPERTY CHANGE: Adding IsDBSelected property. Its value is 'No'. MSI (c) (6C:1C) [21:01:45:225]: PROPERTY CHANGE: Adding IsWebSelected property. Its value is 'No'. Action 21:01:45: NextDlg. Dialog created * user press back. Action 21:01:45: CustomizeDlg. Dialog created * user modify features and press next. Action 21:01:48: NextDlg. Dialog created * user press back. Action 21:01:49: CustomizeDlg. Dialog created * user modify features and press next. Action 21:01:51: NextDlg. Dialog created * user press back. Action 21:01:52: CustomizeDlg. Dialog created * user modify features and press next. Action 21:01:54: NextDlg. Dialog created </code></pre> <p>As you can see from the second log <strong>NO PROPERTY CHANGE RECORDED</strong>, What is it that I'am missing here? </p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload