Package with Installer

  • Thread starter Thread starter Steven.Smith
  • Start date Start date
S

Steven.Smith

Question for the day !

Instead of simply building an executable file from my
code, I would like to package the application and
associated files into an standard windows installer for
deployment, how can I achieve this in .NET ?

Thanks in advance

Regards Steve
 
Hi Steven

This becomes the answer of the day
(Normaly I don't answer already answered questions)

By using the setup and deployment tools provided by Visual Studio Net.

Cor
 
Ok guy's sorry for being so lame but...

Where is the option to make my newly installed
application appear in the Start-Programs menu
 
And also how do I specify the default path for
installation

more appologies for being lame

Thanks in advance

Regards steve
 
Hi Steven,

You have to make 2 shortcuts in the application folder by rightclicking on
the primary output.
That you can rename one by one, add an icon by right clicking and drag it to
your User's desktop folder and than the other one to your user programs menu
folder.

Why I write this so difficult I always have to do it like that,

And then your next question. How do I rename the package?

You select the setup project in the solution explorer.
Dont right click but go to the properties window.
There you can set the things that I expect that would be your next question.

I hope this helps

Cor
 
Ok thats great thanks, but a more worrying problem has
arisen

after packaging and installation my compiled help file
will not load on .click

it works fine both in the runtime environment in the ide
and also when my app has been built as a standard exe

the code on my click procedure is as follows:

-\\
Help.ShowHelp(Me, "HELP\Help.chm")
-//

which will by default check the bin directory in the
soloution folder for the file

however after running the setup and installation the .chm
will not run. I've added all the project output groups
to the setup build and also included the .chm to the
build as an additional file - this is deployed as I would
expect in the installation direcory.

Whats the syntax for pointing help.ShowHelp method to the
installation directory regardless of what the path may
be ?

thanks in advance

regards steve
 
Hi Steven,

The help in VS net is for me a black box at the moment, when you don't find
the solution, message it tomorrow here, than I will look with you.

For now give it a try yourself first?

Cor
 
Back
Top