Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to create a small setup program with ODBC install

Posted on 2010-09-02
4
Medium Priority
?
499 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 2000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

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…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Loops Section Overview
Suggested Courses

916 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