none
VB.net publish - single exe?

    Question

  • i am producing a program to track a game in a visually impaired sport.

    when i publish the project there are lots of files produced and when run the program registers in system registry.

    i want to have it as a single EXE that can be run without change to the system.

    the only change the system makes is an optional save to disk of the log file at the end of the game 

    the program can be seen at: http://www.hampshiregoalball.com/tracker 

    if this is not possible - is there a way to publish it in a way that on run it installs into program files and adds to the start menu as well ?


    thanks 

    from joe
    Sunday, February 22, 2009 3:10 PM

Answers

  • Hi,
    ClickOnce deployment (Publish) is not the right choice if you want just the executable, because this kind of deployment needs some addictional files ("manifests"). If you are using Visual Studio 2008 Standard or higher you can deploy your application creating a Setup & Deployment project, otherwise you have to recur to an external installer.

    I tell you this because you specified you need to create shortcuts in the Start menu, otherwise you could just deploy the executable file to your users (if they have .NET Framework installed).

    Hope this helps.
    Alessandro Del Sole - Microsoft MVP http://community.visual-basic.it/Alessandro
    • Marked as answer by Joepitt1991 Sunday, February 22, 2009 10:53 PM
    Sunday, February 22, 2009 9:35 PM

All replies

  • Hi,
    ClickOnce deployment (Publish) is not the right choice if you want just the executable, because this kind of deployment needs some addictional files ("manifests"). If you are using Visual Studio 2008 Standard or higher you can deploy your application creating a Setup & Deployment project, otherwise you have to recur to an external installer.

    I tell you this because you specified you need to create shortcuts in the Start menu, otherwise you could just deploy the executable file to your users (if they have .NET Framework installed).

    Hope this helps.
    Alessandro Del Sole - Microsoft MVP http://community.visual-basic.it/Alessandro
    • Marked as answer by Joepitt1991 Sunday, February 22, 2009 10:53 PM
    Sunday, February 22, 2009 9:35 PM
  • thanks for your help

    i have a setup wizard project - i have added the readme and changelog files but i do not knoow how to import my vb.net app into it  i guess these files go in application folder 

    then what do i put in the user's desktop - as in how do i phrase the shortcut - same with program menu - guessing this is start menu

    many thanks

    Thanks From Joe
    Sunday, February 22, 2009 10:24 PM
  • ok i worked though myself any1 else simply add the project's output into the application folder and make any short cuts needed
    Thanks From Joe
    Sunday, February 22, 2009 10:55 PM