Or you could publish the property just before entering your custom
dialog, like in the preceding dialog.

<Publish Property="MACHINENAME" Value="[ComputerName]">1</Publish>

-----Original Message-----
From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] 
Sent: Thursday, March 24, 2011 12:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Get computer name??

You have to use a custom action to do what you are trying to do.

For example:
    <CustomAction Id="SetMACHINENAME" Property="MACHINENAME"
Value="[ComputerName]" />

Mat Skildum


-----Original Message-----
From: kim [mailto:contactme...@gmail.com] 
Sent: Thursday, March 24, 2011 2:49 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

Following is code from my .wxs file:



Code from my custom UI dialog



When i execute msi, editMachineName control displays [ComputerName]
instead of my machine name.

Please let me know what am I doing wrong here. Thanks

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-comput
er-name-tp6205253p6205447.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
Enable your software for Intel(R) Active Management Technology to meet
the growing manageability and security demands of your customers.
Businesses are taking advantage of Intel(R) vPro (TM) technology - will
your software be a part of the solution? Download the Intel(R)
Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to