0

I have used .Net Reactor to obfuscate code. Now how do I create create setup package for the obfuscated code. Or are there any other tool for creating setup package for obfuscated code. Thanks in advance.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Anshuman Roy
  • 105
  • 2
  • 3
  • 7

5 Answers5

1

Not sure why this is a problem. Why don't you create the setup package before obfuscating the assemblies?

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
  • When I create a setup package, the package gets created without the obfuscated assembly. And I want to create the setup with the obfuscated assemly/exe. – Anshuman Roy Mar 29 '10 at 12:26
  • Create the setup project first. Then obfuscate. Then re-build the setup project. – Hans Passant Mar 29 '10 at 12:43
1

I had no problem with BitHelmet Obfuscator. My setup package just uses the obfuscated assemblies in BitHelmet's output folder, instead of project output. Works fine.

Daniel Dolz
  • 2,403
  • 1
  • 18
  • 23
0

Are you using the VS included setup project? For that, the obfuscator needs to support MSBuild based obfuscation, so that the obfuscation takes place as part of build process. This way, the obfuscated dlls are available for the setup project.

logicnp
  • 5,796
  • 1
  • 28
  • 32
0

I found a way to do with Dotfuscator. Below are the steps. You need to create Dotfuscator project first, i.e right click on solution->add project->select Dotfuscator as project type. To the project created right click on Input-> map to project output from your actual project. Build the Dotfuscator project. Next add the setup project. Point setup project output to that of Dotfuscator. And now build to create the setup. Now your code is obfuscated.

Now I am looking for a solution to work with .Net Reactor, obfuscation and add the output to setup package.

Anshuman Roy
  • 105
  • 2
  • 3
  • 7
0

You can use the .NET Reactor VS Add-in in to automatically obfuscate the assemblies. This way your setup package will include the obfuscated files.

The solution is described here: Solution

Eziriz
  • 331
  • 2
  • 5