Ok, i found a simple way to do it, im calling CostFinalize on the PushButton
of my "Next" button, on the serial number form.

Example:

<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17"
Default="yes" Text="&amp;Next">
         <Publish Event="DoAction" Value="CheckingPID">1</Publish>
         <Publish Event="SpawnDialog" Value="InvalidPidDlg">PIDACCEPTED =
"0"</Publish>
         <Publish Event="DoAction" Value="CostFinalize">1</Publish>
[...]

Thanks

--
Carl Quirion
[EMAIL PROTECTED]

On 3/1/07, Carl Quirion <[EMAIL PROTECTED]> wrote:

From my understanding, CostFinalize is done before any UI is shown...
however my CA validats a serial number entered by the user.
I can't launch my CA before the user enter his serial number, that wouldnt
make any sense, hehe.
Can re-order the sequence so that CostFinalize is only called after that
particular dialog (Before the feature tree dialog) ?

On 3/1/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
>
>  Carl Quirion wrote:
>
> My FeatureTree shows up and every products are visible, when i was
> expecting product3 to be invisible. Whats wrong?
>
>
> You probably need to sequence your CA before the CostFinalize action;
> that's when MSI "queries the Condition <http://condition_table.htm>table to 
determine which features are scheduled to be installed" (or so says
> the doc).
>
> --
> sig://boB
> http://bobs.org
>
>
>


--
Carl Quirion
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to