Solved

How to create a small setup program with ODBC install

Posted on 2010-09-02
4
495 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

635 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