Solved

How to create a small setup program with ODBC install

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 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

19 Experts available now in Live!

Get 1:1 Help Now