473,322 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 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 3154
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
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
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
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
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
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
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
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
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
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.