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. C#
  4. Creating an installer for my solution

Creating an installer for my solution

Scheduled Pinned Locked Moved C#
csharpquestiontutorial
3 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    I'm creating a C# .net program which contains one .exe file and one .dll file. I need to create an installer for this program to let the user install my program from for example a cd. What is it I should do? I really have no idea. I know there is an installer class i .net but the documentation is terrible about how one uses it. Could anyone point out what I need to do?

    H G 2 Replies Last reply
    0
    • A Anonymous

      I'm creating a C# .net program which contains one .exe file and one .dll file. I need to create an installer for this program to let the user install my program from for example a cd. What is it I should do? I really have no idea. I know there is an installer class i .net but the documentation is terrible about how one uses it. Could anyone point out what I need to do?

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

      The Installer class is different from an application installer. The class is for unit installations (like installing a control in the VS.NET toolbox) or custom actions. To create an installation program for your application, add a new project to your solution in VS.NET and select "Setup and Deployment", then a Windows Installer project. It's pretty self-explanitory, but refer to the documentation if you have questions. Keep in mind that this is a very lite version of a Windows Installer IDE and can only do basic things. For a professional package, try Wise for Windows Installer or InstallShield's version, which is much, much more expensive.

      -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

      1 Reply Last reply
      0
      • A Anonymous

        I'm creating a C# .net program which contains one .exe file and one .dll file. I need to create an installer for this program to let the user install my program from for example a cd. What is it I should do? I really have no idea. I know there is an installer class i .net but the documentation is terrible about how one uses it. Could anyone point out what I need to do?

        G Offline
        G Offline
        gokselm
        wrote on last edited by
        #3

        You should add a setup project to your solution. You can also add Installer class to your main project for the custom actions during the setup. You can look up the msdn for further documentation.

        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