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?
LVL 3
JeffvClaytonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.