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
563 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
[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 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio hangs on running project 6 84
IDE for Python 5 104
How does GeoJson relates to Leaflet and Mapbox? 4 48
CSS styling problem 3 27
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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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