camposomar
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

Get MAC Address

hello All,

i'm new so i have a lot questions.. but, in this moment one in particular,,, how i can get mac address and put in a key of registry... read about this, with command line getmac property... but not understand how :S... :?: y dont know where are the command line....

thanks you for advance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Get MAC Address

Hi,

Unfortunately this is not supported directly by Windows Installer. However, you can try using a custom action to retrieve the MAC address and write it in the registry. To run the custom action with full privileges you can schedule it as Deferred with no impersonation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hassanali20
Posts: 3
Joined: Wed May 18, 2011 2:23 pm

Re: Get MAC Address

hi,

I'm evaluating the trial version of installer and one key thing I'm looking for is, POST MAC Address as a variable to server side key validation script. Please advice how we can achieve this.

Regards
hassan
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Get MAC Address

Hi Hassan,

I'm afraid not, but you can use the collect user information tutorial for this.

However, you will first need an independent custom action, built by you, which retrieves the MAC address and pass its value into a new public property, for example called MAC_ADD.
This can be for example a Win32Dll, like the following example.

This custom action should be scheduled before the set of custom actions related to sending the data collected to the server.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”