Dotfuscator & Setup Projects

S

StevenBarnes

I have a solution with 6 or so projects, some dts dll's, a couple
images, etc. I have a working setup project that creates a nice
installation msi. Cool.

Now I want to obfuscate my .exe and my .dll's, & have the Setup project
build using the obfuscated files. I manually copy the obfuscated files
back into each project's obj/release folder. Then I build the setup
project (while not re-building anything else, of course). That seems to
work, but it's quite tedious. I'm also having a problem with a CCW (Com
callable wrapper, if I'm using the right term) I wrote for a DTS step
to be able to call. The non-obfuscated assembly works fine. When I run
the install based off the obfuscated CCW assembly, it fails with:

Start in DTSStep_DTSDataPumpTask_7
Error in DTSStep_DTSDataPumpTask_7; ErrorCode = 0, Source = DTS Data
Pump, Description = Error during Transformation 'EncryptLogKey' for Row
number 1. Errors encountered so far in this task: 1.
Error in DTSStep_DTSDataPumpTask_7; ErrorCode = -2147213206, Source =
Microsoft Data Transformation Services (DTS) Data Pump, Description =
The number of failing rows exceeds the maximum specified.
DTSStep_DTSDataPumpTask_7

We're just using the community edition of Dotfuscator.
I guess I have 2 issues/questions:
* Is there a better/easier way?
* Is the way I'm doing it related to my error?

Thanks!

Steven Barnes | Senior Consultant
P: 217.793.3800 ext. 1883 | F: 217.698.8580 | (e-mail address removed)
_______________________________________________________________
LRS® IT Solutions | www.LRS.com/ITSolutions
We Listen. We Learn. We Solve.
 
T

Todd Derksen [MSFT]

Steven, I cannot help you with the dotfuscation issues but I think I can
help you with simplifying the process.
You can add post build events to your exe and dlls, if they are not VB
projects, that calls the obfuscator.
In VS 2005, for which Beta 2 has just been released, VB projects and setup
projects also now feature pre and post build events which allow you to
automate this functionality into your build process.

Todd Derksen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top