Solved

How to use Dotfuscator CE with Visual Studio 2010 Installer?

Posted on 2014-09-03
4
233 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
Comment Utility
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
Comment Utility
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
Comment Utility
Never able to get it working used a freeware program instead.
0
 

Author Closing Comment

by:zipnotic
Comment Utility
Used a freeware program
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

772 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

15 Experts available now in Live!

Get 1:1 Help Now