Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-724

[REG 1.6->2.0]: When an empty string is passed as a parameter to an addOperation call then it will end up being null when processed

    XMLWordPrintable

    Details

    • Commits:
      eb574d77b0ab9a92b61e7738d089cd4ea4304e51

      Description

      When an empty string is passed as a parameter to an addOperation call then it will end up being null when processed and not see it as a valid argument. For example:

      component.addOperation("GlobalConfig", "HKEY_CURRENT_USER\\Software\\Classes\\myclass", "URL Protocol", "");
      component.addOperation("GlobalConfig", "HKEY_CURRENT_USER\\Software\\Classes\\myclass", "DefaultIcon", "BeeCore.exe,1", "");
      component.addOperation("GlobalConfig", "HKEY_CURRENT_USER\\Software\\Classes\\myclass\\shell\\open\\command", "", "@TargetDir@/@Name@.exe \%1", "");
      

      will cause this to say:

      "Error during installation process (MyClient): Invalid arguments in GlobalConfig: 2 arguments given, 3 to 5 arguments expected."
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              andysh Andy Shaw
              Reporter:
              andysh Andy Shaw
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes