Solved

How to use Dotfuscator CE with Visual Studio 2010 Installer?

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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…

728 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