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

Not properly undo GlobalConfig operation when writing backslash characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 3.0.4
    • Scripting
    • None
    • Windows 10
      IFW Version: 3.0.4, built with Qt 5.9.0.
      Build date: Mar 21 2018
    • Windows

    Description

      When writing a windows registry key by using Global Config operation, if wrote value contains backslashes (i.e.: a windows path), "undo" operation is not properly executed and the key is not removed.

      // @TargetDir@ = 'C:\Program Files\Publisher\App'
      component.addOperation("GlobalConfig",
        "HKEY_CURRENT_USER\\Software\\@Publisher@\\@ProductName@",
        "lastInstallationPath",
        "@TargetDir@");
      

      Attachments

        Activity

          People

            installerteam Installer Team
            zancos zancos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: