Hi,
I am installing a special network device, which will be used by RAS
for Dialout connections.
After installation of my device (via NCPA -> add Networkcard )
i have to call RAS-Service within the NCPA, to add the new device
to RAS too.
Therefor I call oemsrva.inf from my own oemsetup.inf, and the the
user has to press the Add-button …
( Shell “oemnsvra.inf” InstallOption $(!STF_LANGUAGE) “RAS” $(RasDir) $(AddCopy) $(DoCopy) $(DoConfig) )
I would now like to automate the whole installation process (pressing
buttons) within my installation program.
I do the installation of my device by calling the NetSetupComponentInstall
function of the netcfg.dll
But the great question for me is:
How can I automatically add my device to the list of RAS-devices
of the RAS-service, so that I can use the devie after next reboot ??
Calling oemsrva.inf with an additional argument “myDevice” ?
Or calling a functions of one of the rasXXXX.dll 's ??
The second question is:
How can i suppress the need of an reboot ?
I can start my device with “net start …”,
but how can I inform the RAS-service to use the new device
without rebooting the system ??
Any help will be appreciated
Mit freundlichen Grüßen,
Thomas Berndes
Engel Technologieberatung, Entwicklung/Verkauf von Soft- und Hardware KG
Tel: +49-3329-615000 Fax: +49-3329-612050 EMail: xxxxx@engel-kg.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com