Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4371

Lot of errors printed when using uninstaller if the Studio has been started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • 11.x
    • 10.4.0.AM3
    • platform-installer
    • None
    • 13
    • Hide
      • install using dev suite installer
      • launch studio
      • close studio
      • go to unisntaller folder
      • on uninstaller.ps1 Right-Click -> Run with PowerShell"
        --> a lot of errors are printed
      Show
      install using dev suite installer launch studio close studio go to unisntaller folder on uninstaller.ps1 Right-Click -> Run with PowerShell" --> a lot of errors are printed
    • NEW

    Description

      Uninstalling Red Hat Development Suite
      Removing shortcuts
      Get-Content : Cannot find path
      'C:\install\DevelopmentSuite-1.4.0-170424-1410\developer-studio\InstallConfigRecord.xml' because it does not exist.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:50 char:25
      + ... stallConfig = Get-Content $devstudiofolder'\InstallConfigRecord.xml';
      +                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\install\Deve...onfigRecord.xml:String) [Get-Content], ItemNotFoundEx
         ception
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\Accessibility\Desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (Desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility
      cannot be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (Accessibility:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\Accessories\Desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (Desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories
      cannot be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (Accessories:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\Administrative Tools\desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative
      Tools cannot be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (Administrative Tools:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\Maintenance\Desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (Desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Maintenance
      cannot be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (Maintenance:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\Startup\desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup cannot
      be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (Startup:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System
      Tools\Desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (Desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools
      cannot be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (System Tools:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\Windows PowerShell\desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows
      PowerShell cannot be removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (Windows PowerShell:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Remove-Item : Cannot remove item C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start
      Menu\Programs\desktop.ini: You do not have sufficient access rights to perform this operation.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : PermissionDenied: (desktop.ini:FileInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
      Remove-Item : Directory C:\Users\Aurelien Pupier\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ cannot be
      removed because it is not empty.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:60 char:7
      +       Remove-Item $programs'\'$_ -Recurse;
      +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : WriteError: (C:\Users\Aureli... Menu\Programs\:DirectoryInfo) [Remove-Item], IOException
          + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      DONE
      Removing installation folder
      C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\..\UNINST~1 - The process cannot access the file because it is being used by another process.
      Remove-Item : Cannot remove the item at 'C:\install\DevelopmentSuite-1.4.0-170424-1410' because it is in use.
      At C:\install\DevelopmentSuite-1.4.0-170424-1410\uninstaller\uninstall.ps1:76 char:3
      +   Remove-Item "$folder\.." -Recurse -Force
      +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [Remove-Item], PSInvalidOperationException
          + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      DONE
      Removing path entries
      DONE
      Press any key to exit
                                                                                                                                                                                                                                                                                                                                                                                                  

      Attachments

        Activity

          People

            nivologd@gmail.com Denis Golovin (Inactive)
            apupier@redhat.com Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: