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

RegisterFileType: ProgId registry entries not removed on uninstall

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.4.2
    • General
    • Windows

    Description

      The registry entries associated with the ProgId argument of the RegisterFileType operation do not seem to be removed during the undo operation of the mainenancetool / uninstaller.

      HKEY_CURRENT_USER\Software\Classes\<ProgId>
      HKEY_CURRENT_USER\Software\Classes\Applications\<ProgId>
      

      It seems like perhaps the ProgID argument isn't being passed to the undo operation. The below is the log output from the installer:

      [67837] backup com.company.myapp operation: RegisterFileType
      [67837] - arguments: mytype, "C:\Program Files\MYAPP\myapp.exe" "%1", MYTYPE File, text/plain, C:/Program Files/MYAPP/myapp.exe,0, ProgId=Company.MYAPP.mytype
      [67837] Done
      [67837] perform com.company.myapp operation: RegisterFileType
      [67837] - arguments: mytype, "C:\Program Files\MYAPP\myapp.exe" "%1", MYTYPE File, text/plain, C:/Program Files/MYAPP/myapp.exe,0, ProgId=Company.MYAPP.mytype
      [67848] Done

      However, the log output from the maintenance tool on an uninstall does not show the ProgId argument:

      [4800] undo operation= "RegisterFileType"
      [4800] undo com.company.myapp operation: RegisterFileType
      [4800] - arguments: mytype, "C:\Program Files\MYAPP\myapp.exe" "%1", MYTYPE File, text/plain, C:/Program Files/MYAPP/myapp.exe,0
      [4812] Done

      Attachments

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

        Activity

          People

            installerteam Installer Team
            inve7 Dan Jantzen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes