Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Using INF to install "Client for Microsoft Networks"

Posted on 1997-06-14
5
Medium Priority
?
3,362 Views
Last Modified: 2013-12-29
I am creating an installer for a client in Visual Basic 4.0 32Bit. The software needs to have "Slip and Scripting for Dial-Up Networking" and "Client for Microsoft Networks" installed to work properly.

I can add "Slip and Scripting for Dial-Up Networking" by running the [DefaultInstall] in Rnaplus.inf (which appears to be the same as [CSLIP]). However, when I try to add the "Client for Microsoft Networks" by running the [VREDIR.Install] in Netcli.inf (which seems to be the only file used for this because there is no [DefaultInstall]), it installs all the drivers and files, but it does not actually add the Client for Microsoft Networks...

Arrg...I'm getting frustrated. When I "manually" install the "Client for Microsoft Networks" it adds all the same files, et al just as it does when I run [VREDIR.Install] in Netcli.inf...EXCEPT it actually adds the "Client for Microsoft Networks" -- is there another inf file I am missing? Perhaps a [] section I do not have? Is there a binary I need to run??? It appears that something is missing after I run [VREDIR.Install] in Netcli.inf.

Any help or direction would be greatly appreciated.

-S
0
Comment
Question by:summerset
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
kevinb062397 earned 400 total points
ID: 1682910
The VREDIR.Install just sets the VREDIR settings it does not install the Client.

In the [NETWORK] section add this line
Clients=VREDIR

This is excerpt of my bsetup.inf file that is doing something like what you are trying.

[Network]
ComputerName="compname"
Workgroup="workgroup"
Description="New User"
Display=0
Clients=VREDIR
Protocols=NETBEUI, MSTCP
DefaultProtocol=MSTCP
IgnoreDetectedNetCards=0
Security=share
Services=VSERVER
0
 

Author Comment

by:summerset
ID: 1682911
That would work if I were installing everything from a Batch setup, but I am working with users who already have Windows installed on their machines.

If the VREDIR.install only installs the reg entries, etc...then where do I get the setup finished? Are there a list of command-line parameters or switches for:

Msnp32.dll
Netdi.dll
Shell32.dll

Perhaps the key lies there? Do I need to run the VREDIR.install and then pass commands to the proper dll to finish the install?

-S
0
 
LVL 1

Expert Comment

by:kevinb062397
ID: 1682912
Just to get my understanding of your current config.
You are trying to add the client within your program, all works (files and drivers copied) except the client does not show in the network properties???

There are 4 files associated with network (which you seem to already know) net.inf, netcli.inf, nettrans.inf and netservr.inf.
There is also a way to call the NDIInstaller from the netdi.dll, I think it is  NDICALLINSTALLER.  I don't know it's struct but I will find out.
 If you open the netdi.dll with windows 95's quickview you can get some idea of what I'm getting at.  Also try this url http://www.microsoft.com/support/products/developer/ddk_hardware/winddk/Samples/  at the bottom of the page is an ipinst.exe  which is an example of how to do what you are trying.

I'm still looking for more info, but maybe this can help you get you answer.


0
 

Author Comment

by:summerset
ID: 1682913
Very helpful...I am beginning to see the picture. I do have one problem though...I am opening the ipdetect.mak file inside Microsoft Visual C++ (Pro Edition 4.0), but it will not compile because of:

#include "setupx.h"

There is no setupx.h included with the rest of the source. I am not a C writer...I spend most of my time in Unix and (when using Windows) in Visual Basic. Was this file deliberately not included or is there something more that I should know.

ALSO...your help has been extremely excellent, and quite honestly, the best I have recieved here.

Thanks again!!

-S
0
 
LVL 1

Expert Comment

by:kevinb062397
ID: 1682914
I'm not up on C coding either.  You might try looking for setup.h or setup<something>.h . It looks like they are indicating a variant of setup.h (i.e setup_mine.h).  Let me ask some of the C coders around here.  I'll get back to.


Thanks for the kind words.

Good Luck.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question