Electron builder Application name in programs list without version on windows












0















Im using electron builder and have set name and productName in package.json of my electron app, but when I make the installer using nsis and install the application on windows, In the applications list or programs list in windows settings it shows version in the name of the application which I dont want, so is there configuration of electron-builder or nsis that I can use to make that work ? You can see the issue here










share|improve this question





























    0















    Im using electron builder and have set name and productName in package.json of my electron app, but when I make the installer using nsis and install the application on windows, In the applications list or programs list in windows settings it shows version in the name of the application which I dont want, so is there configuration of electron-builder or nsis that I can use to make that work ? You can see the issue here










    share|improve this question



























      0












      0








      0








      Im using electron builder and have set name and productName in package.json of my electron app, but when I make the installer using nsis and install the application on windows, In the applications list or programs list in windows settings it shows version in the name of the application which I dont want, so is there configuration of electron-builder or nsis that I can use to make that work ? You can see the issue here










      share|improve this question
















      Im using electron builder and have set name and productName in package.json of my electron app, but when I make the installer using nsis and install the application on windows, In the applications list or programs list in windows settings it shows version in the name of the application which I dont want, so is there configuration of electron-builder or nsis that I can use to make that work ? You can see the issue here







      node.js windows electron nsis electron-builder






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 14 '18 at 9:07







      Ali Altaf

















      asked Nov 14 '18 at 8:35









      Ali AltafAli Altaf

      53




      53
























          2 Answers
          2






          active

          oldest

          votes


















          2














          According to the documentation you can use the uninstallDisplayName option to define a different name for the uninstall menu:



          "build": {
          "productName": "MyApp",
          "nsis": {
          "artifactName": "MyApp.setup.${version}.${ext}",
          "uninstallDisplayName": "MyApp"
          },
          ...
          }





          share|improve this answer































            0














            You just have to put your version in package.json
            For example:



            {
            "name": "MyApp",
            "version": "1.0.1",
            "build": {
            ...
            }
            }





            share|improve this answer
























            • yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

              – Ali Altaf
              Nov 14 '18 at 8:53













            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53295950%2felectron-builder-application-name-in-programs-list-without-version-on-windows%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            According to the documentation you can use the uninstallDisplayName option to define a different name for the uninstall menu:



            "build": {
            "productName": "MyApp",
            "nsis": {
            "artifactName": "MyApp.setup.${version}.${ext}",
            "uninstallDisplayName": "MyApp"
            },
            ...
            }





            share|improve this answer




























              2














              According to the documentation you can use the uninstallDisplayName option to define a different name for the uninstall menu:



              "build": {
              "productName": "MyApp",
              "nsis": {
              "artifactName": "MyApp.setup.${version}.${ext}",
              "uninstallDisplayName": "MyApp"
              },
              ...
              }





              share|improve this answer


























                2












                2








                2







                According to the documentation you can use the uninstallDisplayName option to define a different name for the uninstall menu:



                "build": {
                "productName": "MyApp",
                "nsis": {
                "artifactName": "MyApp.setup.${version}.${ext}",
                "uninstallDisplayName": "MyApp"
                },
                ...
                }





                share|improve this answer













                According to the documentation you can use the uninstallDisplayName option to define a different name for the uninstall menu:



                "build": {
                "productName": "MyApp",
                "nsis": {
                "artifactName": "MyApp.setup.${version}.${ext}",
                "uninstallDisplayName": "MyApp"
                },
                ...
                }






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 14 '18 at 9:08









                GuillaumeGuillaume

                3,54011419




                3,54011419

























                    0














                    You just have to put your version in package.json
                    For example:



                    {
                    "name": "MyApp",
                    "version": "1.0.1",
                    "build": {
                    ...
                    }
                    }





                    share|improve this answer
























                    • yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

                      – Ali Altaf
                      Nov 14 '18 at 8:53


















                    0














                    You just have to put your version in package.json
                    For example:



                    {
                    "name": "MyApp",
                    "version": "1.0.1",
                    "build": {
                    ...
                    }
                    }





                    share|improve this answer
























                    • yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

                      – Ali Altaf
                      Nov 14 '18 at 8:53
















                    0












                    0








                    0







                    You just have to put your version in package.json
                    For example:



                    {
                    "name": "MyApp",
                    "version": "1.0.1",
                    "build": {
                    ...
                    }
                    }





                    share|improve this answer













                    You just have to put your version in package.json
                    For example:



                    {
                    "name": "MyApp",
                    "version": "1.0.1",
                    "build": {
                    ...
                    }
                    }






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 14 '18 at 8:42









                    Hai PhamHai Pham

                    1,215212




                    1,215212













                    • yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

                      – Ali Altaf
                      Nov 14 '18 at 8:53





















                    • yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

                      – Ali Altaf
                      Nov 14 '18 at 8:53



















                    yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

                    – Ali Altaf
                    Nov 14 '18 at 8:53







                    yeah I have that and everything else is fine, but on windows when I go to application list in windows settings page after installing the application, it shows the application name and version appended together which I dont want.

                    – Ali Altaf
                    Nov 14 '18 at 8:53




















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53295950%2felectron-builder-application-name-in-programs-list-without-version-on-windows%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Bressuire

                    Vorschmack

                    Quarantine