?
Solved

VB 2008 Files to Distribute when not using Click Once

Posted on 2009-05-16
4
Medium Priority
?
523 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

800 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