Re: [WiX-users] Setting properties value

2014-12-09 Thread Hoover, Jacob
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

[WiX-users] Setting properties value

2014-12-09 Thread Majcica, Mario
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

Re: [WiX-users] Setting properties used in a different fragment

2011-03-31 Thread Rob Mensching
(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.

[WiX-users] Setting properties used in a different fragment

2011-03-30 Thread Anthony Kirwan
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

Re: [WiX-users] Setting properties

2011-01-28 Thread CoolBreeze
> > > > > > 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

Re: [WiX-users] Setting properties

2011-01-28 Thread Rob Mensching
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

Re: [WiX-users] Setting properties

2011-01-27 Thread CoolBreeze
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.

Re: [WiX-users] Setting properties

2011-01-27 Thread Castro, Edwin G. (Hillsboro)
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

Re: [WiX-users] Setting properties

2011-01-27 Thread CoolBreeze
; > 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

Re: [WiX-users] Setting properties

2011-01-27 Thread Castro, Edwin G. (Hillsboro)
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

Re: [WiX-users] Setting properties

2011-01-26 Thread CoolBreeze
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

Re: [WiX-users] Setting properties

2011-01-26 Thread Castro, Edwin G. (Hillsboro)
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

Re: [WiX-users] Setting properties

2011-01-26 Thread CoolBreeze
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

Re: [WiX-users] Setting properties

2011-01-25 Thread CoolBreeze
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

Re: [WiX-users] Setting properties

2011-01-25 Thread CoolBreeze
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:

Re: [WiX-users] Setting properties

2011-01-25 Thread Blair
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

[WiX-users] Setting properties

2011-01-25 Thread CoolBreeze
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) {

Re: [WiX-users] Setting properties in custom actions

2010-01-04 Thread David Allen
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

Re: [WiX-users] Setting properties in custom actions

2010-01-02 Thread Blair
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

[WiX-users] Setting properties in custom actions

2010-01-02 Thread David Allen
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

Re: [WiX-users] Setting properties in custom actions

2009-12-22 Thread Blair
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

[WiX-users] Setting properties in custom actions

2009-12-22 Thread David Allen
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

Re: [WiX-users] Setting properties in a C++-CA vs. setting properties using

2009-11-21 Thread dB .
: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

Re: [WiX-users] Setting properties in a C++-CA vs. setting properties using

2009-10-19 Thread Dave Kolb
: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(

Re: [WiX-users] Setting properties in a C++-CA vs. setting properties using

2009-10-19 Thread Blair
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

[WiX-users] Setting properties in a C++-CA vs. setting properties using

2009-10-19 Thread mrtn
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

Re: [WiX-users] Setting properties

2008-06-14 Thread Friedrich Dominicus
"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

Re: [WiX-users] Setting properties

2008-06-13 Thread Brian Simoneau
-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

Re: [WiX-users] Setting properties

2008-06-12 Thread Friedrich Dominicus
"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

Re: [WiX-users] Setting properties

2008-06-12 Thread Tim Fisher
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

Re: [WiX-users] Setting properties

2008-06-12 Thread Tim Fisher
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:\

Re: [WiX-users] Setting properties

2008-06-12 Thread Brian Simoneau
:[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

[WiX-users] Setting properties

2008-06-12 Thread Friedrich Dominicus
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