Solved

VB 2008 Files to Distribute when not using Click Once

Posted on 2009-05-16
4
517 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 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

691 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