471,328 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Dotfuscator & Setup Projects

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 | St***********@lrs.com
__________________________________________________ _____________
LRS® IT Solutions | www.LRS.com/ITSolutions
We Listen. We Learn. We Solve.

Jul 21 '05 #1
1 3004
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
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "StevenBarnes" <st***********@lrs.com>
Newsgroups: microsoft.public.dotnet.general
Subject: Dotfuscator & Setup Projects
Date: 25 Apr 2005 14:44:21 -0700

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 | St***********@lrs.com
_________________________________________________ ______________
LRS® IT Solutions | www.LRS.com/ITSolutions
We Listen. We Learn. We Solve.


Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by RJS | last post: by
5 posts views Thread by Robbie De Sutter | last post: by
1 post views Thread by Y S | last post: by
4 posts views Thread by scorpion53061 | last post: by
1 post views Thread by StevenBarnes | last post: by
1 post views Thread by tuna | last post: by
reply views Thread by NIKHILUNNIKRISHNAN | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.