[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Using INF to install "Client for Microsoft Networks"

Posted on 1997-06-14
5
Medium Priority
?
3,329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

650 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