473,508 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3173
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2971
by: RJS | last post by:
Hi all, I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32- py2.2). Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222. In the sample below, commenting out...
2
4134
by: Darwin Fisk | last post by:
I have an app that is deployed that uses .config file settings. I have an update of that app that I am installing using a setup and deployment project. The basic setup process works fine. Now I...
5
1875
by: Robbie De Sutter | last post by:
Hello, When I use the dotfuscator (Community Edition), all my delegate functions no longer work. I understand the reason why (the function in my delegate no longer exists under the name I try...
1
1651
by: Y S | last post by:
Hi, We are t-r-y-i-n-g to use the Obfuscator accompanying DevStudio. Before we can utilize it, we need to know what it does when you have more than a single project, both sharing a...
0
1405
by: venky | last post by:
How can i integrate dotfuscator with my solution projects. Like when i build projects in my solution using visual studio.net, i want to be build using dotfuscator. Like i have a setup project...
4
1994
by: scorpion53061 | last post by:
How can we obfuscate without disabling renaming and using a setup project a project which includes a custom dll? If I attempt to do so after I change the reference path to the obfuscated dll...
1
433
by: StevenBarnes | last post by:
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...
1
1792
by: tuna | last post by:
Need help with windows form setup project. I used dotfuscator(free version with vs 2005) and do not know how to add the output (renamed assembly .exe) to the setup project. If I remove the original...
0
970
by: NIKHILUNNIKRISHNAN | last post by:
Experts, I am using dotfuscator to obfuscate a C# project whose output is a set up(installable). The location where the setup project recieve binaries is quite different from the place where...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.