|
|
#1 |
|
Junior Member
Join Date: Nov 2011
Posts: 10
|
IP address drop down in installer page
HI,
First,I am using nsDialogs dropdown menu to display all IP addresses which are connected to my system. Next, When user selects one IP I have to populate that IP in the next line in hyperlink. Below is the code to do in Java Enumeration<NetworkInterface> networkInterfaceEnum = NetworkInterface.getNetworkInterfaces(); // Initialize the server IP list which contains the all IP addresses connected to my system serverIPList = new ArrayList<String>() ; for (; networkInterfaceEnum.hasMoreElements() ![]() { NetworkInterface networkInterface = networkInterfaceEnum.nextElement(); Enumeration<InetAddress> inetEnum = networkInterface.getInetAddresses(); for (; inetEnum.hasMoreElements() ![]() { InetAddress addr = inetEnum.nextElement(); serverIPList.add(addr.getHostAddress()); Any suggestions to achieve above in the Installer .nsi file?? |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2007
Posts: 545
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|