Archive: Setting Windows TCP/IP Settings


Setting Windows TCP/IP Settings
Can anyone tell me how I can use the NSIS installer to set the Windows XP network settings for a LAN - ie IP address, default gateway, DNS entries, subnet mask etc.

I want the installer to run at first start up so the user can enter the required network settings for thier network.

Thanks in anticipation.


hmm, there may be some functions in the msdn, u'll have to search for them.
or write your own plugin :)


I know this topic is ancient, but has anyone worked on this since 2004? I am in the exact same situation and am trying to figure out how to set the default gateway without calling an external script.


you could probably call netsh with nsExec


Try the IP Helper functions
CF