Get MAC Address

Request new features that you would like to see in the next version of Advanced Installer.

Get MAC Address

Postby camposomar » Sun Feb 06, 2011 4:18 am

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.
camposomar
 
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

Re: Get MAC Address

Postby Cosmin » Mon Feb 07, 2011 2:12 pm

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
http://www.advancedinstaller.com/
Cosmin
 
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm

Re: Get MAC Address

Postby hassanali20 » Wed May 18, 2011 4:30 pm

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
hassanali20
 
Posts: 3
Joined: Wed May 18, 2011 2:23 pm

Re: Get MAC Address

Postby Bogdan » Thu May 19, 2011 9:38 am

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2398
Joined: Tue Jul 07, 2009 7:34 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests