There's a ComputerName property:

http://msdn.microsoft.com/en-us/library/aa368009(VS.85).aspx

So

<CustomAction Id='MyCA' FileKey='my.exe' ExeCommand='do something
xxx_[ComputerName]' Return='check' />

2009/8/6 Jiang, Chunyan (GE Healthcare) <chunyan.ji...@ge.com>:
> Hi Wix-user,
>
> I want to define one Custom Action like this:
>
> <CustomAction Id='MyCA' FileKey='my.exe' ExeCommand='do something
> xxx_COMPUTERNAME' Return='check' />
>
> How can I get the computer name in wix and put it into the ExeCommand?
>
>
>
> Regards,
>
>
>
> Chunyan
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to