I'm attempting to show custom install progress, so that I don't just show a
progress bar, but also some text control which indicate what step the
installation is on. And I would like something more complex that just a
single text control which changes its text.

My attempt is to place CustomActions that set Properties.

    <InstallExecuteSequence>
....
      <Custom Action="FinishedPart1" After="InstallFiles" />
....
    </InstallExecuteSequence>
...
... <!-- This property at first doesn't exist. --> ...
<CustomAction Id="FinishedPart1" Property="Part1Done" Value="yes" />
...

And then in a modeless dialog, I place a text control that tries to detect
the change in that property:

...
        <Control Id="Part1Installing" Type="Text" ... >
          <Text><![CDATA[Part1 is installing...]]></Text>
          <Condition Action="hide"><![CDATA[(Part1Done)]]></Condition>
          <Condition Action="show"><![CDATA[(Not Part1Done)]]></Condition>
        </Control>
...

However, that does not work.

I can confirm that the property is set by following MSI trace logs; and ORCA
does show that all these conditions are placed correctly in Control,
ControlCondition tables.


So, could it be that changes in Properties are not detected in UI Dialogs if
they happen outside of UI?
If so, is there a way to make it detect the change?

-- 
Oleksandr Lozitskiy

"Wealth is the product of man's capacity to think." -- Ayn Rand
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to