Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • Last Modified:

Set-Up Project

I have a set-up project which prepares all the files heeded to put on an installation disk. However, before I build the project I replace the compiled exe file with an exe file that has been dotfuscated. The problem is when I then rebuild the set-up project, vb.net recompiles the exe from the source code and overwrites the dotfuscated version which defeats the object. Should I click on Build... or ReBuild... or what is the procedure?
0
JeffvClayton
Asked:
JeffvClayton
  • 3
  • 2
1 Solution
 
Christopher KileCommented:
You need to add a custom build step that creates the dotfuscated version and places it where the non-dotfuscated version is.
0
 
JeffvClaytonAuthor Commented:
Don't quite follow. I have created the dotfuscated version and replaced the non dotfuscated version. My question is when I create the install package it writes over dorfusated version and recomplies the code into a new undortuscated version for inclusion in the package. All I am trying to do is get my undotfuscated version into the install package i.e. the msi file.
0
 
Christopher KileCommented:
Excuse me, but what is your goal here? In your last message you said:

All I am trying to do is get my undotfuscated version into the install package i.e. the msi file.

But your initial question states:
The problem is when I then rebuild the set-up project, vb.net recompiles the exe from the source code and overwrites the dotfuscated version which defeats the object.
Are you trying to include both the dotfuscated and undotfuscated versions in your setup package??
0
 
JeffvClaytonAuthor Commented:
Should have said

All I am trying to do is get my dotfuscated version into the install package i.e. the msi file.
0
 
Christopher KileCommented:
Well, then, what prevents you from creating teh undotfuscated exe, then dotfuscating it, all in the same setup package as I described?  Why wouldn't you include the dotfuscation as an automatic step?
You CAN run the build of the setup package separately, btw.  Right-click on the setup project then select Build.  Only the setup package gets built.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now