Click here to Skip to main content
13,193,970 members (48,239 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I developed an applcation for a customer that wants to distribute it from their web site. The application is a .exe program that only requires a .dll file to be in the same directory. Also required is a USB Express device driver that needs to run on the end users PC prior to using the application. The device driver is similar in that it is a .exe file with a setup.ini file that needs to come along. I was trying to use an installer program to package everything to create a single downloadable file, but I'm lost at this point on how to do this. I'm an embedded C programmer but not very familaiar with Windows programming. Do I need to make an INF or CAB file? Any help would be appreciated.
Posted 6-Sep-12 3:34am
Wes Aday 6-Sep-12 9:38am
Usually you would create an exe or an msi
jerryls 6-Sep-12 9:47am
How would I do that if there are 2 .exe programs to run. Make like a batch file with iExpress or something?
Wes Aday 6-Sep-12 9:49am
You would use whatever installer creation program you are using and add your files to the package.
jerryls 6-Sep-12 9:54am
I'm using Install creator, but it asks for one execututable to run. I have to run the driver first then the application.
Wes Aday 6-Sep-12 10:13am
Sorry I am unfamiliar with that particular software. There are tutorials out there for it though, Good luck.
Marcus Kramer 6-Sep-12 9:44am
Do you have access to a non express version of Studio? It could be just about any version (2005, 2008, 2010)
If you do, you could create a setup project and include custom steps to execute the separate installers in there. As Wes has mentioned, it would help you create a single exe or msi distributable.
jerryls 6-Sep-12 9:46am
Yes I have VS2008 which i used to create the .exe application
jerryls 6-Sep-12 9:51am
Sorry- i didnt see the rest of your post. I'll try that.
Marcus Kramer 6-Sep-12 9:54am
You must have caught the comment before I got the update up. Cheers.
jerryls 6-Sep-12 11:07am
I having a problem using the VS 2008 setup project. When I add the driverprogram.exe to the solution and then build it, I still get the same excuteable file that I got before. If I try to genertae an MSI file, I get a setup folder but it has nothing in it?
jerryls 6-Sep-12 17:44pm
I'm moving in the right direcion...I think? I was able to generate an MSI Setup file from Studio. When I run the resultant install program it put both my application file and the driver exectutable file into the program directory I choose and added the necessary support files. I can then run them each individulally and they work. What I would like to happen is- after the user runs the install program have just one short cut or program icon that when he runs it it first installs the driver then runs the application program rather then doing both seperately.
Thanks Again.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Just create a setup project in your version of Studio.
From there you can add all the dependencies into a file structure that the installer should use.
I'm not sure of the process as I haven't done it in a while, but you can create custom actions to execute your individual installers.
( I'll update this solution with some more information in a bit, I actually have to do some real work for a bit :) )

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171018.2 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100