Solved

How to use Dotfuscator CE with Visual Studio 2010 Installer?

Posted on 2014-09-03
4
297 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 76
.NET 2008 VB and C# 6 28
VB.NET 2008 - SQL Timeout 9 26
location of a form 2 15
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

825 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