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. The Lounge
  3. how did you build your installer?

how did you build your installer?

Scheduled Pinned Locked Moved The Lounge
csharpc++questiondiscussion
34 Posts 23 Posters 29 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.
  • S Southmountain

    I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

    diligent hands rule....

    J Offline
    J Offline
    Johnny J
    wrote on last edited by
    #9

    I second Wix. Integrates nicely with Visual Studio. And for smaller projects, I kinda like Nullsofts NSIS installer[^].

    Anything that is unrelated to elephants is irrelephant
    Anonymous
    -----
    The problem with quotes on the internet is that you can never tell if they're genuine
    Winston Churchill, 1944
    -----
    Never argue with a fool. Onlookers may not be able to tell the difference.
    Mark Twain

    S 1 Reply Last reply
    0
    • R RickZeeland

      Tried to write an installer in C#, but that was not such a good idea, also tried Click-Once install but as our software needs admin rights that was not a good idea either. So we stick with the trusted Inno Setup installer, it does score quite well on Slant too: installers-for-windows-programs[^]

      R Offline
      R Offline
      raddevus
      wrote on last edited by
      #10

      InnoSetup is the best choice! Works great. Easy (relatively) to use. Free. :thumbsup:

      1 Reply Last reply
      0
      • S Southmountain

        I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

        diligent hands rule....

        K Offline
        K Offline
        kmoorevs
        wrote on last edited by
        #11

        We've been using InstallShield for around 20 years for the large apps. (now on 2015) Add-on modules for the large apps (smaller .exes that may or may not have supporting files such as reports, config files, etc) are installed using a hand-rolled installer/package manager that simply gets the install directory from a registry key and determines if this is a new install or an update. If it's a new install, the user is prompted for a password if required. If the password is correct, the package is unzipped (using a 7-zip lib) and the files are moved to the correct locations. Once complete, the installer calls a .bat file to handle the cleanup and quits. We also have a few apps using Click-Once and this has worked well with the exception that I now need to move those to another server and haven't had time to go through the steps to do so...seems to be a pita. BTW, all of our exes and installers are signed. Also possibly important, most of the time our apps are hosted on a network share, so permissions aren't a problem. For the occasional single-user local installations, the apps are installed anywhere but Program Files or any other 'protected' folder. I know this is not recommended, but MS have made it impossible to do routine application maintenance for those playing by the 'rules'.

        "Go forth into the source" - Neal Morse "Hope is contagious"

        S 1 Reply Last reply
        0
        • G GuyThiebaut

          I use Inno Setup to initially install applications. For updates I created a dll and class Application Auto-update via Online Files in C#[^]

          “That which can be asserted without evidence, can be dismissed without evidence.”

          ― Christopher Hitchens

          S Offline
          S Offline
          Southmountain
          wrote on last edited by
          #12

          this link is great resource:rose:

          diligent hands rule....

          G 1 Reply Last reply
          0
          • S Shao Voon Wong

            Just curious, I see you asking questions about digitally signing program and building installer. Are you writing an application for sale like me? In all my current and previous jobs, I do not have access to their certificate to sign their application, so I know nothing about the signing process, only when I tried to do so for my application that I learnt.

            S Offline
            S Offline
            Southmountain
            wrote on last edited by
            #13

            yes, ready to sell my apps!

            diligent hands rule....

            1 Reply Last reply
            0
            • J Johnny J

              I second Wix. Integrates nicely with Visual Studio. And for smaller projects, I kinda like Nullsofts NSIS installer[^].

              Anything that is unrelated to elephants is irrelephant
              Anonymous
              -----
              The problem with quotes on the internet is that you can never tell if they're genuine
              Winston Churchill, 1944
              -----
              Never argue with a fool. Onlookers may not be able to tell the difference.
              Mark Twain

              S Offline
              S Offline
              Southmountain
              wrote on last edited by
              #14

              NullSoft link is great source for me. Thank you:rose:

              diligent hands rule....

              1 Reply Last reply
              0
              • K kmoorevs

                We've been using InstallShield for around 20 years for the large apps. (now on 2015) Add-on modules for the large apps (smaller .exes that may or may not have supporting files such as reports, config files, etc) are installed using a hand-rolled installer/package manager that simply gets the install directory from a registry key and determines if this is a new install or an update. If it's a new install, the user is prompted for a password if required. If the password is correct, the package is unzipped (using a 7-zip lib) and the files are moved to the correct locations. Once complete, the installer calls a .bat file to handle the cleanup and quits. We also have a few apps using Click-Once and this has worked well with the exception that I now need to move those to another server and haven't had time to go through the steps to do so...seems to be a pita. BTW, all of our exes and installers are signed. Also possibly important, most of the time our apps are hosted on a network share, so permissions aren't a problem. For the occasional single-user local installations, the apps are installed anywhere but Program Files or any other 'protected' folder. I know this is not recommended, but MS have made it impossible to do routine application maintenance for those playing by the 'rules'.

                "Go forth into the source" - Neal Morse "Hope is contagious"

                S Offline
                S Offline
                Southmountain
                wrote on last edited by
                #15

                your experience is greatly appreciated. I worked on ClickOnce for a while and later on I gave it up:)

                diligent hands rule....

                1 Reply Last reply
                0
                • S Southmountain

                  this link is great resource:rose:

                  diligent hands rule....

                  G Offline
                  G Offline
                  GuyThiebaut
                  wrote on last edited by
                  #16

                  You're welcome, it's kind of simple but it works and gives you complete control.

                  “That which can be asserted without evidence, can be dismissed without evidence.”

                  ― Christopher Hitchens

                  1 Reply Last reply
                  0
                  • S Southmountain

                    I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                    diligent hands rule....

                    A Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #17

                    InstallAware[^]. It's an MSI based installer which supports all of the stuff that MSI based installers tend to do. It's expensive and I can't say I can recommend the attitude of their customer service, but it works well enough and at least it's not InstallShield.

                    Anna (@annajayne) Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                    R M 2 Replies Last reply
                    0
                    • S Southmountain

                      I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                      diligent hands rule....

                      N Offline
                      N Offline
                      Neobepmat
                      wrote on last edited by
                      #18

                      Wix toolset WiX Toolset[^]

                      1 Reply Last reply
                      0
                      • S Southmountain

                        I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                        diligent hands rule....

                        N Offline
                        N Offline
                        Niels Holst
                        wrote on last edited by
                        #19

                        I note that code-signing has appeared as a side issue: I tried many different companies (I forgot their names, except the last failed attempt which was GoDaddy). Finally, GlobalSign let me have a functional license (based on a USB token, very simple to operate) without an endless discussion of my identity and with super hotline service too.

                        1 Reply Last reply
                        0
                        • S Southmountain

                          I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                          diligent hands rule....

                          M Offline
                          M Offline
                          Member 9167057
                          wrote on last edited by
                          #20

                          I've been using ClickOnce for small'ish projects for a while. My next step is to get familiar with the WiX toolset. Especially since the commercial "solution" I'm using at work is outdated, stale and overall not all too pleasant to work with.

                          1 Reply Last reply
                          0
                          • S Southmountain

                            I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                            diligent hands rule....

                            P Offline
                            P Offline
                            Private Dobbs
                            wrote on last edited by
                            #21

                            WiX Toolset!

                            1 Reply Last reply
                            0
                            • A Anna Jayne Metcalfe

                              InstallAware[^]. It's an MSI based installer which supports all of the stuff that MSI based installers tend to do. It's expensive and I can't say I can recommend the attitude of their customer service, but it works well enough and at least it's not InstallShield.

                              Anna (@annajayne) Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                              R Offline
                              R Offline
                              Rage
                              wrote on last edited by
                              #22

                              Wow, hey Anna, long time no hear, good to hear from you ! Still around here then ?

                              Do not escape reality : improve reality !

                              A 1 Reply Last reply
                              0
                              • S Southmountain

                                I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                                diligent hands rule....

                                B Offline
                                B Offline
                                BryanFazekas
                                wrote on last edited by
                                #23

                                My group deploys a large number of relatively small desktop application -- ClickOnce works well for that. The auto-update feature reduces update to about 1%, as we rarely encounter a problem.

                                1 Reply Last reply
                                0
                                • S Southmountain

                                  I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                                  diligent hands rule....

                                  J Offline
                                  J Offline
                                  johannesnestler
                                  wrote on last edited by
                                  #24

                                  WixToolset it's free, stable, Plays nice with soure control and can do anything windowsinstaller can. I have build ~200 Setups with it and can recommend it.

                                  1 Reply Last reply
                                  0
                                  • R Rage

                                    Wow, hey Anna, long time no hear, good to hear from you ! Still around here then ?

                                    Do not escape reality : improve reality !

                                    A Offline
                                    A Offline
                                    Anna Jayne Metcalfe
                                    wrote on last edited by
                                    #25

                                    Rage wrote:

                                    Wow, hey Anna, long time no hear, good to hear from you ! Still around here then ?

                                    Yep, I've still not decaffeinated, but these days I get to hang from the ceiling* while thinking about my next mug of the stuff. ;) * Not joking. I really do[^]. Seriously though...life's just busy. Between exercise, volunteering and work there's surprisingly little time left for other stuff.

                                    Anna (@annajayne) Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                    R 1 Reply Last reply
                                    0
                                    • S Southmountain

                                      I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                                      diligent hands rule....

                                      M Offline
                                      M Offline
                                      Matt McGuire
                                      wrote on last edited by
                                      #26

                                      I mainly stay with WiX Toolset[^] for distributing desktop apps. It takes a little learning, but you can be up in running in a few hours of learning the xml markup. registering services takes slightly more work, but not a lot. best part is that it's free and lightweight

                                      1 Reply Last reply
                                      0
                                      • S Southmountain

                                        I used a commercial software to build my installer for my Windows apps. one app is written in C++ and another is written in C#. I felt my commercial software too powerful for my small apps. now start to research alternatives. Would any experts like to share your thoughts and experiences?

                                        diligent hands rule....

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #27

                                        App Packages for Windows 10 side-loading and MS Store distribution (ARM, XBox, PC, Hub). Inno Setup the rest of the time (PC).

                                        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                                        1 Reply Last reply
                                        0
                                        • A Anna Jayne Metcalfe

                                          InstallAware[^]. It's an MSI based installer which supports all of the stuff that MSI based installers tend to do. It's expensive and I can't say I can recommend the attitude of their customer service, but it works well enough and at least it's not InstallShield.

                                          Anna (@annajayne) Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                          M Offline
                                          M Offline
                                          Matt Bond
                                          wrote on last edited by
                                          #28

                                          I was using Wise Installation Studio, but that is so old that the cert expired. We bought InstallAware, which I really like. It's very powerful, and our installs need that power. For simple projects, I agree that it would be overkill because of the price. Bond Keep all things as simple as possible, but no simpler. -said someone, somewhere

                                          A 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