Meant to link http://msdn.microsoft.com/en-us/library/aa371245.aspx
also.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: 27 April 2010 12:28
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Compound Properties using CustomAction?

http://msdn.microsoft.com/en-us/library/aa370912.aspx (short version: by
Windows Installer design).

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP Email Disclaimer

-----Original Message-----
From: Navid Azimi-Garakani [mailto:naz...@microsoft.com]
Sent: 27 April 2010 06:40
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Compound Properties using CustomAction?

Nevermind... I see the problem. It looks like the value of
$(var.ProjectName) MUST be all in uppercase. Otherwise, the property
value will not be set. This is with 3.5.1623.0. Shall I file a bug? Or
this by design?

Thanks,
Navid

-----Original Message-----
From: Navid Azimi-Garakani [mailto:naz...@microsoft.com]
Sent: Monday, April 26, 2010 10:23 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Compound Properties using CustomAction?

Hello,

I am trying to set the value of a property using a compound name. In a
nutshell, I want the following line to work:

  <CustomAction Id="SetUserName" Property="WEBUSERNAME"
Value="[$(var.ProjectName)WEBUSERNAME]" />

Where $(var.ProjectName) is TEST and the property TESTWEBUSERNAME is
being passed as a property on the command line. I have opened up the MSI
using Orca and the custom actions table correctly shows the Action
SetUserName with a Source of WEBUSERNAME and Target of
[TESTWEBUSERNAME].

I have tried scheduling this as early as possible but yet to no avail.

    <InstallExecuteSequence>
      <Custom Action="SetUserName" Before="CostInitialize" />
    </InstallExecuteSequence>

I am sure that I am missing something simple here. Any help would be
appreciated.

Thanks,
Navid
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to