?
Solved

How to create custom prerequisite (Bootstrapper package) for VS2008

Posted on 2012-09-12
4
Medium Priority
?
1,405 Views
Last Modified: 2012-09-18
Hi experts
I am trying to create a bootstrapper package of a USB device driver so that I can include the package as a prerequisite into my installer (I am using VS2008).

I use a program called the 'BMG' to generate the bootstrapper package.

The problem I have is this USB device driver comes in two files (.inf and .cat). They work fine as long as a user plugs the USB cable into a PC, and the Windows will automatically ask the user to locate the files.

But the scenario is if I want to get my installer to install the USB device driver (prior to installing an application program), I don't know how to do tell the bootstrapper as there isn't any .exe or .msi.

Thanks in advance.
0
Comment
Question by:dominicwong
  • 3
4 Comments
 
LVL 11

Expert Comment

by:kaskhedikar_tushar
ID: 38393868
Hello,

You need
Windows installer 4.5,
.Net Framework 3.5 or greater,
 Power shell not recommended.


Regards,
Tushar Kaskhedikar
0
 

Author Comment

by:dominicwong
ID: 38394062
Sorry Tushar but I am still not sure how to do it.

it is because the bootstrapper package needs to know the name of an executable file in order to install the driver. In my case I have got .inf and .cat files.

BTW, I'd tried 'run32dll.exe' on the '.inf' file in a command window and the driver still didn't installed properly.
0
 

Accepted Solution

by:
dominicwong earned 0 total points
ID: 38397288
rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 ./<??.inf>

http://stackoverflow.com/questions/619604/installing-a-inf-file-using-a-windows-batch-file
0
 

Author Closing Comment

by:dominicwong
ID: 38408811
it works
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

840 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