Hello Friends,
I have written a INF file which installs a driver properly using the
Add/Remove Program icon in control panel. Now I want to make the INF file
usable with “Right-Click -> Install”. What changes should I make to the
INF file?
Regards,
Ganesh
On Fri, 19 Jul 2002 11:54:43 -0400, “Ganesh Okade”
wrote:
>
>Hello Friends,
> I have written a INF file which installs a driver properly using the
>Add/Remove Program icon in control panel. Now I want to make the INF file
>usable with “Right-Click -> Install”. What changes should I make to the
>INF file?
>Regards,
>Ganesh
>
Running an .inf File by Right-Clicking the File Icon
Setup recognizes a special installation section name,
[DefaultInstall], in .inf files that install optional components. If
you use that section in your .inf file, the user can right-click a
file icon for the .inf file in the user interface of 32-bit Windows
versions to run the [DefaultInstall] section. (After the user
right-clicks the .inf file icon, a pop-up menu appears with
installation options the user must select from to actually run the
[DefaultInstall] section.
The [DefaultInstall] section in the .inf file provides a convenient
method of installing optional components. It is particularly useful
during the development of your installation program because it
provides you with a method for installing your optional component
before you write the installation program.
The following example shows typical entries in a [DefaultInstall]
section:
[DefaultInstall]
CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys,
QCD.copy.inf
UpdateInis=QCD.Links
AddReg=QCD.reg, QCD.run
Uninstall=FlexiCD_remove
============
This was from the MSDN Library and also available at:
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/ie/reskit/ie5/part3/ch18post.asp
John Hensley
SmartSoft
(919) 846-1741
Thanks! I got it working.
Regards,
Ganesh