Hi, You can find out your machine name directly from the registry:
<Property Id="MACHINE_NAME"> <RegistrySearch Id="EvsRegistrySearchMachineName" Root="HKLM" Type="raw" Name="Hostname" Key="SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\"/> </Property> And then you can display the property MACHINE_NAME in your dialog box. Best regards, Nicholas -----Original Message----- From: Prabhakaran Paulraj [mailto:prabhakaran_paul...@dynamicbi.com] Sent: Monday, March 09, 2009 7:21 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to pass parameter to Custom Action Hi Everyone, I need to pass the Computer Name as a parameter to the Wix file and also want to display the Computer Name in the Customized Action. I have a Customized Action Dialog which should display the client machine name in a text box. Is there any way to acheive this? I am using Wix 2.0 and .NET 2005. Thanks in advance Prabhakaran ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users