Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Installation tool

Installation tool

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Patrick Lassalle
    wrote on last edited by
    #1

    What tool or product do you recommand to create a program that installs a .NET Windows Form component? Does Microsoft provides one such tool with the .NET SDK?

    H 1 Reply Last reply
    0
    • P Patrick Lassalle

      What tool or product do you recommand to create a program that installs a .NET Windows Form component? Does Microsoft provides one such tool with the .NET SDK?

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      There's the Windows Installer projects that are seemlessly integrated with VS.NET. You can even assign your build outputs, sources, content, etc. to directories and what-not. If you really don't mind learning the internals of the MSI database, you can get free tools in the Platform SDK, but you have to do almost everything yourself. Otherwise, you could go with commercial solutions. Another options lies in the System.Configuration.Install namespace, where you use and create installer classes that can do about anything, from installing Windows Services to VS.NET toolbox items to custom CodeGroups. To use these, you use installutil.exe [options] MyAssembly.dll. InstallUtil.exe is a utility in the .NET SDK. There are other free solutions out there, but none with support for .NET assemblies that I've seen. I recommend either the Windows Installer projects in VS.NET or writing custom installers like I also mentioned. "Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons

      P 1 Reply Last reply
      0
      • H Heath Stewart

        There's the Windows Installer projects that are seemlessly integrated with VS.NET. You can even assign your build outputs, sources, content, etc. to directories and what-not. If you really don't mind learning the internals of the MSI database, you can get free tools in the Platform SDK, but you have to do almost everything yourself. Otherwise, you could go with commercial solutions. Another options lies in the System.Configuration.Install namespace, where you use and create installer classes that can do about anything, from installing Windows Services to VS.NET toolbox items to custom CodeGroups. To use these, you use installutil.exe [options] MyAssembly.dll. InstallUtil.exe is a utility in the .NET SDK. There are other free solutions out there, but none with support for .NET assemblies that I've seen. I recommend either the Windows Installer projects in VS.NET or writing custom installers like I also mentioned. "Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons

        P Offline
        P Offline
        Patrick Lassalle
        wrote on last edited by
        #3

        Thanks very much for these informations. Just another question: where can I find the Windows Installer projects in VS.NET?

        D H 2 Replies Last reply
        0
        • P Patrick Lassalle

          Thanks very much for these informations. Just another question: where can I find the Windows Installer projects in VS.NET?

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #4

          If you need a sample Windows Installer project, you can try Desktop Bob[^] lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik

          1 Reply Last reply
          0
          • P Patrick Lassalle

            Thanks very much for these informations. Just another question: where can I find the Windows Installer projects in VS.NET?

            H Offline
            H Offline
            Heath Stewart
            wrote on last edited by
            #5

            Add a new project to your solution (with your existing project, making build outputs available to your setup project) from the Deployment category. There should be several options available to you. Use the wizard if you're not sure about what to do. It does quite a bit for you. "Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons

            P 1 Reply Last reply
            0
            • H Heath Stewart

              Add a new project to your solution (with your existing project, making build outputs available to your setup project) from the Deployment category. There should be several options available to you. Use the wizard if you're not sure about what to do. It does quite a bit for you. "Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons

              P Offline
              P Offline
              Patrick Lassalle
              wrote on last edited by
              #6

              Thanks. The Deployment wizard seems to be a very good starting point. It is a good surprise for me. Until now, I had not noticed its existence.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups