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 <
[email protected]> wrote:
> Says "Could not access network location [IISROOT]\website1"
>
> IISROOT should equal c:\inetpub\wwwroot
>
> Kevin Bourne | Software Developer | Chase Paymentech
> ..
> [email protected]
>
> JPMorgan Chase & Co.
>
>
> -----Original Message-----
> From: Ian Williams [mailto:[email protected]]
> 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:[email protected]]
> 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 ....
> [email protected]
>
> JPMorgan Chase & Co.
>
> -----Original Message-----
> From: Bourne, Kevin
> Sent: Monday, January 09, 2012 3:40 PM
> To: [email protected]
> 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 .....
> [email protected]<mailto:[email protected]>
>
> 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
> [email protected]
> 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
> [email protected]
> 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
> [email protected]
> 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
> [email protected]
> 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 [email protected]
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users