Solved

Best way to create an installer for a .net 4.0 app that uses Microsoft.Jet.OLEDB.4.0?

Posted on 2010-11-26
2
562 Views
Last Modified: 2013-12-17
I'm done writing my C# application. I made it on Visual Studio 2010, .NET 4.0, and I use "Microsoft.Jet.OLEDB.4.0" in it (by using it as a provider in a connection string). Now I want to be able to distribute it, but I also want to have it obfuscated. I used ClickOnce before to create my installers and worked great, but I don't know how to incorporate this with Dotfuscator. I don't really have to use ClickOnce. I'm open to any other solution. What I require is to distribute an application that will download and install .NET 4.0 (if required), Jet 4.0 (if required) and that the user would have a hard time to decompile. I don't care how. There are just too many options and they all require some knowledge that I don't have. I also tried Inno Setup. Apparently you can configure it to download dependencies. I found an article in CodeProject but after creating and running my installer with a code to download and install the Jet engine I got an error message (maybe because I already have it installed). I don't think this should be hard at all for a person with a little bit more knowledge than I. As I said, I don't care how but I just want to distribute my app, obfuscated, and make it auto-download and install those 2 dependencies (.NET 4.0 and Jet 4.0).
0
Comment
Question by:jsoldi1980
2 Comments
 

Author Comment

by:jsoldi1980
ID: 34220811
I've been reading a little more and I think I'll be needing the Jet 4.0 engine and the Jet OLE DB Provider as prerequisites (as well as .NET 4.0).
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 34228372
Hi soldi1980,

Yes. You are right you will have to set .Net 4.0 as a prerequisite.

I am not sure about Microsoft.Jet.OLEDB.4.0, I believe you will have to manually test it and add it under Launch condition also you will need the URL from where your installer can download and install Microsoft.Jet.OLEDB.4.0.

Regards,
Chinmay
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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

830 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