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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
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…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

18 Experts available now in Live!

Get 1:1 Help Now