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 Offline
    S Offline
    Southmountain
    wrote on last edited by
    #1

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

    S R Kornfeld Eliyahu PeterK J G 20 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....

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #2

      How about give [wixsharp](https://github.com/oleg-shilo/wixsharp) a go?! :) I think there is a vs-extension somewhere as well... Some googling later.. found those VS templates... [WixSharp Project Templates - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=OlegShilo.WixSharpProjectTemplates)

      A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

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

        R Offline
        R Offline
        RickZeeland
        wrote on last edited by
        #3

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

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #4

          Win32 API has (a now not recommended) section of Setup API we used to create our own installer. Today we use the newer Installer API (MSI) to do the same.

          "The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          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
            Jacquers
            wrote on last edited by
            #5

            I used to use [Inno Setup](https://jrsoftware.org/isinfo.php). Free and flexible enough for my needs at the time. My current app doesn't actually require an installer. I use ClickOnce publishing to get all the files and dependent libraries. These days it's basically copy and paste deployment. I wrote my own updater though which only downloads new and changed files.

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

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

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

                S Offline
                S Offline
                Shao Voon Wong
                wrote on last edited by
                #7

                I use [WiX](https://wixtoolset.org/) for my work and personal project. But beware there is a learning curve to its XML syntax. If your application just include an executable, few dlls and images, the WiX template can be easily modified to your needs. As someone mentioned above, WiXSharp is a better alternative to raw WiX.

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

                  S Offline
                  S Offline
                  Shao Voon Wong
                  wrote on last edited by
                  #8

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