Welcome Guest Search | Active Topics | Members | Log In | Register

VS 2008 Setup Project - Preserve a modified version of the application Options · View
David Hearn
Posted: Wednesday, April 16, 2008 4:54:56 PM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 16/04/2008 16:54:56
Date: Wed, 16 Apr 2008 15:54:56 +0100

Bernard wrote:
>
> Hello,
>
> I use a third party tool to protect and encrypt my application. This
> tool modifies the executable file compiled by VS, in order to encrypt
> some parts of the code and embed the protection into it.
>
> Now, when I try to build the Setup project, VS automatically removes the
> modified version of my executable and replaces it with the latest
> compiled version (not protected) before building Setup.msi.
>
> How can I force VS to keep the modified executable ?
>
> Thanks !

I've used the (free after registration) Dotfuscator Extended Community
Edition which fully ties into the IDE (unlike the basic CE version).
This adds a new project type for the obfuscation which can, like the
installer project, use "Primary output from XYZ" as the input.
Similarly, it exposes this interface to the installer project - ie. you
can select the "Primary output from obfuscation project" as the input to
the installer.

I don't know what tool you're using to generate your outputs, but having
something which plays nicely with the normal build process is great. Do
they make a version which works like this?

D
Bernard
Posted: Wednesday, April 16, 2008 6:44:51 PM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 16/04/2008 18:44:51
Date: Wed, 16 Apr 2008 16:44:51 +0200


Hello,

I use a third party tool to protect and encrypt my application. This tool
modifies the executable file compiled by VS, in order to encrypt some parts of
the code and embed the protection into it.

Now, when I try to build the Setup project, VS automatically removes the
modified version of my executable and replaces it with the latest compiled
version (not protected) before building Setup.msi.

How can I force VS to keep the modified executable ?

Thanks !
Bernard
Posted: Thursday, April 17, 2008 1:08:41 PM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 17/04/2008 13:08:41
Date: Thu, 17 Apr 2008 11:08:41 +0200


Hello David,

It's solved : I was patching the .EXE located in the .bin/Release folder instead
of obj/Release. Now it works fine.

BTW, the protection tool which I'm using is PC Guard.

Regards,

Bernard

David Hearn a écrit :
> Bernard wrote:
>>
>> Hello,
>>
>> I use a third party tool to protect and encrypt my application. This
>> tool modifies the executable file compiled by VS, in order to encrypt
>> some parts of the code and embed the protection into it.
>>
>> Now, when I try to build the Setup project, VS automatically removes
>> the modified version of my executable and replaces it with the latest
>> compiled version (not protected) before building Setup.msi.
>>
>> How can I force VS to keep the modified executable ?
>>
>> Thanks !
>
> I've used the (free after registration) Dotfuscator Extended Community
> Edition which fully ties into the IDE (unlike the basic CE version).
> This adds a new project type for the obfuscation which can, like the
> installer project, use "Primary output from XYZ" as the input.
> Similarly, it exposes this interface to the installer project - ie. you
> can select the "Primary output from obfuscation project" as the input to
> the installer.
>
> I don't know what tool you're using to generate your outputs, but having
> something which plays nicely with the normal build process is great. Do
> they make a version which works like this?
>
> D
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.076 seconds.