InstallShield - How to build upgrade installer





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Context



I currently have the task of building the next version of our software installer.



I have all the project files from out previous version (v16) and im currently building v17.



We are using InstallShield 2015 Professional Edition (version 22 | service pack 2)



The Problem



I have the Basic MSI Project files here, I have changed the version number and made the changes required for the next version of our software - however, when i run the installer it says that i already have it installed (even though the version number is different)



Upon researching this issue, there is numerous posts about this, but i cannot find a difinitive answer as to which should be changed "Product Code" or "Upgrade Code" or both codes or neither codes or something else im missing.



Any help would be greatly appreciated.










share|improve this question





























    0















    Context



    I currently have the task of building the next version of our software installer.



    I have all the project files from out previous version (v16) and im currently building v17.



    We are using InstallShield 2015 Professional Edition (version 22 | service pack 2)



    The Problem



    I have the Basic MSI Project files here, I have changed the version number and made the changes required for the next version of our software - however, when i run the installer it says that i already have it installed (even though the version number is different)



    Upon researching this issue, there is numerous posts about this, but i cannot find a difinitive answer as to which should be changed "Product Code" or "Upgrade Code" or both codes or neither codes or something else im missing.



    Any help would be greatly appreciated.










    share|improve this question

























      0












      0








      0








      Context



      I currently have the task of building the next version of our software installer.



      I have all the project files from out previous version (v16) and im currently building v17.



      We are using InstallShield 2015 Professional Edition (version 22 | service pack 2)



      The Problem



      I have the Basic MSI Project files here, I have changed the version number and made the changes required for the next version of our software - however, when i run the installer it says that i already have it installed (even though the version number is different)



      Upon researching this issue, there is numerous posts about this, but i cannot find a difinitive answer as to which should be changed "Product Code" or "Upgrade Code" or both codes or neither codes or something else im missing.



      Any help would be greatly appreciated.










      share|improve this question














      Context



      I currently have the task of building the next version of our software installer.



      I have all the project files from out previous version (v16) and im currently building v17.



      We are using InstallShield 2015 Professional Edition (version 22 | service pack 2)



      The Problem



      I have the Basic MSI Project files here, I have changed the version number and made the changes required for the next version of our software - however, when i run the installer it says that i already have it installed (even though the version number is different)



      Upon researching this issue, there is numerous posts about this, but i cannot find a difinitive answer as to which should be changed "Product Code" or "Upgrade Code" or both codes or neither codes or something else im missing.



      Any help would be greatly appreciated.







      windows-installer installer installshield






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 30 at 12:56









      GazaGaza

      1314




      1314






















          1 Answer
          1






          active

          oldest

          votes


















          1














          It would depend on how you designed your software. Can you run multiple versions side by side? Should only one version be able to run?



          Checkout the Microsoft articles on Productcode as well as Upgradecode.




          The product code must be changed if any of the following are true for the update:




          • Coexisting installations of both original and updated products on the same system must be possible.

          • The name of the .msi file has been changed.

          • The component code of an existing component has changed.

          • A component is removed from an existing feature.

          • An existing feature has been made into a child of an existing feature.

          • An existing child feature has been removed from its parent feature.




          For the upgrade codes the following examples are given.




          The following two scenarios illustrate the use of the UpgradeCode.




          • Product A and Product B were shipped with the same ProductLanguage, ProductVersion, and UpgradeCode. Product A and Product B have different ProductCodes. Because the products were assigned the same UpgradeCode, the Upgrade table cannot be authored to differentiate the older version of Product A from the older version of Product B. In this case, you will be unable to have an upgrade installation of Product A that ignores Product B. Because these were different products, they should have each been assigned a different UpgradeCode.

          • The English and French versions of Product A were shipped with the same ProductVersion and UpgradeCode. Both the English and French versions of Product A have different ProductLanguages and ProductCodes. Even though both the English and French language versions share the same UpgradeCode, it is possible to author the Upgrade table such that only the older English language version will be detected and upgraded and the older French version ignored. Different language versions of a product can use the same UpgradeCode.







          share|improve this answer
























          • So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

            – Gaza
            Jan 30 at 13:06











          • As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

            – Seth
            Jan 30 at 13:11












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1400064%2finstallshield-how-to-build-upgrade-installer%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









          1














          It would depend on how you designed your software. Can you run multiple versions side by side? Should only one version be able to run?



          Checkout the Microsoft articles on Productcode as well as Upgradecode.




          The product code must be changed if any of the following are true for the update:




          • Coexisting installations of both original and updated products on the same system must be possible.

          • The name of the .msi file has been changed.

          • The component code of an existing component has changed.

          • A component is removed from an existing feature.

          • An existing feature has been made into a child of an existing feature.

          • An existing child feature has been removed from its parent feature.




          For the upgrade codes the following examples are given.




          The following two scenarios illustrate the use of the UpgradeCode.




          • Product A and Product B were shipped with the same ProductLanguage, ProductVersion, and UpgradeCode. Product A and Product B have different ProductCodes. Because the products were assigned the same UpgradeCode, the Upgrade table cannot be authored to differentiate the older version of Product A from the older version of Product B. In this case, you will be unable to have an upgrade installation of Product A that ignores Product B. Because these were different products, they should have each been assigned a different UpgradeCode.

          • The English and French versions of Product A were shipped with the same ProductVersion and UpgradeCode. Both the English and French versions of Product A have different ProductLanguages and ProductCodes. Even though both the English and French language versions share the same UpgradeCode, it is possible to author the Upgrade table such that only the older English language version will be detected and upgraded and the older French version ignored. Different language versions of a product can use the same UpgradeCode.







          share|improve this answer
























          • So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

            – Gaza
            Jan 30 at 13:06











          • As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

            – Seth
            Jan 30 at 13:11
















          1














          It would depend on how you designed your software. Can you run multiple versions side by side? Should only one version be able to run?



          Checkout the Microsoft articles on Productcode as well as Upgradecode.




          The product code must be changed if any of the following are true for the update:




          • Coexisting installations of both original and updated products on the same system must be possible.

          • The name of the .msi file has been changed.

          • The component code of an existing component has changed.

          • A component is removed from an existing feature.

          • An existing feature has been made into a child of an existing feature.

          • An existing child feature has been removed from its parent feature.




          For the upgrade codes the following examples are given.




          The following two scenarios illustrate the use of the UpgradeCode.




          • Product A and Product B were shipped with the same ProductLanguage, ProductVersion, and UpgradeCode. Product A and Product B have different ProductCodes. Because the products were assigned the same UpgradeCode, the Upgrade table cannot be authored to differentiate the older version of Product A from the older version of Product B. In this case, you will be unable to have an upgrade installation of Product A that ignores Product B. Because these were different products, they should have each been assigned a different UpgradeCode.

          • The English and French versions of Product A were shipped with the same ProductVersion and UpgradeCode. Both the English and French versions of Product A have different ProductLanguages and ProductCodes. Even though both the English and French language versions share the same UpgradeCode, it is possible to author the Upgrade table such that only the older English language version will be detected and upgraded and the older French version ignored. Different language versions of a product can use the same UpgradeCode.







          share|improve this answer
























          • So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

            – Gaza
            Jan 30 at 13:06











          • As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

            – Seth
            Jan 30 at 13:11














          1












          1








          1







          It would depend on how you designed your software. Can you run multiple versions side by side? Should only one version be able to run?



          Checkout the Microsoft articles on Productcode as well as Upgradecode.




          The product code must be changed if any of the following are true for the update:




          • Coexisting installations of both original and updated products on the same system must be possible.

          • The name of the .msi file has been changed.

          • The component code of an existing component has changed.

          • A component is removed from an existing feature.

          • An existing feature has been made into a child of an existing feature.

          • An existing child feature has been removed from its parent feature.




          For the upgrade codes the following examples are given.




          The following two scenarios illustrate the use of the UpgradeCode.




          • Product A and Product B were shipped with the same ProductLanguage, ProductVersion, and UpgradeCode. Product A and Product B have different ProductCodes. Because the products were assigned the same UpgradeCode, the Upgrade table cannot be authored to differentiate the older version of Product A from the older version of Product B. In this case, you will be unable to have an upgrade installation of Product A that ignores Product B. Because these were different products, they should have each been assigned a different UpgradeCode.

          • The English and French versions of Product A were shipped with the same ProductVersion and UpgradeCode. Both the English and French versions of Product A have different ProductLanguages and ProductCodes. Even though both the English and French language versions share the same UpgradeCode, it is possible to author the Upgrade table such that only the older English language version will be detected and upgraded and the older French version ignored. Different language versions of a product can use the same UpgradeCode.







          share|improve this answer













          It would depend on how you designed your software. Can you run multiple versions side by side? Should only one version be able to run?



          Checkout the Microsoft articles on Productcode as well as Upgradecode.




          The product code must be changed if any of the following are true for the update:




          • Coexisting installations of both original and updated products on the same system must be possible.

          • The name of the .msi file has been changed.

          • The component code of an existing component has changed.

          • A component is removed from an existing feature.

          • An existing feature has been made into a child of an existing feature.

          • An existing child feature has been removed from its parent feature.




          For the upgrade codes the following examples are given.




          The following two scenarios illustrate the use of the UpgradeCode.




          • Product A and Product B were shipped with the same ProductLanguage, ProductVersion, and UpgradeCode. Product A and Product B have different ProductCodes. Because the products were assigned the same UpgradeCode, the Upgrade table cannot be authored to differentiate the older version of Product A from the older version of Product B. In this case, you will be unable to have an upgrade installation of Product A that ignores Product B. Because these were different products, they should have each been assigned a different UpgradeCode.

          • The English and French versions of Product A were shipped with the same ProductVersion and UpgradeCode. Both the English and French versions of Product A have different ProductLanguages and ProductCodes. Even though both the English and French language versions share the same UpgradeCode, it is possible to author the Upgrade table such that only the older English language version will be detected and upgraded and the older French version ignored. Different language versions of a product can use the same UpgradeCode.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 30 at 13:02









          SethSeth

          6,73611128




          6,73611128













          • So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

            – Gaza
            Jan 30 at 13:06











          • As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

            – Seth
            Jan 30 at 13:11



















          • So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

            – Gaza
            Jan 30 at 13:06











          • As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

            – Seth
            Jan 30 at 13:11

















          So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

          – Gaza
          Jan 30 at 13:06





          So upgrade code technically has nothing to do with an actual upgrade from different version .. i would have to change the product code? But then, changing the product code, can i automate the uninstallation of the previous version? Thanks for your help :)

          – Gaza
          Jan 30 at 13:06













          As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

          – Seth
          Jan 30 at 13:11





          As the articles mention it depends on what you're actually facing. I have no clue what software you're sitting in front of and whenever it's a small update, a small upgrade, a patch or a major upgrade. Let alone whenever you changed the "layout" of the installer or not. You probably can but you'd have to look into how to do that. After all you do know the product code and upgrade code of the previous version.

          – Seth
          Jan 30 at 13:11


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1400064%2finstallshield-how-to-build-upgrade-installer%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

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          RAC Tourist Trophy