Have you tried Condition?
-Original Message-
From: Majcica, Mario [mailto:mario.majc...@bakerhughes.com]
Sent: Tuesday, December 09, 2014 4:14 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] Setting properties value
Hi,
I declared a property in the following way
Hi,
I declared a property in the following way
I now need to set the value of this property based on a condition.
If the condition is true, the value should be set to 1 else it should be set to
NULL.
The condition is the following. The property called VS2012DEVENV should not be
NULL.
How d
(why do people always jump to assuming it's a bug first? )
Your Property and IniFileSearch are in a Fragment that is never referenced.
You need to reference the content in there. Give the example, I would add a
PropertyRef under the Product element somewhere to the Property for the
IniFileSearch.
Hi Wix users,
I don't know if the behaviour I am about to describe is a bug or by
design. Any guidance would be appreciated.
We are using heat to generate a number of fragments that are referenced
by the Wix Project\Votive (Wix build 3.6.1502). Part of the
installation requirements is for t
> > >
> > > Edwin G. Castro
> > > Software Developer - Staff
> > > Electronic Banking Services
> > > Fiserv
> > > Office: 503-746-0643
> > > Fax: 503-617-0291
> > > www.fiserv.com
> > > Please consider the environment before prin
www.fiserv.com
> > Please consider the environment before printing this e-mail
> >
> >
> > > -Original Message-
> > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > Sent: Thursday, January 27, 2011 1:46 PM
> > > To: General
erv.com
> Please consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > Sent: Thursday, January 27, 2011 1:46 PM
> > To: General discussion for Windows Installer XML toolset.
olbreeze...@googlemail.com]
> Sent: Thursday, January 27, 2011 1:46 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Setting properties
>
> Edwin,
>
> I have the Wix book and it showed ExecuteAction as the last action in
> InstallU
;
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> Please consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: Cool
gt; > Fiserv
> > Office: 503-746-0643
> > Fax: 503-617-0291
> > www.fiserv.com
> > P Please consider the environment before printing this e-mail
> >
> >
> > > -Original Message-
> > > From: CoolBreeze [mailto:coolbreeze...@googlemai
x: 503-617-0291
> www.fiserv.com
> Please consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > Sent: Wednesday, January 26, 2011 3:30 PM
> > To: wix-users@lists.sourc
age-
> From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> Sent: Wednesday, January 26, 2011 3:30 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Setting properties
>
> Hi Guys, I'm still trying to get this resolved. When I viewed the log fil
Hi Guys, I'm still trying to get this resolved. When I viewed the log file I
could see that my property contained the value I assigned to it from within
my CustomAction; however, it doesn't contain anything when I try use it
within the wrote:
> I have a property I've set within a CustomAction that
perty marked "Secure"?
>>
>> BTW, a verbose log can tell you exactly what is (and isn't) happening with
>> that property.
>>
>> -Blair
>>
>> -Original Message-
>> From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
>&g
In which sequence and where in that sequence are you calling your custom
> action, and is that property marked "Secure"?
>
> BTW, a verbose log can tell you exactly what is (and isn't) happening with
> that property.
>
> -Blair
>
> -Original Message-----
> From:
ilto:coolbreeze...@googlemail.com]
Sent: Tuesday, January 25, 2011 8:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting properties
I have a property I've set within a CustomAction that I need to access
within one of my Components. I'm not getting the property's value. Is this
eve
I have a property I've set within a CustomAction that I need to access
within one of my Components. I'm not getting the property's value. Is this
even possible?
Here is where I'm assigning a value to my property.
[CustomAction]
public static ActionResult TestSqlConnection(Session testSession)
{
This seems to have worked - thanks very much.
David
> -Original Message-
> From: Blair [mailto:os...@live.com]
> Sent: 22 December 2009 13:45
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Setting properties in custom
al Message-
From: David Allen [mailto:david.al...@1spatial.com]
Sent: Saturday, January 02, 2010 4:48 AM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Setting properties in custom actions
Resending this question since it appeared not to get through before
Christmas, just after
Resending this question since it appeared not to get through before Christmas,
just after joining the list.
I am updating an installer for a product that provides multiple applications
and want to change it so that it creates shortcuts only for applications that
have a valid licence.
The basic
ce
to before CostInitialize (as per the MSDN page on the CostFinalize action).
-Original Message-
From: David Allen [mailto:david.al...@1spatial.com]
Sent: Tuesday, December 22, 2009 3:45 AM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Setting properties in custo
I am updating an installer for a product that provides multiple applications
and want to change it so that it creates shortcuts only for applications that
have a valid licence.
The basic approach is to define each shortcut in a separate component, to set a
condition on the component based on th
:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting properties in a C++-CA vs. setting properties
using
I have a question:
When I do this:
The property TestTitle gets the value with [ProductName] expanded. Like:
"The product is: TestApp"
However if I do this:
MsiS
:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting properties in a C++-CA vs. setting properties
using
I have a question:
When I do this:
The property TestTitle gets the value with [ProductName] expanded. Like:
"The product is: TestApp"
However if I do this:
MsiSetProperty(
MsiFormatRecord()
Call MsiSetProperty with the resulting buffer.
-Original Message-
From: mrtn [mailto:mrtn.frederik...@gmail.com]
Sent: Monday, October 19, 2009 7:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting properties in a C++-CA vs. setting properties
using
I have a question:
When I do this:
The property TestTitle gets the value with [ProductName] expanded. Like:
"The product is: TestApp"
However if I do this:
MsiSetProperty(hMsi, _T("TestTitle"), _T("The product is: [ProductName]"));
The property TestTitle gets the value: "The product is: [Product
"Brian Simoneau" <[EMAIL PROTECTED]> writes:
> What you have is not terribly messy, at least when it comes to Windows
> Installer.
Well than please let me know how to do it. The below code does not
work properly, I can not see any reason why this boolean stuff should
not work, but either the fil
-users] Setting properties
"Brian Simoneau" <[EMAIL PROTECTED]> writes:
> Use a custom action to set ANOTHER_PROP to PROP1 with a condition that
> PROP1 exists. Something like
> Value="[PROP1]"/>
> PROP1
> You can do the same thing for PROP2 or set PROP2
"Brian Simoneau" <[EMAIL PROTECTED]> writes:
> Use a custom action to set ANOTHER_PROP to PROP1 with a condition that
> PROP1 exists. Something like
> Value="[PROP1]"/>
> PROP1
> You can do the same thing for PROP2 or set PROP2 as the default value of
> ANOTHER_PROP since it is the else case.
W
t;> PROP1
>> You can do the same thing for PROP2 or set PROP2 as the default value of
>> ANOTHER_PROP since it is the else case.
>>
>> -Brian Simoneau
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf O
Behalf Of Friedrich
> Dominicus
> Sent: Thursday, June 12, 2008 7:58 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Setting properties
>
> Well I can not find any example for this
>
> assume two properties (containing pathes)
> So let's ahve PROP1 = c:\
:[EMAIL PROTECTED] On Behalf Of Friedrich
Dominicus
Sent: Thursday, June 12, 2008 7:58 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting properties
Well I can not find any example for this
assume two properties (containing pathes)
So let's ahve PROP1 = c:\foo
if it is set
Well I can not find any example for this
assume two properties (containing pathes)
So let's ahve PROP1 = c:\foo
if it is set then
ANOTHER_PROP = PROP one can do that with
But when this is not set then it should look for PROP2
if PROP2 is set then this value should be used.
So I have in pseu
33 matches
Mail list logo