Solved

How to use Dotfuscator CE with Visual Studio 2010 Installer?

Posted on 2014-09-03
4
400 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
[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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

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