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

Dynamically change CreateLocalRepository option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.1.0
    • Scripting
    • None
    • macOS

    Description

      I have the use case of creating a temporary install that I can then use as a repository to update an existing install. These two installs have unique components that are shipped separately, but are components of the same project.

      I can do this step manually but I am trying to script this step for a nicer UX.

      My code snippet looks like this:

      installer.setValue("TargetDir", "/tmp/TemporaryInstall");
      installer.autoRejectMessageBoxes();        
      installer.setAutoAcceptLicenses();        
      installer.setCreateLocalRepositoryFromBinary(true); //error

       

      Bonus: I also don't seem to be able to switch from a gui instance to a "CommandLineInstance", but I think that's by design?

      Attachments

        Activity

          People

            installerteam Installer Team
            jryan Joey Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: