This is even simpler if you use the <SetProperty> element

e.g.

<SetProperty Id="TRADOS2007DIR" Value="[CommonFilesFolder]SDL\T2007\"
After="AppSearch">not TRADOS2007DIR</SetProperty>

-----Original Message-----
From: Mike Rerick [mailto:mrer...@iwsinc.com] 
Sent: 09 January 2012 21:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Concatenate 2 values

Use a custom action to set the Property.

<CustomAction Id="some-id" Property="INSTALLDIR"
Value="[IISROOT]\website1"/>

In the InstallExecuteSequence, call the custom action:
<Custom Action="some-id" After="FileCost"/>
    Set the Before or After attribute to wherever you want the value set.

Mike


On Mon, Jan 9, 2012 at 1:07 PM, Bourne, Kevin <
kevin.bou...@chasepaymentech.com> wrote:

> Says "Could not access network location [IISROOT]\website1"
>
> IISROOT should equal c:\inetpub\wwwroot
>
> Kevin Bourne | Software Developer | Chase Paymentech
> ..
> kevin.bou...@chasepaymentech.com
>
> JPMorgan Chase & Co.
>
>
> -----Original Message-----
> From: Ian Williams [mailto:iawil...@microsoft.com]
> Sent: Monday, January 09, 2012 3:55 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Concatenate 2 values
>
> I believe you are mixing WiX preprocessor variables with runtime
> properties.
>
> Your property IISROOT should be accessed using the following syntax:
> [IISROOT]
>
> You are using the preprocessor syntax: $(var.IISROOT). Try [IISROOT] there
> instead.
>
> Ian
>
> -----Original Message-----
> From: Bourne, Kevin [mailto:kevin.bou...@chasepaymentech.com]
> Sent: Monday, January 09, 2012 12:46 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Concatenate 2 values
>
> Here is the error
> error CNDL0150: Undefined preprocessor variable '$(var.IISROOT)'.
>
> Kevin Bourne | Software Developer | Chase Paymentech ....
> kevin.bou...@chasepaymentech.com
>
> JPMorgan Chase & Co.
>
> -----Original Message-----
> From: Bourne, Kevin
> Sent: Monday, January 09, 2012 3:40 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Concatenate 2 values
>
> I need to Concatenate 2 values, can someone tell me how to do this?
> Sample code does not work.
>
>    <Property Id="IISROOT">
>      <RegistrySearch Id="IISROOT"
>                      Type="directory"
>                      Root="HKLM"
>                      Key="Software\Microsoft\InetStp"
>                      Name="PathWWWRoot" />
>    </Property>
>
>    <Condition Message="IIS does not appear to be installed correctly, the
>                       root directory is not set.">
>      Installed OR IISROOT
>    </Condition>
>
>    <Property Id='INSTALLDIR' Value="$(var.IISROOT)\website1"/>
>
>
>
>
> Kevin Bourne | Software Developer Lead | Chase Paymentech .....
> kevin.bou...@chasepaymentech.com<mailto:kevin.bou...@chasepaymentech.com>
>
> JPMorgan Chase & Co.
>
> ----------
> Learn more about Chase Paymentech Solutions,LLC payment processing
> services at www.chasepaymentech.com.
>
> THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are
> proprietary and confidential information intended only for the use of the
> recipient(s) named above.  If you are not the intended recipient, you may
> not print, distribute, or copy this message or any attachments.  If you
> have received this communication in error, please notify the sender by
> return e-mail and delete this message and any attachments from your
> computer.
>
>
>
>
>
-----------------------------------------------------------------------------
-
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> ----------
> Learn more about Chase Paymentech Solutions,LLC payment processing
> services at www.chasepaymentech.com.
>
> THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are
> proprietary and confidential information intended only for the use of the
> recipient(s) named above.  If you are not the intended recipient, you may
> not print, distribute, or copy this message or any attachments.  If you
> have received this communication in error, please notify the sender by
> return e-mail and delete this message and any attachments from your
> computer.
>
>
>
>
>
>
>
-----------------------------------------------------------------------------
-
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
>
>
>
>
-----------------------------------------------------------------------------
-
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> ----------
> Learn more about Chase Paymentech Solutions,LLC payment processing
> services at www.chasepaymentech.com.
>
> THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are
> proprietary and confidential information intended only for the use of the
> recipient(s) named above.  If you are not the intended recipient, you may
> not print, distribute, or copy this message or any attachments.  If you
> have received this communication in error, please notify the sender by
> return e-mail and delete this message and any attachments from your
> computer.
>
>
>
>
>
>
>
-----------------------------------------------------------------------------
-
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

The information contained in this transmission contains potentially
privileged, export controlled and/or confidential 
information of Imageware Systems, Inc. or its customers or partners.  It is
intended only to be read by the person(s) 
named above and for no other purpose.  You are hereby notified that any
dissemination, distribution, duplication of this 
communication or use of its contents for any purpose not authorized expressly
by Imageware Systems, Inc. is strictly 
prohibited and could lead to both civil and/or criminal penalties.  If you
are not the intended recipient, you are 
prohibited to review the contents herein and please contact the sender by
reply e-mail and destroy all copies of the 
original message.  To reply to our e-mail administrator directly, please send
an e-mail to emailad...@iwsinc.com
-----------------------------------------------------------------------------
-
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to