Old 30th November 2004, 12:35   #1
jimpy22
Junior Member
 
Join Date: Jul 2004
Location: Guildford, UK
Posts: 23
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.
jimpy22 is offline   Reply With Quote
Old 30th November 2004, 15:48   #2
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
hmm, there may be some functions in the msdn, u'll have to search for them.
or write your own plugin
Comm@nder21 is offline   Reply With Quote
Old 29th April 2008, 23:49   #3
jrhutch
Junior Member
 
Join Date: Feb 2008
Location: Austin, TX
Posts: 11
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.
jrhutch is offline   Reply With Quote
Old 30th April 2008, 01:53   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,191
you could probably call netsh with nsExec

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 30th April 2008, 08:52   #5
CancerFace
Senior Member
 
Join Date: Apr 2006
Posts: 289
Send a message via ICQ to CancerFace
Try the IP Helper functions
CF
CancerFace is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump