Possible to create MSI installer for use in Linux











up vote
1
down vote

favorite












I am building my Java product in Windows and generating an MSI installer for my product.



Is it possible to build an .MSI installer file for my product in Ubuntu, which would run on Windows?










share|improve this question
























  • Do you want to use Ubuntu to make an installer, or make an installer for Ubuntu?
    – vidarlo
    May 25 at 22:41










  • @vidarloI want to use Ubuntu to create an installer for my java product and it should run in both the windows and ubuntu
    – Chinna
    May 28 at 7:11










  • This may be useful, npmjs.com/package/msi-packager wiki.gnome.org/msitools This may be a solution to building MSI installers in Linux.
    – Codename K
    Nov 24 at 15:06















up vote
1
down vote

favorite












I am building my Java product in Windows and generating an MSI installer for my product.



Is it possible to build an .MSI installer file for my product in Ubuntu, which would run on Windows?










share|improve this question
























  • Do you want to use Ubuntu to make an installer, or make an installer for Ubuntu?
    – vidarlo
    May 25 at 22:41










  • @vidarloI want to use Ubuntu to create an installer for my java product and it should run in both the windows and ubuntu
    – Chinna
    May 28 at 7:11










  • This may be useful, npmjs.com/package/msi-packager wiki.gnome.org/msitools This may be a solution to building MSI installers in Linux.
    – Codename K
    Nov 24 at 15:06













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am building my Java product in Windows and generating an MSI installer for my product.



Is it possible to build an .MSI installer file for my product in Ubuntu, which would run on Windows?










share|improve this question















I am building my Java product in Windows and generating an MSI installer for my product.



Is it possible to build an .MSI installer file for my product in Ubuntu, which would run on Windows?







server software-installation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 25 at 22:31









K7AAY

3,85221544




3,85221544










asked May 25 at 9:59









Chinna

112




112












  • Do you want to use Ubuntu to make an installer, or make an installer for Ubuntu?
    – vidarlo
    May 25 at 22:41










  • @vidarloI want to use Ubuntu to create an installer for my java product and it should run in both the windows and ubuntu
    – Chinna
    May 28 at 7:11










  • This may be useful, npmjs.com/package/msi-packager wiki.gnome.org/msitools This may be a solution to building MSI installers in Linux.
    – Codename K
    Nov 24 at 15:06


















  • Do you want to use Ubuntu to make an installer, or make an installer for Ubuntu?
    – vidarlo
    May 25 at 22:41










  • @vidarloI want to use Ubuntu to create an installer for my java product and it should run in both the windows and ubuntu
    – Chinna
    May 28 at 7:11










  • This may be useful, npmjs.com/package/msi-packager wiki.gnome.org/msitools This may be a solution to building MSI installers in Linux.
    – Codename K
    Nov 24 at 15:06
















Do you want to use Ubuntu to make an installer, or make an installer for Ubuntu?
– vidarlo
May 25 at 22:41




Do you want to use Ubuntu to make an installer, or make an installer for Ubuntu?
– vidarlo
May 25 at 22:41












@vidarloI want to use Ubuntu to create an installer for my java product and it should run in both the windows and ubuntu
– Chinna
May 28 at 7:11




@vidarloI want to use Ubuntu to create an installer for my java product and it should run in both the windows and ubuntu
– Chinna
May 28 at 7:11












This may be useful, npmjs.com/package/msi-packager wiki.gnome.org/msitools This may be a solution to building MSI installers in Linux.
– Codename K
Nov 24 at 15:06




This may be useful, npmjs.com/package/msi-packager wiki.gnome.org/msitools This may be a solution to building MSI installers in Linux.
– Codename K
Nov 24 at 15:06










2 Answers
2






active

oldest

votes

















up vote
3
down vote













AFAIK there are no tools to create MSI packages on Ubuntu (MS in MSI stands for "Microsoft", and MSI is pretty much limited to the Windows platform). You can package Ubuntu (and other flavours) in packages of various forms (apt, snap, tarballs, etc.) -- see http://packaging.ubuntu.com/html/packaging-new-software.html, for example. But using the same package for Windows and Linux (or other Unixen) is not really a realistic option, given the vast fundamental differences between the two OS platforms.






share|improve this answer





















  • Hi, jumping in this conversation. What tools do you recommend on Windows ?
    – Lucbug
    Sep 3 at 14:54










  • Already answered here: stackoverflow.com/questions/1042566/…
    – Frank van Wensveen
    Sep 4 at 8:34


















up vote
0
down vote













javapackager performs tasks related to packaging and signing Java and JavaFX applications. javapackager is provided by openjfx in Ubuntu 16.04 and Ubuntu 18.04.



From the results of man javapackager.



SYNOPSIS
javapackager command [options]

command
The task that should be performed.

options
One or more options for the command separated by spaces.

COMMANDS
You can specify one of the following commands. After the command,
specify the options for it.

-createbss
Converts CSS files into binary form.

-createjar
Produces a JAR archive according to other parameters.

-deploy
Assembles the application package for redistribution. By default,
the deploy task generates the base application package, but it can
also generate a self-contained application package if requested.

-makeall
Performs compilation, createjar, and deploy steps as one call, with
most arguments predefined, and attempts to generate all applicable
self-contained application packages. The source files must be
located in a folder called src, and the resulting files (JAR, JNLP,
HTML, and self-contained application packages) are put in a folder
called dist. This command can only be configured in a minimal way
and is as automated as possible.

-signjar
Signs JAR file(s) with a provided certificate.




In Ubuntu 18.10 and later javapackager has been removed from OpenJFX. You can replace it with msi-packager as mentioned in Codename K's answer.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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',
    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%2faskubuntu.com%2fquestions%2f1040167%2fpossible-to-create-msi-installer-for-use-in-linux%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








    up vote
    3
    down vote













    AFAIK there are no tools to create MSI packages on Ubuntu (MS in MSI stands for "Microsoft", and MSI is pretty much limited to the Windows platform). You can package Ubuntu (and other flavours) in packages of various forms (apt, snap, tarballs, etc.) -- see http://packaging.ubuntu.com/html/packaging-new-software.html, for example. But using the same package for Windows and Linux (or other Unixen) is not really a realistic option, given the vast fundamental differences between the two OS platforms.






    share|improve this answer





















    • Hi, jumping in this conversation. What tools do you recommend on Windows ?
      – Lucbug
      Sep 3 at 14:54










    • Already answered here: stackoverflow.com/questions/1042566/…
      – Frank van Wensveen
      Sep 4 at 8:34















    up vote
    3
    down vote













    AFAIK there are no tools to create MSI packages on Ubuntu (MS in MSI stands for "Microsoft", and MSI is pretty much limited to the Windows platform). You can package Ubuntu (and other flavours) in packages of various forms (apt, snap, tarballs, etc.) -- see http://packaging.ubuntu.com/html/packaging-new-software.html, for example. But using the same package for Windows and Linux (or other Unixen) is not really a realistic option, given the vast fundamental differences between the two OS platforms.






    share|improve this answer





















    • Hi, jumping in this conversation. What tools do you recommend on Windows ?
      – Lucbug
      Sep 3 at 14:54










    • Already answered here: stackoverflow.com/questions/1042566/…
      – Frank van Wensveen
      Sep 4 at 8:34













    up vote
    3
    down vote










    up vote
    3
    down vote









    AFAIK there are no tools to create MSI packages on Ubuntu (MS in MSI stands for "Microsoft", and MSI is pretty much limited to the Windows platform). You can package Ubuntu (and other flavours) in packages of various forms (apt, snap, tarballs, etc.) -- see http://packaging.ubuntu.com/html/packaging-new-software.html, for example. But using the same package for Windows and Linux (or other Unixen) is not really a realistic option, given the vast fundamental differences between the two OS platforms.






    share|improve this answer












    AFAIK there are no tools to create MSI packages on Ubuntu (MS in MSI stands for "Microsoft", and MSI is pretty much limited to the Windows platform). You can package Ubuntu (and other flavours) in packages of various forms (apt, snap, tarballs, etc.) -- see http://packaging.ubuntu.com/html/packaging-new-software.html, for example. But using the same package for Windows and Linux (or other Unixen) is not really a realistic option, given the vast fundamental differences between the two OS platforms.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 25 at 10:15









    Frank van Wensveen

    20619




    20619












    • Hi, jumping in this conversation. What tools do you recommend on Windows ?
      – Lucbug
      Sep 3 at 14:54










    • Already answered here: stackoverflow.com/questions/1042566/…
      – Frank van Wensveen
      Sep 4 at 8:34


















    • Hi, jumping in this conversation. What tools do you recommend on Windows ?
      – Lucbug
      Sep 3 at 14:54










    • Already answered here: stackoverflow.com/questions/1042566/…
      – Frank van Wensveen
      Sep 4 at 8:34
















    Hi, jumping in this conversation. What tools do you recommend on Windows ?
    – Lucbug
    Sep 3 at 14:54




    Hi, jumping in this conversation. What tools do you recommend on Windows ?
    – Lucbug
    Sep 3 at 14:54












    Already answered here: stackoverflow.com/questions/1042566/…
    – Frank van Wensveen
    Sep 4 at 8:34




    Already answered here: stackoverflow.com/questions/1042566/…
    – Frank van Wensveen
    Sep 4 at 8:34












    up vote
    0
    down vote













    javapackager performs tasks related to packaging and signing Java and JavaFX applications. javapackager is provided by openjfx in Ubuntu 16.04 and Ubuntu 18.04.



    From the results of man javapackager.



    SYNOPSIS
    javapackager command [options]

    command
    The task that should be performed.

    options
    One or more options for the command separated by spaces.

    COMMANDS
    You can specify one of the following commands. After the command,
    specify the options for it.

    -createbss
    Converts CSS files into binary form.

    -createjar
    Produces a JAR archive according to other parameters.

    -deploy
    Assembles the application package for redistribution. By default,
    the deploy task generates the base application package, but it can
    also generate a self-contained application package if requested.

    -makeall
    Performs compilation, createjar, and deploy steps as one call, with
    most arguments predefined, and attempts to generate all applicable
    self-contained application packages. The source files must be
    located in a folder called src, and the resulting files (JAR, JNLP,
    HTML, and self-contained application packages) are put in a folder
    called dist. This command can only be configured in a minimal way
    and is as automated as possible.

    -signjar
    Signs JAR file(s) with a provided certificate.




    In Ubuntu 18.10 and later javapackager has been removed from OpenJFX. You can replace it with msi-packager as mentioned in Codename K's answer.






    share|improve this answer



























      up vote
      0
      down vote













      javapackager performs tasks related to packaging and signing Java and JavaFX applications. javapackager is provided by openjfx in Ubuntu 16.04 and Ubuntu 18.04.



      From the results of man javapackager.



      SYNOPSIS
      javapackager command [options]

      command
      The task that should be performed.

      options
      One or more options for the command separated by spaces.

      COMMANDS
      You can specify one of the following commands. After the command,
      specify the options for it.

      -createbss
      Converts CSS files into binary form.

      -createjar
      Produces a JAR archive according to other parameters.

      -deploy
      Assembles the application package for redistribution. By default,
      the deploy task generates the base application package, but it can
      also generate a self-contained application package if requested.

      -makeall
      Performs compilation, createjar, and deploy steps as one call, with
      most arguments predefined, and attempts to generate all applicable
      self-contained application packages. The source files must be
      located in a folder called src, and the resulting files (JAR, JNLP,
      HTML, and self-contained application packages) are put in a folder
      called dist. This command can only be configured in a minimal way
      and is as automated as possible.

      -signjar
      Signs JAR file(s) with a provided certificate.




      In Ubuntu 18.10 and later javapackager has been removed from OpenJFX. You can replace it with msi-packager as mentioned in Codename K's answer.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        javapackager performs tasks related to packaging and signing Java and JavaFX applications. javapackager is provided by openjfx in Ubuntu 16.04 and Ubuntu 18.04.



        From the results of man javapackager.



        SYNOPSIS
        javapackager command [options]

        command
        The task that should be performed.

        options
        One or more options for the command separated by spaces.

        COMMANDS
        You can specify one of the following commands. After the command,
        specify the options for it.

        -createbss
        Converts CSS files into binary form.

        -createjar
        Produces a JAR archive according to other parameters.

        -deploy
        Assembles the application package for redistribution. By default,
        the deploy task generates the base application package, but it can
        also generate a self-contained application package if requested.

        -makeall
        Performs compilation, createjar, and deploy steps as one call, with
        most arguments predefined, and attempts to generate all applicable
        self-contained application packages. The source files must be
        located in a folder called src, and the resulting files (JAR, JNLP,
        HTML, and self-contained application packages) are put in a folder
        called dist. This command can only be configured in a minimal way
        and is as automated as possible.

        -signjar
        Signs JAR file(s) with a provided certificate.




        In Ubuntu 18.10 and later javapackager has been removed from OpenJFX. You can replace it with msi-packager as mentioned in Codename K's answer.






        share|improve this answer














        javapackager performs tasks related to packaging and signing Java and JavaFX applications. javapackager is provided by openjfx in Ubuntu 16.04 and Ubuntu 18.04.



        From the results of man javapackager.



        SYNOPSIS
        javapackager command [options]

        command
        The task that should be performed.

        options
        One or more options for the command separated by spaces.

        COMMANDS
        You can specify one of the following commands. After the command,
        specify the options for it.

        -createbss
        Converts CSS files into binary form.

        -createjar
        Produces a JAR archive according to other parameters.

        -deploy
        Assembles the application package for redistribution. By default,
        the deploy task generates the base application package, but it can
        also generate a self-contained application package if requested.

        -makeall
        Performs compilation, createjar, and deploy steps as one call, with
        most arguments predefined, and attempts to generate all applicable
        self-contained application packages. The source files must be
        located in a folder called src, and the resulting files (JAR, JNLP,
        HTML, and self-contained application packages) are put in a folder
        called dist. This command can only be configured in a minimal way
        and is as automated as possible.

        -signjar
        Signs JAR file(s) with a provided certificate.




        In Ubuntu 18.10 and later javapackager has been removed from OpenJFX. You can replace it with msi-packager as mentioned in Codename K's answer.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 24 at 16:12

























        answered Nov 24 at 15:30









        karel

        55.2k11121139




        55.2k11121139






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040167%2fpossible-to-create-msi-installer-for-use-in-linux%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

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局