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

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

724 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