Solved

How to create a small setup program with ODBC install

Posted on 2010-09-02
4
492 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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