Solved

VB 2008 Files to Distribute when not using Click Once

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

Independent Software Vendors: 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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

696 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