Protect exe
Protect exe
Protect exe
Protect exe
Protect exe
Protect exe Protect exe Protect exe Protect exe Protect exe Protect exe Protect exe Protect exe
Protect exe Protect exe
Protect exe
Go Back  Xtreme Visual Basic Talk > > > Protect exe


Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2007, 10:33 AM
rufen101's Avatar
rufen101 rufen101 is offline
Contributor
 
Join Date: Nov 2002
Location: Montréal, Québec, Canada
Posts: 575
Default Protect exe


Is there a way to replace the primary output inside an MSI file by another exe file. I want to use a third party software to protect my exe but each time I compile the setup project, the exe is re-compile and the protection of the third party is removed.

I also though about crypting the exe in the preBuildEvent of the setup project, but then the setup project won't compile because it tries to read the exe file (I get an error with the manifest).

This is the same as obfuscating the exe. I need to replace the original exe with the one that is obfuscated (or password protected). When would I obfuscate the exe when creating a setup ??

Thanks
__________________
Rufen

Last edited by rufen101; 11-20-2007 at 11:11 AM.
Reply With Quote
  #2  
Old 11-20-2007, 02:56 PM
rufen101's Avatar
rufen101 rufen101 is offline
Contributor
 
Join Date: Nov 2002
Location: Montréal, Québec, Canada
Posts: 575
Thumbs up

I found a way. I had to set the primary output packageAS property to 'vsdpaLoose' and I made a batch file that copies the encrypted exe to the setup directory. I call this batch file in the postBuildEvent of the setup project.
__________________
Rufen
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Protect exe
Protect exe
Protect exe Protect exe
Protect exe
Protect exe
Protect exe Protect exe Protect exe Protect exe Protect exe Protect exe Protect exe
Protect exe
Protect exe
 
Protect exe
Protect exe
 
-->