Chrome WebExtension - Private Store and Enterprise Environment












0

















I'm trying to publish a Chrome Extension in a Private Store and to propagate it with a Group Policy.

In order to do that I'm using the following references:




  • CRX Packaging

  • GPO Propagation


I'm 100% sure that the GPO is configured correctly (if I use the same GPO to propagate an extension published on the Chrome WebStore it works).

Unfortunately, both my private extension (line in the Configure the list of force-installed apps and extension section: [my_extension_id];[my_xml_url]) and the example extension (line: bcanfnleljfidkjhhfknjjiicdonddad;https://sites.google.com/site/pushcrx/privatewebstore/2hrtimer.xml) are not installed in the domain controlled machine.

My question is: am I doing something wrong or the Google Chrome Policies have changed and the examples above are outdatet?

Thanks so much,

Daniele










share|improve this question


















  • 1





    Check chrome://policy first. Then, you probably want to enable logging in Chrome and dig through the logs.

    – Xan
    Nov 16 '18 at 14:45








  • 1





    Thanks, I've been able to handle everything: I hadn't find an online guide in which everyting is explained step by step, so I'm going to write an answer explaining how to create, publish and update a private store extension.

    – Daniele Milani
    Nov 19 '18 at 10:20
















0

















I'm trying to publish a Chrome Extension in a Private Store and to propagate it with a Group Policy.

In order to do that I'm using the following references:




  • CRX Packaging

  • GPO Propagation


I'm 100% sure that the GPO is configured correctly (if I use the same GPO to propagate an extension published on the Chrome WebStore it works).

Unfortunately, both my private extension (line in the Configure the list of force-installed apps and extension section: [my_extension_id];[my_xml_url]) and the example extension (line: bcanfnleljfidkjhhfknjjiicdonddad;https://sites.google.com/site/pushcrx/privatewebstore/2hrtimer.xml) are not installed in the domain controlled machine.

My question is: am I doing something wrong or the Google Chrome Policies have changed and the examples above are outdatet?

Thanks so much,

Daniele










share|improve this question


















  • 1





    Check chrome://policy first. Then, you probably want to enable logging in Chrome and dig through the logs.

    – Xan
    Nov 16 '18 at 14:45








  • 1





    Thanks, I've been able to handle everything: I hadn't find an online guide in which everyting is explained step by step, so I'm going to write an answer explaining how to create, publish and update a private store extension.

    – Daniele Milani
    Nov 19 '18 at 10:20














0












0








0


1








I'm trying to publish a Chrome Extension in a Private Store and to propagate it with a Group Policy.

In order to do that I'm using the following references:




  • CRX Packaging

  • GPO Propagation


I'm 100% sure that the GPO is configured correctly (if I use the same GPO to propagate an extension published on the Chrome WebStore it works).

Unfortunately, both my private extension (line in the Configure the list of force-installed apps and extension section: [my_extension_id];[my_xml_url]) and the example extension (line: bcanfnleljfidkjhhfknjjiicdonddad;https://sites.google.com/site/pushcrx/privatewebstore/2hrtimer.xml) are not installed in the domain controlled machine.

My question is: am I doing something wrong or the Google Chrome Policies have changed and the examples above are outdatet?

Thanks so much,

Daniele










share|improve this question
















I'm trying to publish a Chrome Extension in a Private Store and to propagate it with a Group Policy.

In order to do that I'm using the following references:




  • CRX Packaging

  • GPO Propagation


I'm 100% sure that the GPO is configured correctly (if I use the same GPO to propagate an extension published on the Chrome WebStore it works).

Unfortunately, both my private extension (line in the Configure the list of force-installed apps and extension section: [my_extension_id];[my_xml_url]) and the example extension (line: bcanfnleljfidkjhhfknjjiicdonddad;https://sites.google.com/site/pushcrx/privatewebstore/2hrtimer.xml) are not installed in the domain controlled machine.

My question is: am I doing something wrong or the Google Chrome Policies have changed and the examples above are outdatet?

Thanks so much,

Daniele







google-chrome google-chrome-extension enterprise group-policy web-ext






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 16 '18 at 10:14









Daniele MilaniDaniele Milani

2662423




2662423








  • 1





    Check chrome://policy first. Then, you probably want to enable logging in Chrome and dig through the logs.

    – Xan
    Nov 16 '18 at 14:45








  • 1





    Thanks, I've been able to handle everything: I hadn't find an online guide in which everyting is explained step by step, so I'm going to write an answer explaining how to create, publish and update a private store extension.

    – Daniele Milani
    Nov 19 '18 at 10:20














  • 1





    Check chrome://policy first. Then, you probably want to enable logging in Chrome and dig through the logs.

    – Xan
    Nov 16 '18 at 14:45








  • 1





    Thanks, I've been able to handle everything: I hadn't find an online guide in which everyting is explained step by step, so I'm going to write an answer explaining how to create, publish and update a private store extension.

    – Daniele Milani
    Nov 19 '18 at 10:20








1




1





Check chrome://policy first. Then, you probably want to enable logging in Chrome and dig through the logs.

– Xan
Nov 16 '18 at 14:45







Check chrome://policy first. Then, you probably want to enable logging in Chrome and dig through the logs.

– Xan
Nov 16 '18 at 14:45






1




1





Thanks, I've been able to handle everything: I hadn't find an online guide in which everyting is explained step by step, so I'm going to write an answer explaining how to create, publish and update a private store extension.

– Daniele Milani
Nov 19 '18 at 10:20





Thanks, I've been able to handle everything: I hadn't find an online guide in which everyting is explained step by step, so I'm going to write an answer explaining how to create, publish and update a private store extension.

– Daniele Milani
Nov 19 '18 at 10:20












1 Answer
1






active

oldest

votes


















0














In order to publish, deploy and update a Chrome extension outside the Google Chrome Store you have to follow the guide below.

1. Architecture

Firstable it is necessary to define the CRX and XML names and the url where they would be deployed.

For what concerns this example:




  • the CRX name would be myCRX.crx and it would be deployed at the url https://my.server/resources/myCRX.crx

  • the XML name would be myXML.xml and it would be deployed at the url https://my.server/resources/myXML.xml




2. JSON Manifest

As specified in this link the update_url (where the update XML could be found) must be contained in the JSON manifest: in order to do that it is necessary to insert the following line into the JSON file.



{
[...],
"update_url": "https://my.server/resources/myXML.xml",
[...]
}


3. CRX and private key creation

The creation of the CRX and the PEM can be performed following this guide.

At the end of the process two files would be created (a CRX and a PEM): after that it is necessary to rename them to myCRX.crx and myPEM.pem, respectively.



4. Public key extraction

The extraction of the public key can be performed by executing the following command from the folder where the PEM is located:



openssl.exe rsa -in myPEM.pem -pubout > myPEM_pub.pem


After that a new file containing the public key (named myPEM_pub.pem) would be created.

5. Extension ID extraction

The Extension ID extraction can be performed following this guide.

In particular, it is necessary to download the extension_id.py file, copy it in the folder containing the myPEM_pub.pem file and execute, from the same folder, the following command:



python extension_id.py myPEM_pub.pem


Note: if you're using Python 3 you have to modify the line 94 of the extension_id.py file from



with file(first_arg) as f: 


to



with open(first_arg) as f:


The command output would be the following one:



[...]
Extension ID: <myExtensionID>
[...]


6. XML file creation

In order to properly deploy the extension it is necessary to create the update XML file (named, in this example, myXML.xml).

In this case its content would be:



<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='<myExtensionID>'>
<updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myExtensionVersion>' />
</app>
</gupdate>


Note: it is necessary to replace the following entries with the right values





  • <myExtensionID>, output of paragraph 5


  • https://my.server/resources/myCRX.crx, defined in paragraph 1


  • <myExtensionVersion>, defined in the manifest file


7. Publishing

In order to properly configure the environment it is necessary to publish the CRX created in paragraph 3 and the XML created in paragraph 6 at the urls defined in paragraph 1.


8. Deployment

The deployment of the extension can be performed following this guide.

In particular, it is necessary to add to the list of the force installed app and extension the following line:



<myExtensionID>;https://my.server/resources/myXML.xml


Note: it is necessary to replace the following entries with the right values





  • <myExtensionID>, output of paragraph 5


  • https://my.server/resources/myCRX.crx, defined in paragraph
    1





9. Update - CRX creation

In order to update the extension it is necessary to create a new CRX package, with an updated version number (in this example <myNewExtensionVersion>).

The CRX creation can be performed following this guide.
Note: in order to make this process work it is necessary to select the key myPEM.pem, created in paragraph 3.

10. Update - Publishing

In order to publish the update it is necessary to rename the CRX created in paragraph 9 to myCRX.crx and to modify the version number in the XML created in paragraph 6 (see below).



<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='<myExtensionID>'>
<updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myNewExtensionVersion>' />
</app>
</gupdate>


After that, the last thing that has to be done in order to perform the update is the publishing of the CRX and the XML at the urls defined in paragraph 1.






share|improve this answer


























    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%2f53335673%2fchrome-webextension-private-store-and-enterprise-environment%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In order to publish, deploy and update a Chrome extension outside the Google Chrome Store you have to follow the guide below.

    1. Architecture

    Firstable it is necessary to define the CRX and XML names and the url where they would be deployed.

    For what concerns this example:




    • the CRX name would be myCRX.crx and it would be deployed at the url https://my.server/resources/myCRX.crx

    • the XML name would be myXML.xml and it would be deployed at the url https://my.server/resources/myXML.xml




    2. JSON Manifest

    As specified in this link the update_url (where the update XML could be found) must be contained in the JSON manifest: in order to do that it is necessary to insert the following line into the JSON file.



    {
    [...],
    "update_url": "https://my.server/resources/myXML.xml",
    [...]
    }


    3. CRX and private key creation

    The creation of the CRX and the PEM can be performed following this guide.

    At the end of the process two files would be created (a CRX and a PEM): after that it is necessary to rename them to myCRX.crx and myPEM.pem, respectively.



    4. Public key extraction

    The extraction of the public key can be performed by executing the following command from the folder where the PEM is located:



    openssl.exe rsa -in myPEM.pem -pubout > myPEM_pub.pem


    After that a new file containing the public key (named myPEM_pub.pem) would be created.

    5. Extension ID extraction

    The Extension ID extraction can be performed following this guide.

    In particular, it is necessary to download the extension_id.py file, copy it in the folder containing the myPEM_pub.pem file and execute, from the same folder, the following command:



    python extension_id.py myPEM_pub.pem


    Note: if you're using Python 3 you have to modify the line 94 of the extension_id.py file from



    with file(first_arg) as f: 


    to



    with open(first_arg) as f:


    The command output would be the following one:



    [...]
    Extension ID: <myExtensionID>
    [...]


    6. XML file creation

    In order to properly deploy the extension it is necessary to create the update XML file (named, in this example, myXML.xml).

    In this case its content would be:



    <?xml version='1.0' encoding='UTF-8'?>
    <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
    <app appid='<myExtensionID>'>
    <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myExtensionVersion>' />
    </app>
    </gupdate>


    Note: it is necessary to replace the following entries with the right values





    • <myExtensionID>, output of paragraph 5


    • https://my.server/resources/myCRX.crx, defined in paragraph 1


    • <myExtensionVersion>, defined in the manifest file


    7. Publishing

    In order to properly configure the environment it is necessary to publish the CRX created in paragraph 3 and the XML created in paragraph 6 at the urls defined in paragraph 1.


    8. Deployment

    The deployment of the extension can be performed following this guide.

    In particular, it is necessary to add to the list of the force installed app and extension the following line:



    <myExtensionID>;https://my.server/resources/myXML.xml


    Note: it is necessary to replace the following entries with the right values





    • <myExtensionID>, output of paragraph 5


    • https://my.server/resources/myCRX.crx, defined in paragraph
      1





    9. Update - CRX creation

    In order to update the extension it is necessary to create a new CRX package, with an updated version number (in this example <myNewExtensionVersion>).

    The CRX creation can be performed following this guide.
    Note: in order to make this process work it is necessary to select the key myPEM.pem, created in paragraph 3.

    10. Update - Publishing

    In order to publish the update it is necessary to rename the CRX created in paragraph 9 to myCRX.crx and to modify the version number in the XML created in paragraph 6 (see below).



    <?xml version='1.0' encoding='UTF-8'?>
    <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
    <app appid='<myExtensionID>'>
    <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myNewExtensionVersion>' />
    </app>
    </gupdate>


    After that, the last thing that has to be done in order to perform the update is the publishing of the CRX and the XML at the urls defined in paragraph 1.






    share|improve this answer






























      0














      In order to publish, deploy and update a Chrome extension outside the Google Chrome Store you have to follow the guide below.

      1. Architecture

      Firstable it is necessary to define the CRX and XML names and the url where they would be deployed.

      For what concerns this example:




      • the CRX name would be myCRX.crx and it would be deployed at the url https://my.server/resources/myCRX.crx

      • the XML name would be myXML.xml and it would be deployed at the url https://my.server/resources/myXML.xml




      2. JSON Manifest

      As specified in this link the update_url (where the update XML could be found) must be contained in the JSON manifest: in order to do that it is necessary to insert the following line into the JSON file.



      {
      [...],
      "update_url": "https://my.server/resources/myXML.xml",
      [...]
      }


      3. CRX and private key creation

      The creation of the CRX and the PEM can be performed following this guide.

      At the end of the process two files would be created (a CRX and a PEM): after that it is necessary to rename them to myCRX.crx and myPEM.pem, respectively.



      4. Public key extraction

      The extraction of the public key can be performed by executing the following command from the folder where the PEM is located:



      openssl.exe rsa -in myPEM.pem -pubout > myPEM_pub.pem


      After that a new file containing the public key (named myPEM_pub.pem) would be created.

      5. Extension ID extraction

      The Extension ID extraction can be performed following this guide.

      In particular, it is necessary to download the extension_id.py file, copy it in the folder containing the myPEM_pub.pem file and execute, from the same folder, the following command:



      python extension_id.py myPEM_pub.pem


      Note: if you're using Python 3 you have to modify the line 94 of the extension_id.py file from



      with file(first_arg) as f: 


      to



      with open(first_arg) as f:


      The command output would be the following one:



      [...]
      Extension ID: <myExtensionID>
      [...]


      6. XML file creation

      In order to properly deploy the extension it is necessary to create the update XML file (named, in this example, myXML.xml).

      In this case its content would be:



      <?xml version='1.0' encoding='UTF-8'?>
      <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
      <app appid='<myExtensionID>'>
      <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myExtensionVersion>' />
      </app>
      </gupdate>


      Note: it is necessary to replace the following entries with the right values





      • <myExtensionID>, output of paragraph 5


      • https://my.server/resources/myCRX.crx, defined in paragraph 1


      • <myExtensionVersion>, defined in the manifest file


      7. Publishing

      In order to properly configure the environment it is necessary to publish the CRX created in paragraph 3 and the XML created in paragraph 6 at the urls defined in paragraph 1.


      8. Deployment

      The deployment of the extension can be performed following this guide.

      In particular, it is necessary to add to the list of the force installed app and extension the following line:



      <myExtensionID>;https://my.server/resources/myXML.xml


      Note: it is necessary to replace the following entries with the right values





      • <myExtensionID>, output of paragraph 5


      • https://my.server/resources/myCRX.crx, defined in paragraph
        1





      9. Update - CRX creation

      In order to update the extension it is necessary to create a new CRX package, with an updated version number (in this example <myNewExtensionVersion>).

      The CRX creation can be performed following this guide.
      Note: in order to make this process work it is necessary to select the key myPEM.pem, created in paragraph 3.

      10. Update - Publishing

      In order to publish the update it is necessary to rename the CRX created in paragraph 9 to myCRX.crx and to modify the version number in the XML created in paragraph 6 (see below).



      <?xml version='1.0' encoding='UTF-8'?>
      <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
      <app appid='<myExtensionID>'>
      <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myNewExtensionVersion>' />
      </app>
      </gupdate>


      After that, the last thing that has to be done in order to perform the update is the publishing of the CRX and the XML at the urls defined in paragraph 1.






      share|improve this answer




























        0












        0








        0







        In order to publish, deploy and update a Chrome extension outside the Google Chrome Store you have to follow the guide below.

        1. Architecture

        Firstable it is necessary to define the CRX and XML names and the url where they would be deployed.

        For what concerns this example:




        • the CRX name would be myCRX.crx and it would be deployed at the url https://my.server/resources/myCRX.crx

        • the XML name would be myXML.xml and it would be deployed at the url https://my.server/resources/myXML.xml




        2. JSON Manifest

        As specified in this link the update_url (where the update XML could be found) must be contained in the JSON manifest: in order to do that it is necessary to insert the following line into the JSON file.



        {
        [...],
        "update_url": "https://my.server/resources/myXML.xml",
        [...]
        }


        3. CRX and private key creation

        The creation of the CRX and the PEM can be performed following this guide.

        At the end of the process two files would be created (a CRX and a PEM): after that it is necessary to rename them to myCRX.crx and myPEM.pem, respectively.



        4. Public key extraction

        The extraction of the public key can be performed by executing the following command from the folder where the PEM is located:



        openssl.exe rsa -in myPEM.pem -pubout > myPEM_pub.pem


        After that a new file containing the public key (named myPEM_pub.pem) would be created.

        5. Extension ID extraction

        The Extension ID extraction can be performed following this guide.

        In particular, it is necessary to download the extension_id.py file, copy it in the folder containing the myPEM_pub.pem file and execute, from the same folder, the following command:



        python extension_id.py myPEM_pub.pem


        Note: if you're using Python 3 you have to modify the line 94 of the extension_id.py file from



        with file(first_arg) as f: 


        to



        with open(first_arg) as f:


        The command output would be the following one:



        [...]
        Extension ID: <myExtensionID>
        [...]


        6. XML file creation

        In order to properly deploy the extension it is necessary to create the update XML file (named, in this example, myXML.xml).

        In this case its content would be:



        <?xml version='1.0' encoding='UTF-8'?>
        <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
        <app appid='<myExtensionID>'>
        <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myExtensionVersion>' />
        </app>
        </gupdate>


        Note: it is necessary to replace the following entries with the right values





        • <myExtensionID>, output of paragraph 5


        • https://my.server/resources/myCRX.crx, defined in paragraph 1


        • <myExtensionVersion>, defined in the manifest file


        7. Publishing

        In order to properly configure the environment it is necessary to publish the CRX created in paragraph 3 and the XML created in paragraph 6 at the urls defined in paragraph 1.


        8. Deployment

        The deployment of the extension can be performed following this guide.

        In particular, it is necessary to add to the list of the force installed app and extension the following line:



        <myExtensionID>;https://my.server/resources/myXML.xml


        Note: it is necessary to replace the following entries with the right values





        • <myExtensionID>, output of paragraph 5


        • https://my.server/resources/myCRX.crx, defined in paragraph
          1





        9. Update - CRX creation

        In order to update the extension it is necessary to create a new CRX package, with an updated version number (in this example <myNewExtensionVersion>).

        The CRX creation can be performed following this guide.
        Note: in order to make this process work it is necessary to select the key myPEM.pem, created in paragraph 3.

        10. Update - Publishing

        In order to publish the update it is necessary to rename the CRX created in paragraph 9 to myCRX.crx and to modify the version number in the XML created in paragraph 6 (see below).



        <?xml version='1.0' encoding='UTF-8'?>
        <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
        <app appid='<myExtensionID>'>
        <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myNewExtensionVersion>' />
        </app>
        </gupdate>


        After that, the last thing that has to be done in order to perform the update is the publishing of the CRX and the XML at the urls defined in paragraph 1.






        share|improve this answer















        In order to publish, deploy and update a Chrome extension outside the Google Chrome Store you have to follow the guide below.

        1. Architecture

        Firstable it is necessary to define the CRX and XML names and the url where they would be deployed.

        For what concerns this example:




        • the CRX name would be myCRX.crx and it would be deployed at the url https://my.server/resources/myCRX.crx

        • the XML name would be myXML.xml and it would be deployed at the url https://my.server/resources/myXML.xml




        2. JSON Manifest

        As specified in this link the update_url (where the update XML could be found) must be contained in the JSON manifest: in order to do that it is necessary to insert the following line into the JSON file.



        {
        [...],
        "update_url": "https://my.server/resources/myXML.xml",
        [...]
        }


        3. CRX and private key creation

        The creation of the CRX and the PEM can be performed following this guide.

        At the end of the process two files would be created (a CRX and a PEM): after that it is necessary to rename them to myCRX.crx and myPEM.pem, respectively.



        4. Public key extraction

        The extraction of the public key can be performed by executing the following command from the folder where the PEM is located:



        openssl.exe rsa -in myPEM.pem -pubout > myPEM_pub.pem


        After that a new file containing the public key (named myPEM_pub.pem) would be created.

        5. Extension ID extraction

        The Extension ID extraction can be performed following this guide.

        In particular, it is necessary to download the extension_id.py file, copy it in the folder containing the myPEM_pub.pem file and execute, from the same folder, the following command:



        python extension_id.py myPEM_pub.pem


        Note: if you're using Python 3 you have to modify the line 94 of the extension_id.py file from



        with file(first_arg) as f: 


        to



        with open(first_arg) as f:


        The command output would be the following one:



        [...]
        Extension ID: <myExtensionID>
        [...]


        6. XML file creation

        In order to properly deploy the extension it is necessary to create the update XML file (named, in this example, myXML.xml).

        In this case its content would be:



        <?xml version='1.0' encoding='UTF-8'?>
        <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
        <app appid='<myExtensionID>'>
        <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myExtensionVersion>' />
        </app>
        </gupdate>


        Note: it is necessary to replace the following entries with the right values





        • <myExtensionID>, output of paragraph 5


        • https://my.server/resources/myCRX.crx, defined in paragraph 1


        • <myExtensionVersion>, defined in the manifest file


        7. Publishing

        In order to properly configure the environment it is necessary to publish the CRX created in paragraph 3 and the XML created in paragraph 6 at the urls defined in paragraph 1.


        8. Deployment

        The deployment of the extension can be performed following this guide.

        In particular, it is necessary to add to the list of the force installed app and extension the following line:



        <myExtensionID>;https://my.server/resources/myXML.xml


        Note: it is necessary to replace the following entries with the right values





        • <myExtensionID>, output of paragraph 5


        • https://my.server/resources/myCRX.crx, defined in paragraph
          1





        9. Update - CRX creation

        In order to update the extension it is necessary to create a new CRX package, with an updated version number (in this example <myNewExtensionVersion>).

        The CRX creation can be performed following this guide.
        Note: in order to make this process work it is necessary to select the key myPEM.pem, created in paragraph 3.

        10. Update - Publishing

        In order to publish the update it is necessary to rename the CRX created in paragraph 9 to myCRX.crx and to modify the version number in the XML created in paragraph 6 (see below).



        <?xml version='1.0' encoding='UTF-8'?>
        <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
        <app appid='<myExtensionID>'>
        <updatecheck codebase='https://my.server/resources/myCRX.crx' version='<myNewExtensionVersion>' />
        </app>
        </gupdate>


        After that, the last thing that has to be done in order to perform the update is the publishing of the CRX and the XML at the urls defined in paragraph 1.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 19 '18 at 14:05

























        answered Nov 19 '18 at 13:58









        Daniele MilaniDaniele Milani

        2662423




        2662423
































            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%2f53335673%2fchrome-webextension-private-store-and-enterprise-environment%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

            Florida Star v. B. J. F.

            Error while running script in elastic search , gateway timeout

            Adding quotations to stringified JSON object values