Solved

How to use Dotfuscator CE with Visual Studio 2010 Installer?

Posted on 2014-09-03
4
354 Views
Last Modified: 2016-05-17
Hello,

I thought this would be easy but....I'm trying to create an .MSI file for deployment of a winform application in Visual Studio 2010.

Using:
Visual Studio 2010
Visual Studio 2010 Installer
Single Project called "MyProject"


From what I read in various tutorials and (GASP) the instruction manual for Dotfuscator, it seems it isn't integrated into the build process so I have to do it manually.  OPening Dotfuscator and creating the new .exe was trivial but now where do I go?  I tried replacing the original .exe in the BIN, OBJ, debug, and Release folders.  When I try to deploy that MSI, or even build it I get an error that the Hashes don't match.  SOmewhere a tutorial said to rehash the new dotfuscated assembly but I couldn't figure out how or where to do that.

What I'm looking for is a 'for dummies' checklist for building an MSI with 2010 Installer and Dotfuscator CE.  

Any help or good videos out there?

Thanks!

Zip
0
Comment
Question by:zipnotic
  • 4
4 Comments
 

Author Comment

by:zipnotic
ID: 40306169
So,

I tried to get the command line dotfustcator CLI.exe at:
https://www.preemptive.com/support/dotfuscator-support

per the tutorial here:
https://www.learningpenguin.net/myblog/2010/11/11/how-to-use-preemptive-dotfuscator-in-visual-studio-setup-project-to-protect-your-code/

But the preemptive website only gives me a note that I've been signed into the private area when I register and login.

Any ideas?

I have an email in to preemptive
0
 

Author Comment

by:zipnotic
ID: 40315870
So I was able to register, download and install the command line editor.

I can't make it work.  In following the instructions here:

http://dev.schausberger.cc/2013/05/obfuscating-visual-studio-net-2010-code-before-creating-setup-project/

and here:

https://www.learningpenguin.net/myblog/2010/11/11/how-to-use-preemptive-dotfuscator-in-visual-studio-setup-project-to-protect-your-code/

I get a build error  Postbuildevent failed with error code 1

and another one "The command ""C:\Program Files ... exited with code 1"

I have copied the instructions to the build event of the project and tried putting them in the postbuild event of setup project to create an MSI file.  I also tried putting it in both.  I always come up with build errors.  

Please, can anyone help me figure out what should be a SIMPLE process?  There's no forums at Preemptive Solutions only FAQs that are geared towards the pay version and not the CE.

project-settings.jpg
0
 

Accepted Solution

by:
zipnotic earned 0 total points
ID: 41599339
Never able to get it working used a freeware program instead.
0
 

Author Closing Comment

by:zipnotic
ID: 41599347
Used a freeware program
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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…

735 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