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.
  • 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
                                • M Matt Bond

                                  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 Offline
                                  A Offline
                                  Anna Jayne Metcalfe
                                  wrote on last edited by
                                  #29

                                  It's both powerful and expensive, and once you've got it setup it just works. My main bugbears with it are the inadequacy of the MSIcode code editor and the obscure format its source files are stored in (which makes SCC merges basically impossible). But otherwise it just works.

                                  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?"

                                  1 Reply Last reply
                                  0
                                  • A Anna Jayne Metcalfe

                                    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 Offline
                                    R Offline
                                    Rage
                                    wrote on last edited by
                                    #30

                                    Anna-Jayne Metcalfe wrote:

                                    Not joking. I really do

                                    OK, looks like not much changed then :-D Any you're right, days get shorter by one hour every other year. Or so it seems. :sigh:

                                    Do not escape reality : improve reality !

                                    A 1 Reply Last reply
                                    0
                                    • R Rage

                                      Anna-Jayne Metcalfe wrote:

                                      Not joking. I really do

                                      OK, looks like not much changed then :-D Any you're right, days get shorter by one hour every other year. Or so it seems. :sigh:

                                      Do not escape reality : improve reality !

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

                                      Nah, I just do it with more control[^] now. :cool:

                                      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
                                      • A Anna Jayne Metcalfe

                                        Nah, I just do it with more control[^] now. :cool:

                                        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
                                        #32

                                        :cool::thumbsup:

                                        Do not escape reality : improve reality !

                                        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....

                                          Z Offline
                                          Z Offline
                                          Zlatko Babic
                                          wrote on last edited by
                                          #33

                                          NSIS is open source, easy to setup and automate, text config, community support.

                                          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