Click here to Skip to main content
Sign Up to vote bad
good
See more: Application
Hi,
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:34
jerryls262

Comments
Wes Aday - 6 Sep '12 - 9:38
Usually you would create an exe or an msi
jerryls - 6 Sep '12 - 9:47
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:49
You would use whatever installer creation program you are using and add your files to the package.
jerryls - 6 Sep '12 - 9:54
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:13
Sorry I am unfamiliar with that particular software. There are tutorials out there for it though, http://www.bing.com/search?q=install+creator+tutorial&FORM=SAWRES&src=IE-SearchBox&adlt=strict. Good luck.
Marcus Kramer - 6 Sep '12 - 9:44
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:46
Yes I have VS2008 which i used to create the .exe application
jerryls - 6 Sep '12 - 9:51
Sorry- i didnt see the rest of your post. I'll try that.
Marcus Kramer - 6 Sep '12 - 9:54
You must have caught the comment before I got the update up. Cheers.
jerryls - 6 Sep '12 - 11:07
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:44
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

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 Smile | :) )
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 300
1 Slacker007 240
2 Aarti Meswania 210
3 Ron Beyer 200
4 Mahesh Bailwal 186
0 Sergey Alexandrovich Kryukov 8,598
1 OriginalGriff 7,024
2 CPallini 3,668
3 Rohan Leuva 3,011
4 Maciej Los 2,343


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid