T
Tony
Hi,
I have an XPe project that builds a working XPe image for my target.
It requires a known static IP address so I have netshell included and
working, and I can manually set the IP address of my network card. It
will ultimately be a headless system though so I am trying to automate
the process of setting the static IP address.
To accomplish this, I'm trying to use Component Designer to set up
several RunOnce components. The first will execute
"rundll32 netshell.dll HrRenameConnection"
to set the names of all NICs. The second RunOnce component should
execute
"netsh interface ip set address <rest of my settings>"
Each of the components are set up for the most part - FilePath has the
executable, Arguments has the appropriate argument string, and Phase
settings are 8500 and 8501 respectively. I can't figure out what to
put for the field ValueName though. The help for RunOnce items says
this field should hold the name of the program to run, but I don't
know what that means. I tried entering the name of the EXE I was
running, and it compiled without errors but did not work. I looked
around but couldn't find any examples anywhere.
Any help is greatly appreciated. Thanks in advance.
- Tony H.
I have an XPe project that builds a working XPe image for my target.
It requires a known static IP address so I have netshell included and
working, and I can manually set the IP address of my network card. It
will ultimately be a headless system though so I am trying to automate
the process of setting the static IP address.
To accomplish this, I'm trying to use Component Designer to set up
several RunOnce components. The first will execute
"rundll32 netshell.dll HrRenameConnection"
to set the names of all NICs. The second RunOnce component should
execute
"netsh interface ip set address <rest of my settings>"
Each of the components are set up for the most part - FilePath has the
executable, Arguments has the appropriate argument string, and Phase
settings are 8500 and 8501 respectively. I can't figure out what to
put for the field ValueName though. The help for RunOnce items says
this field should hold the name of the program to run, but I don't
know what that means. I tried entering the name of the EXE I was
running, and it compiled without errors but did not work. I looked
around but couldn't find any examples anywhere.
Any help is greatly appreciated. Thanks in advance.
- Tony H.