473,663 Members | 2,838 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_DTSData PumpTask_7
Error in DTSStep_DTSData PumpTask_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_DTSData PumpTask_7; ErrorCode = -2147213206, Source =
Microsoft Data Transformation Services (DTS) Data Pump, Description =
The number of failing rows exceeds the maximum specified.
DTSStep_DTSData PumpTask_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***********@l rs.com
_______________ _______________ _______________ _______________ ___
LRS® IT Solutions | www.LRS.com/ITSolutions
We Listen. We Learn. We Solve.

Jul 21 '05 #1
1 3198
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: "StevenBarn es" <st***********@ lrs.com>
Newsgroups: microsoft.publi c.dotnet.genera l
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_DTSData PumpTask_7
Error in DTSStep_DTSData PumpTask_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_DTSData PumpTask_7; ErrorCode = -2147213206, Source =
Microsoft Data Transformation Services (DTS) Data Pump, Description =
The number of failing rows exceeds the maximum specified.
DTSStep_DTSDat aPumpTask_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***********@l rs.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
2983
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 "import numarray" allows the exe to run. Left in, I get "4.exe has generated errors" etc. I'm going around and around and there isn't much on Google. py2exe output is last.
2
4142
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 want to get a little fancier. I need to have the setup process check for the existence of the .NET Framework and install it if it is not present. How do I do this? To carry this even a step further, how do I detect the VERSION of .NET...
5
1890
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 to called it due to the obfuscation process), but I don't know how to solve the problem except by excluding the classes I delegate to...
1
1661
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 common library. Assuming that *both*
0
1417
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 which takes the dll from some directory. Before i run the setup project, i want the dlls to be built using dotfuscator and i don't want any manual operation. How can u integrate with build process or setup process? I am dotfuscator community...
4
2008
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 the project bombs. If I disable renaming it appears to work, but the project simply looks like it was never obfuscated.
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 .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...
1
1796
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 .exe and replace it with the dotfuscator version it will not work. -- thanks for any help, tuna
0
976
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 dotfuscator stores the project. Will the Setup produced after building the project will be a proper one? If not how to switch the setup project between the two locations ? I am using Visual Studio 2005.
0
8345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8858
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5657
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
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 we have to send another system
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.