This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to get the ip address of target machine without script???
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 30, 2011
03:23 PM
How to get the ip address of target machine without script???
I need an ip address to insert it as a command line argument.
How can i do this without scripts?
How can i do this without scripts?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 30, 2011
05:53 PM
Hi There,
It is not possible to do this without script.
While currently bound IP Addresses are stored in the registry, it's not in a static location; it will have a GUID for each adapter that will differ from machine to machine:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
So you are best off authoring some script to query WMI, or otherwise work out the bound IP address of the primary network adapter.
It is not possible to do this without script.
While currently bound IP Addresses are stored in the registry, it's not in a static location; it will have a GUID for each adapter that will differ from machine to machine:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
So you are best off authoring some script to query WMI, or otherwise work out the bound IP address of the primary network adapter.