Since switching to wix, I haven't worked yet on any installers with UI so I 
haven't used that particular element yet. However, have you checked the log 
file to see if the property is being set? What does the "1" in between the 
Publish tags do?

-----Original Message-----
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 4:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Component execution based on condition

Sorry This is a typo error. Correcting my error.


I have some component which are executing based on some property. I am 
declaring my property like that:

  <Property Id=" INSTALLPSFILES "  >

I am assigning values to this property on some button click event:
<Control Id="Install" Type="PushButton" X="240" Y="243" Width="64" Height="20" 
Default="yes" Text="!(loc.WixUIInstall)">
          <Publish Property="INSTALLPSFILES" Value="1">1</Publish>

But my component is not executing.
If I will assign value like :

       <Property Id=" INSTALLPSFILES "  value ="1">

Then my component is executing.


-----Original Message-----
From: Ian Elliott (Excell Data Corporation) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 4:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Component execution based on condition

Seems like someone answered this one earlier. You have spelled your property 
two different ways in different locations:
INSTALLLSFILES
INSTALLPSFILES



-----Original Message-----
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 3:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Component execution based on condition

Re sending my query...
-Regards
Sandeep

-----Original Message-----
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 12:40 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Component execution based on condition

Hi,
I have some component which are executing based on some property. I am 
declaring my property like that:

  <Property Id="INSTALLLSFILES"  >

I am assigning values to this property on some button click event:
<Control Id="Install" Type="PushButton" X="240" Y="243" Width="64" Height="20" 
Default="yes" Text="!(loc.WixUIInstall)">
          <Publish Property="INSTALLPSFILES" Value="1">1</Publish>

But my component is not executing.
If I will assign value like :

       <Property Id="INSTALLLSFILES"  value ="1">

Then my component is executing.

Please help me out. I am facing some many problems regarding this.

Regards
-Sandeep
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to