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

Uninstaller does not remove full path in Start Menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • 3.1.1
    • 2.0.0
    • General
    • None
    • Windows 8.1 (64-bit)

    Description

      Create an installer with the key in config.xml :

       
      <StartMenuDir>Miam-Player\SubDir\SubSubDir</StartMenuDir>
      

      And try to uninstall right after.

      "Start Menu\Programs\Miam-Player\SubDir" stills exists when uninstall is complete. It's working find with single level entry.

       
      Component.prototype.createOperations = function()
      {
      	try {
      		// call the base create operations function
      		component.createOperations();
      
      		// Always clear registry after install (should be improved)
      		if (installer.value("os") == "win") { 
      			component.addOperation("CreateShortcut", "@TargetDir@/MiamPlayer.exe", "@StartMenuDir@/MiamPlayer.lnk");
      		}
      	} catch (e) {
      		print(e);
      	}
      }
      

      Attachments

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

        Activity

          People

            installerteam Installer Team
            matthieu Matthieu Bachelier
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes