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
560 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

932 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

11 Experts available now in Live!

Get 1:1 Help Now