Solved

VB 2008 Files to Distribute when not using Click Once

Posted on 2009-05-16
4
498 Views
Last Modified: 2012-05-07
After a few months of struggling to learn enough of VB.Net to complete an app, I now am faced with the challenge of creating a setup that can be distributed over the net or on CD.
After a lot of playing around with the Click Once and the adding of a Setup Project into my project, I decided to use the Setup Factory that I used for distributing my VB 6 projects.
When distributing my VB 6 projects, I would include the exe, activex controls, dlls, dependencies, database  etc.  I could then tell the setup builder where I want things installed.
My question is, what files to I include in a setup for VB 2008.
There are manifests, dlls etc.  I don't want anyone to see the code and only want to create a setup that will install the necessary components in order to run the program.
What files do I need to include?
Thanks
0
Comment
Question by:Sheritlw
  • 2
  • 2
4 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 24404991
The app.exe, the app.config and any dll's would need to be included. However, if you are concerned with decompilation, you should be aware that .NET code is relatively easy to decompile for those with adequate knowledge. You might want to look into some sort of obfuscator for you code (which is easily Googled).
0
 

Author Comment

by:Sheritlw
ID: 24405028
Thanks for the info on an obfuscator, never heard of it. Someday I hope I can afford one, but it is way beyond my budget for now.

I have the following files... Do I include only those that I have (starred *)?
*** ProgramName.exe
*** ProgramName.exe.config
ProgramName.exe.manifest
ProgramName.vshost.application
ProgramName.vshost.exe
ProgramName.vshost.exe.config
ProgramName.pdb
ProgramName.Application

Thanks
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 24406433
Yes. The .manifest and .application files relate to ClickOnce. Anything with vshost in its name relates to the Visual Studio Hosting process (debugging). .pdb files are the debug symbols for you application. The .exe.config only exists if you have added settings to your application, so don't be alarmed if it's not always there.
0
 

Author Closing Comment

by:Sheritlw
ID: 31582311
Thank you so much for your help!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question