Re: [WiX-users] Execute a Custom action only when a specific component is removed

2008-10-07 Thread Yuval David
Thanks.

-Original Message-
From: Alexander Shevchuk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 02, 2008 20:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Execute a Custom action only when a specific
component is removed

Hi Yuval,

If you schedule your custom action after CostFinalize, you can use
$MyComponent=2 condition.  This means that component is about to be
uninstalled.  You also need to add condition if you don't want your
custom action to run on complete uninstall.
More on feature and component states:
http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx

You can't use REMOVE because component can be shared by more than one
feature.

Alex



-Original Message-----
From: Yuval David [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 6:28 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Execute a Custom action only when a specific
component is removed

Hi,

I'm trying to execute a custom action only after I remove a specific
component (using "Change").

Is there an option to do that? Can I write "Remove="the name of the
component" as a condition for execution of the CA?

Does someone know if it's possible?



Thanks,

Yuval


-
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


[WiX-users] Execute a Custom action only when a specific component is removed

2008-10-02 Thread Yuval David
Hi,

I'm trying to execute a custom action only after I remove a specific
component (using "Change").

Is there an option to do that? Can I write "Remove="the name of the
component" as a condition for execution of the CA?

Does someone know if it's possible?

 

Thanks,

Yuval

-
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


[WiX-users] custom action- how can i know if succeeded ?

2008-09-09 Thread Yuval David
Hi, 

I have a CA that I need to know if it succeeded or not, The returned
value is "ignore" but I need to know The value of "InstallD" after the
execution.

 

How can I know?

 

This is the code:

 



 

 Not Installed

 

 

 

-
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


[WiX-users] condition on custom action execution

2008-09-08 Thread Yuval David
Hi,

Im trying to add a condition for running a custom action, by using the
result of an former custom action.

Does some know how I could get the result of an custom action? I meen in
my project-

How can I get the the value returned in "InstallD" and compare it to 0?

The syntax  "(InstallD = 0)" is probably wrong.

 

Not
Installed

 

   

 (InstallD = 0) AND  Not Installed

-
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


Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Yuval David
Thanks,
It now starts the custom action.
But I have another problem:
In the custom action "Start" which activates a vbs there is a line in
the vbs file which changes the property of "DONEXT" to "1", but its
value doesn't change, and the "Finish" Custom action doesn't run. 
Do you maybe what's the reason the property doesn't change?

In the properties I have:
0
0


In the Custom Actions I have:

 (INSTALLERROR = 0) AND Not(Installed)


 (DONEXT = 1) AND Not(Installed)


In the vbs file I have:
Session.Property("DONEXT")="1"




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Simoneau
Sent: Thursday, August 21, 2008 17:34
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Condition on Property value?

If that Property element is copied exactly, then there is the problem.
You are setting INSTALLERROR to Value="0".  Change it to
0
Or

To set INSTALLERROR to 0.

-Brian Simoneau

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yuval
David
Sent: Thursday, August 21, 2008 8:06 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Condition on Property value?

I changed it to: 

 Value="0" 


(INSTALLERROR = 0) AND Not(Installed)

But it still doesn't activate the custom action.
It seems as he doesn't pass the condition (INSTALLERROR = 0).
Even thaw  I initialized the property to "0" as you can see.
Is there a problem with the property initialization? 





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Faden
Sent: Thursday, August 21, 2008 11:25
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Condition on Property value?

Hi Yuval,

is a question of operator priority:

It should look like that

(INSTALLERROR = 0) AND Not(Installed)

Your term means
   INSTALLERROR=(0 AND NOT Installed)
and this is of course always false

Mike

Yuval David wrote:
> Hello,
>
> I'm  trying to run a custom action with a condition that verify that a
> property value of  INSTALLERROR  is 0, but it doesn't work
>
> The syntax is probably not right. Can some one tell me what is the
> problem please?
>
>  
>
>
>
>  Value="0" 
>
>  
>
> 
>
> INSTALLERROR = 0 AND Not Installed
>
>  
>
>  
>
>

-
> 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 Linu

[WiX-users] Custom Action- change property value from vbs file

2008-08-21 Thread Yuval David
Hi,

Im using wix 2.0 and Im trying to change the value of a property within
a vbs file during a custom action.

The property value doesn't change. Can some one please tell me why?

 

Session.Property("INSTALLERROR") = "NO ERROR"

-
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


Re: [WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Yuval David
I changed it to: 

 Value="0" 


(INSTALLERROR = 0) AND Not(Installed)

But it still doesn't activate the custom action.
It seems as he doesn't pass the condition (INSTALLERROR = 0).
Even thaw  I initialized the property to "0" as you can see.
Is there a problem with the property initialization? 





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Faden
Sent: Thursday, August 21, 2008 11:25
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Condition on Property value?

Hi Yuval,

is a question of operator priority:

It should look like that

(INSTALLERROR = 0) AND Not(Installed)

Your term means
   INSTALLERROR=(0 AND NOT Installed)
and this is of course always false

Mike

Yuval David wrote:
> Hello,
>
> I'm  trying to run a custom action with a condition that verify that a
> property value of  INSTALLERROR  is 0, but it doesn't work
>
> The syntax is probably not right. Can some one tell me what is the
> problem please?
>
>  
>
>
>
>  Value="0" 
>
>  
>
> 
>
> INSTALLERROR = 0 AND Not Installed
>
>  
>
>  
>
>

-
> 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


[WiX-users] Custom action Condition on Property value?

2008-08-21 Thread Yuval David
Hello,

I'm  trying to run a custom action with a condition that verify that a
property value of  INSTALLERROR  is 0, but it doesn't work

The syntax is probably not right. Can some one tell me what is the
problem please?

 

   

 Value="0" 

 



INSTALLERROR = 0 AND Not Installed

 

 

-
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


[WiX-users] trying to edit the selectionTree

2008-07-27 Thread Yuval David
Hi all,

I'm new In Wix (I'm using ver 2.0), and I'm trying to insert a checkbox
into one of the leaves of the selectionTree .I don't know how to edit
the selectionTree.

It looks as a built-in component which I cant edit. Is it really like
that? Can I switch some of the boxes to check-boxes?

If not, Is there any alternative?

 

Thanks,

Yuval

-
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


[WiX-users] how to find the architecture of the computer

2008-06-29 Thread Yuval David
Hi,

Can some one tell me how to find the computers architecture in wix?

And if someone has a good reference (with the usage and the optional
parmeters like x86 ) I will be glad if he sends me the link.

 

Thanks,

Yuval.

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (no subject)

2008-06-29 Thread Yuval David
Hi,

Can some one tell me how to find the computers architecture in wix?

And if someone has a good reference (with the usage and the optional
parmeters like x86 ) I will be glad if he sends me the link.

 

Thanks,

Yuval.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Session object

2008-06-17 Thread Yuval David
Thank you for the warning.
I understand from your mail that you had already used this session
object in your project.
So maybe you can tell me: is this file created automatically after
compilation?, I mean: is it included in the msi file?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
O'Neill
Sent: Tuesday, June 17, 2008 14:13
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Session object

I don't know why it would do that, but I'll just give you a warning
based on
my current experience of VB Script custom actions. Avoid them if you
can.

A lot of people have said not to use them (I inherited these ones) as
they
get blocked by anti-virus and are difficult to debug. We released
yesterday
and I'm just starting to get reports of what looks like over-zealous
anti-virus blocking the scripts.

Of course you might be running in a known environment in which case you
can
use what you like.

Regards

Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
yuval_david
Sent: 17 June 2008 11:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Session object


hi,
Im trying to write an installer in wix and which executes a vbs file
using a
custom action.
But I have a problem: It seems as the installer doesn't construct a
Session
object and therefor
I can't write in the vbs file the command
Session.Property("INSTALLDIR").

Does somebody know why the installer did not create a session object?


-- 
View this message in context:
http://www.nabble.com/Session-object-tp17880754p17880754.html
Sent from the wix-users mailing list archive at Nabble.com.



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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. 
Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date:
16/06/2008
07:20



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users