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

Regular expressions do not work inside addOperation Execute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 1.5.0
    • General
    • None
    • Distributor ID: Ubuntu
      Description: Ubuntu 12.04.3 LTS
      Release: 12.04
      Codename: precise

    Description

      As I can see Execute is synonymous to the way unix shell behaves, at least most of the commands that work on unix shell prompt work using the Execute command. But I do see that regular expressions (like ? or *) used in the file/folder names are not understood by Qt Installer Framework. If this is not yet supported, it would be great to have it included in the up-coming features, else we might have to do lot of workarounds in the scripts (which may not be foolproof)

      Attached is the installerscript.

      Below are some of the logs for reference:

      Error observed during installing my application on GUI:

      Error during installation process (myapp):
      Execution failed(Unexpected exit code: 1): "mv /home/sandeep/libnautilus-myapp.so /usr/lib/nautilus/extensions-?.0/"

      Error on console with verbose output:

      Warning: mv: cannot move `/home/sandeep/libnautilus-myapp.so' to `/usr/lib/nautilus/extensions-?.0/': Not a directory

      If I try to do the exact operations directly on my unix terminal, the commands work as expected:

      sudo mv /home/sandeep/libnautilus-myapp.so /usr/lib/nautilus/extensions-?.0/
      [sudo] password for sandeep:

      sudo rm /usr/lib/nautilus/extensions-?.0/libnautilus-myapp.so

      Attachments

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

        Activity

          People

            installerteam Installer Team
            sandeepsastry Sandeep Ammaladinna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes