Installing a Winforms app

T

TheNortonZ

I have build a WinForms app in VB.Net and compiled it into release mode.

I see in the Release directory that I have an executable and several
resource files. If I move my resource files to some other directory, the
..exe dissappears.

When performing an install, do I need to install the exe plus the resource
files? Is there a way to compile all this into the .exe so I only have one
file?

Thanks.

Norton
 
C

Christian Wilhelm

Hi Norton,

in VS.Net create an new "Setup"-Projekt. Their you can "Design" an MSI
(Microsoft Installer).

Regards,
Chrisitan
 
T

TheNortonZ

Actually, we are using Wise. I just wanted to check to see if I needed to
include all those resource files.

Thanks.

Norton
 
S

Sijin Joseph

If your application is using these resource files at runtime, then
ofcourse you have to bundle them in the installer itself.

Try installing the app, then deleteing the resource files from the
installed location and see if the app runs fine.

Btw are these resource files you are talking about .resX files or
satellite assemblies (i.e. dll files)

if they are dll files then most probably they are required, if they are
resX files the chances are they are already embedded in the main
assembly and are not required in the install location.

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top