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

Missing docu about addOperation("Settings")

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 3.2.2
    • Documentation, Scripting
    • None
    • Windows 10
    • All

    Description

      It is unexpected that the operation "Settings" works different than other well documented operations like "Copy".

      Example for "Copy" is:

      component.addOperation("Copy", "/from/path", "/to/path");

      Example for "Settings" is:

      component.addOperation("Settings", "path=@HomeDir@/AppData/Roaming/MyAppName/myAppSettings.ini", "method=set", "key=License", "value=123456789");

      It doesn't work without "path=" in front of the path. It took me a while to find out, because there are no examples in the documentary. Even better than updating the docu would be to update the syntax for this operation in a way that it works like "Copy".

      Attachments

        Activity

          People

            installerteam Installer Team
            schaef Christoph Schaefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: