Solved

VB 2008 Files to Distribute when not using Click Once

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

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 74

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now