Hi Romeo,

 I'm using Wix Version 3.0.4721.0 (Beta). Whether it will be the bug in 
Wix v3.

log is here when I clicked "Next" 4 to 5 times,
Action 23:55:06: LicenseAgreementDlg. Dialog created
MSI (c) (68:4C) [23:55:07:296]: PROPERTY CHANGE: Adding LicenseAccepted 
property. Its value is '1'.
Action 23:55:07: UserRegistrationDlg. Dialog created
MSI (c) (68:4C) [23:55:09:250]: Doing action: CheckUser.Property
Action 23:55:09: CheckUser.Property.
Action start 23:55:09: CheckUser.Property.
MSI (c) (68:4C) [23:55:09:250]: PROPERTY CHANGE: Adding CheckUser 
property. Its value is 'Richard,'.
Action ended 23:55:09: CheckUser.Property. Return value 1.
MSI (c) (68:4C) [23:55:09:250]: Doing action: CheckUser
Action 23:55:09: CheckUser. Validating User...
Action start 23:55:09: CheckUser.
MSI (c) (68:A8) [23:55:09:250]: Invoking remote custom action. DLL: 
C:\DOCUME~1\Owner\LOCALS~1\Temp\MSI2AC.tmp, Entrypoint: ValidateUser
MSI (c) (68:38) [23:55:09:265]: Cloaking enabled.
MSI (c) (68:38) [23:55:09:265]: Attempting to enable all disabled 
priveleges before calling Install on Server
MSI (c) (68:38) [23:55:09:265]: Connected to service for CA interface.
MSI (c) (68!58) [23:55:09:343]: PROPERTY CHANGE: Adding VALIDATEUSER 
property. Its value is '0'.
Action ended 23:55:09: CheckUser. Return value 1.
MSI (c) (68:4C) [23:55:11:062]: Doing action: CheckUser.Property
Action 23:55:11: CheckUser.Property.
Action start 23:55:11: CheckUser.Property.
Action ended 23:55:11: CheckUser.Property. Return value 1.
MSI (c) (68:4C) [23:55:11:062]: Doing action: CheckUser
Action 23:55:11: CheckUser. Validating User...
Action start 23:55:11: CheckUser.
MSI (c) (68:3C) [23:55:11:078]: Invoking remote custom action. DLL: 
C:\DOCUME~1\Owner\LOCALS~1\Temp\MSI2AD.tmp, Entrypoint: ValidateUser
Action ended 23:55:11: CheckUser. Return value 1.
MSI (c) (68:4C) [23:55:14:187]: Doing action: CheckUser.Property
Action 23:55:14: CheckUser.Property.
Action start 23:55:14: CheckUser.Property.
Action ended 23:55:14: CheckUser.Property. Return value 1.
MSI (c) (68:4C) [23:55:14:187]: Doing action: CheckUser
Action 23:55:14: CheckUser. Validating User...
Action start 23:55:14: CheckUser.
MSI (c) (68:20) [23:55:14:187]: Invoking remote custom action. DLL: 
C:\DOCUME~1\Owner\LOCALS~1\Temp\MSI2AE.tmp, Entrypoint: ValidateUser
Action ended 23:55:14: CheckUser. Return value 1.

Wix code is here,
<Publish Event="DoAction" Value="CheckUser.Property" Order="1" 
Dialog="UserRegistrationDlg" Control="Next">1</Publish>
      <Publish Event="DoAction" Value="CheckUser" Order="2" 
Dialog="UserRegistrationDlg" Control="Next">1</Publish>
      <Publish Event="SpawnWaitDialog" Value="InvalidUserDlg" Order="3" 
Dialog="UserRegistrationDlg" Control="Next"><![CDATA[ VALIDATEUSER <> 
"1"]]></Publish>
      <Publish Event="NewDialog" Value="SetupDlg" Order="4" 
Dialog="UserRegistrationDlg" Control="Next"><![CDATA[ProductID AND 
VALIDATEUSER = "1" ]]></Publish>

Where is the problem?

Thanks for your help.

-SMR

Romeo Salayo Jr. wrote:
> That was strange... before i'm having the same problem with checking username
> and password. The problem was the property was not set instantly when I
> click the next button, I need to press it twice to set the property
> correctly but when I added Order attributes, it works like a charm. I'm
> using revision 5014, I will try the latest build and see if it is still the
> same behavior.
>
> Regards,
> Romeo
>
>
> Michael-12 wrote:
>   
>> Hi Romeo,
>>
>>  Yes, <Publish> is nested under the <control> of "Next". But, when 
>> clicking "Next" button, either next dialog is not opening or error 
>> message not displayed.
>> I tried by putting <Publish> under the <UI>. Same behavior.
>> I took log for my msi.
>>
>> Action 23:55:06: LicenseAgreementDlg. Dialog created
>> MSI (c) (68:4C) [23:55:07:296]: PROPERTY CHANGE: Adding LicenseAccepted 
>> property. Its value is '1'.
>> Action 23:55:07: UserRegistrationDlg. Dialog created
>> MSI (c) (68:4C) [23:55:09:250]: Doing action: CheckUser.Property
>> Action 23:55:09: CheckUser.Property.
>> Action start 23:55:09: CheckUser.Property.
>> MSI (c) (68:4C) [23:55:09:250]: PROPERTY CHANGE: Adding CheckUser 
>> property. Its value is 'Richard,'.
>> Action ended 23:55:09: CheckUser.Property. Return value 1.
>> MSI (c) (68:4C) [23:55:09:250]: Doing action: CheckUser
>> Action 23:55:09: CheckUser. Validating User...
>> Action start 23:55:09: CheckUser.
>> MSI (c) (68:A8) [23:55:09:250]: Invoking remote custom action. DLL: 
>> C:\DOCUME~1\Owner\LOCALS~1\Temp\MSI2AC.tmp, Entrypoint: ValidateUser
>> MSI (c) (68:38) [23:55:09:265]: Cloaking enabled.
>> MSI (c) (68:38) [23:55:09:265]: Attempting to enable all disabled 
>> priveleges before calling Install on Server
>> MSI (c) (68:38) [23:55:09:265]: Connected to service for CA interface.
>> MSI (c) (68!58) [23:55:09:343]: PROPERTY CHANGE: Adding *VALIDATEUSER 
>> *property. Its value is '*0*'.
>>
>> its looks like property VALIDATEUSER set to 0. But, error message is not 
>> opening.
>>
>> Regards,
>> -SMR
>>
>> Romeo Salayo Jr. wrote:
>>     
>>> Hi SMR,
>>>
>>> Make sure your <Publish> is nested under the <Control> of your "Next"
>>> button.
>>>
>>> <Dialog Id="Dialog1" Width="370" Height="270" Title="[ProductName]
>>> Setup">
>>>     <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
>>> Height="17"
>>> Default="yes" Text="Next">
>>>             <Publish Event="DoAction" Value="CheckUser.Property"
>>> Order="1">1</Publish>
>>>             <Publish Event="DoAction" Value="CheckUser" 
>>> Order="2">1</Publish>
>>>             <Publish Event="SpawnWaitDialog" Value="InvalidUserDlg"
>>> Order="3"><![CDATA[VALIDATEUSER <> "1"]]></Publish>
>>>             <Publish Event="NewDialog" Value="SetupDlg"
>>> Order="4"><![CDATA[ProductID
>>> AND VALIDATEUSER = "1"]]></Publish>
>>>     </Control>
>>> </Dialog>
>>>
>>> This works for me... or just put your <Publish> codes outside
>>> <Dialog><Contron> by assigning directly the Dialog and Control ID:
>>>
>>> <Publish Dialog="DialogName" Control="Next" Event="DoAction"
>>> Value="CheckUser.Property" Order="1">1</Publish>
>>> <Publish Dialog="DialogName" Control="Next" Event="DoAction"
>>> Value="CheckUser" Order="2">1</Publish>
>>> <Publish Dialog="DialogName" Control="Next" Event="SpawnWaitDialog"
>>> Value="InvalidUserDlg" Order="3"><![CDATA[VALIDATEUSER <>
>>> "1"]]></Publish>
>>> <Publish Dialog="DialogName" Control="Next" Event="NewDialog"
>>> Value="SetupDlg" Order="4"><![CDATA[ProductID AND VALIDATEUSER =
>>> "1"]]></Publish>
>>>
>>> And make your your CA is working properly, try doing test with
>>> MessageBox()
>>> so that you can see if it works properly with your next button.
>>>
>>> Regards,
>>> Romeo
>>>
>>>
>>> Michael-12 wrote:
>>>   
>>>       
>>>> Hi Romeo,
>>>>
>>>>  Thanks for your suggestion.
>>>> But, Still I'm in same case. Any more suggestions welcome.
>>>>
>>>> -SMR
>>>> Romeo Salayo Jr. wrote:
>>>>     
>>>>         
>>>>> Hi SMR,
>>>>>
>>>>> Try putting a Order attribute in you Publish like this:
>>>>> <Publish Event="DoAction" Value="CheckUser.Property"
>>>>> Order="1">1</Publish>
>>>>> <Publish Event="DoAction" Value="CheckUser" Order="2">1</Publish>
>>>>> <Publish Event="SpawnWaitDialog" Value="InvalidUserDlg"
>>>>> Order="3"><![CDATA[
>>>>> VALIDATEUSER <> "1"]]></Publish>
>>>>> <Publish Event="NewDialog" Value="SetupDlg"
>>>>> Order="4"><![CDATA[ProductID
>>>>> AND
>>>>> VALIDATEUSER = "1"]]></Publish> 
>>>>>
>>>>> Hope this helps...
>>>>>
>>>>> Regards,
>>>>> Romeo
>>>>>
>>>>>
>>>>> Michael-12 wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> I found the how to run custom action within control. my code is below, 
>>>>>> (Within "Next" Control)
>>>>>>             <Publish Event="DoAction"
>>>>>> Value="CheckUser.Property">1</Publish>
>>>>>>           <Publish Event="DoAction" Value="CheckUser">1</Publish>
>>>>>>           <Publish Event="SpawnWaitDialog" 
>>>>>> Value="InvalidUserDlg"><![CDATA[ VALIDATEUSER <> "1"]]></Publish>
>>>>>>           <Publish Event="NewDialog"
>>>>>> Value="SetupDlg"><![CDATA[ProductID 
>>>>>> AND VALIDATEUSER = "1"]]></Publish>
>>>>>>
>>>>>> my custom action dll will set the property VALIDATEUSER = 1, if
>>>>>> username 
>>>>>> and password valid. But, When I click Next there is no action in
>>>>>> Installer.
>>>>>>
>>>>>> -SMR
>>>>>>
>>>>>> Michael wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Hi,
>>>>>>>
>>>>>>> How do I run custom action on clicking Next button? I have custom
>>>>>>> action 
>>>>>>> to check username and password. I need to run that custom action on 
>>>>>>> clicking Next button? If username and password is error, an error 
>>>>>>> message must display that invalid username and password.
>>>>>>>
>>>>>>> Please help me out.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> -SMR
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)
>>>>>>> are
>>>>>>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly
>>>>>>> and
>>>>>>> easily build your RIAs with Flex Builder, the Eclipse(TM)based
>>>>>>> development
>>>>>>> software that enables intelligent coding and step-through debugging.
>>>>>>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>>>>>>> _______________________________________________
>>>>>>> WiX-users mailing list
>>>>>>> WiX-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>>>>>   
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> No virus found in this incoming message.
>>>>>>> Checked by AVG - www.avg.com 
>>>>>>> Version: 8.0.237 / Virus Database: 270.11.15/2003 - Release Date:
>>>>>>> 03/15/09 14:07:00
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>> ------------------------------------------------------------------------------
>>>>>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)
>>>>>> are
>>>>>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly
>>>>>> and
>>>>>> easily build your RIAs with Flex Builder, the Eclipse(TM)based
>>>>>> development
>>>>>> software that enables intelligent coding and step-through debugging.
>>>>>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>>>>>> _______________________________________________
>>>>>> WiX-users mailing list
>>>>>> WiX-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>>>>
>>>>>>
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> No virus found in this incoming message.
>>>>> Checked by AVG - www.avg.com 
>>>>> Version: 8.0.237 / Virus Database: 270.11.16/2005 - Release Date:
>>>>> 03/16/09 19:01:00
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> ------------------------------------------------------------------------------
>>>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>>>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>>>> easily build your RIAs with Flex Builder, the Eclipse(TM)based
>>>> development
>>>> software that enables intelligent coding and step-through debugging.
>>>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>>>> _______________________________________________
>>>> WiX-users mailing list
>>>> WiX-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>> ------------------------------------------------------------------------
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG - www.avg.com 
>>> Version: 8.0.238 / Virus Database: 270.11.18/2008 - Release Date:
>>> 03/17/09 16:25:00
>>>
>>>   
>>>       
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.238 / Virus Database: 270.11.19/2010 - Release Date: 03/18/09 
> 20:27:00
>
>   


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to