Solved

How to create a small setup program with ODBC install

Posted on 2010-09-02
4
490 Views
Last Modified: 2013-12-17
Hi,

I like to create a small Setup Program that also checks and if need install the Microsoft.ACE.OLEDB driver.
Any other parts are simple, a .NET 3.5 Assembly and the ACCDB itself.
As I like to offer it for free I'm not willing to spend much money for a Install-Software.
And as I'm not familiar with e.g. INNO SETUP I don't like to spend to much time with creating setup scripts.

So any ideas how to create my setup?

Thanks

Andre

0
Comment
Question by:andre72
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:w00te
ID: 33590210
You can make a small C# application capable of setting up your real application.  It can call any installers you want (via web links, or download the driver exe's yourself and put them in your project directory) via name.  At the end just tell it to call your main applicaiton installer just like they did here.
http://stackoverflow.com/questions/576457/visual-studio-setup-and-deployment-create-package-with-optional-components
(for all the EE people here, yes I hate referencing SO :P )
-w00te
0
 

Author Comment

by:andre72
ID: 33590536
I think this is not really what I'm looking for.

I doesn't need the abilty to let the user choose anything and I don't like to include the 25MB Setup of the ODBC to just run the setup program while installing.
Yes I see you can also DL the 25MB and install it if need for but I think the driver itself if much smaller and there're only some registry keys needed to install, isn't it?
0
 
LVL 12

Accepted Solution

by:
w00te earned 500 total points
ID: 33591466
Well in the past I typically have used MSI files when I needed customization, but you said you didn't want to spend money (on something like install shield), and "I don't like to spend to much time with creating setup scripts." kinda rules out doing MSI without that (it's far from trivial).
There's probably other ways, but if I needed a quick and easy solution I'd just do the C# thing - 1 step deployment dosn't handle it so I don't know how much simpler you'll get it.
Anyway hopefully someone else knows a quick workaround because I would love to know it :) MSI's painful and you're right, the C# solution is very bulky.
-w00te
0
 

Author Closing Comment

by:andre72
ID: 33612946
Still will have a look at Inno Setup as no other solution available :-)
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Throws error on Decrypting String c# code 3 27
ConsoleSql 1 22
Create XML 5 35
VB.NET HttpWebRequest 12 34
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now