none
Uninstall msi Error 1926 Could not set file security for file d:\config.msi\. Error: 3

    Question

  • Hello,

    I have an msi that should install a COM+ Application.  It is designed to install to a directory on the d: drive.  Since my Vista box doesn't have a d: drive I remapped the CD drive to J:\ using Disk Management.  I then created a c:\ddrive directory and mapped that as d:\ using the good old subst command.  I rebooted because
    Disk Management said that applications might not recognize that the the cd drive wasn't still on d:\ until I rebooted.  That much worked fine as far as I can tell.

    After I rebooted, I tried to install the msi and I got an error about the last dll in the COM+ application, however all the files were in the correct directory, including the file it gave me the error about.

    I didn't look to see what I had in Component Services at this point, but went ahead and tried to uninstall the msi.  It tries to uninstall it but then I get an error:

    Uninstall msi Error 1926 Could not set file security for file d:\config.msi\. Error: 3   Verify that you have sufficient privileges to modify the security permissions for this file.

    Currently, the application still shows up in add/remove programs, I see all the files are still in d:\mydir, but I don't have the expected COM+ application listed in
    Component Services (I did a refresh).

    I tried running procmon.exe while doing another uninstall, but I don't see any errors.  I do see msiexec.exe accessing c:\ddrive\config.msi.  I've looked inside the
    c:\ddrive\config.msi directory and it's empty.  According to procmon NT AUTHORITY\SYSTEM is the account that's running msiexec and it appears that it has full control over this directory:

    D:\>icacls d:\
    d:\ BUILTIN\AdministratorsSadI)(F)
        BUILTIN\AdministratorsSadI)(OI)(CI)(IO)(F)
        NT AUTHORITY\SYSTEMSadI)(F)
        NT AUTHORITY\SYSTEMSadI)(OI)(CI)(IO)(F)
        BUILTIN\UsersSadI)(OI)(CI)(RX)
        NT AUTHORITY\Authenticated UsersSadI)(M)
        NT AUTHORITY\Authenticated UsersSadI)(OI)(CI)(IO)(M)


    Successfully processed 1 files; Failed processing 0 files

    I tried doing a "repair" in add/remove programs and get what I'm pretty sure is the same message I did when I tried to originally install it:

    Error 27508.Error installing COM+ application My ComPlus Application.  The file does not exist:
    d:\mydir\mydll.dll

    However, I can see that d:\mydir\mydll.dll does, in fact, exist.  After I did the repair, I see that My ComPlus Application exists in Component Services, but I don't see any components in it.

    I'm wondering if my problems are some kind of permissions thing or because the d:\ drive isn't a "real" drive.  Any ideas?

    -Eric

    Tuesday, November 11, 2008 9:18 PM

Answers

  • Hi Eric,

     

    I haven’t encountered same issue. But I found a link for you.

     

    In Windows Vista, drive mappings not preserved across admin, regular-user apps

    http://searchwindowsserver.techtarget.com/tip/0,289483,sid68_gci1248622,00.html

     

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

     

    Hope it helps.

     

    Friday, November 14, 2008 9:33 AM
    Moderator

All replies

  • Hi Eric,

     

    As I do not know the COM+ Application, I cannot re-produce the problem in my test environment.

     

    Before moving further, I suggest you check the COM+ Application on Microsoft Windows Vista Compatibility Center to check if there is a compatible problem.

     

    Windows Vista Compatibility Center

    http://www.microsoft.com/windows/compatibility/

     

    If there is a compatible problem, I suggest you contact software manufacturer to push them develop new version for Windows Vista. Thank you for your understanding.

     

    In addition, If you still encounter problem when removing the software. I suggest you run a Microsoft tool called Windows Installer CleanUp Utility to remove the software.

     

    For more information:

     

    Description of the Windows Installer CleanUp Utility

    http://support.microsoft.com/kb/290301

     

    Hope it helps.

     

    Thursday, November 13, 2008 6:42 AM
    Moderator
  •  Robinson Zhang - MSFT wrote:

    Hi Eric,

     

    As I do not know the COM+ Application, I cannot re-produce the problem in my test environment.

     

    Before moving further, I suggest you check the COM+ Application on Microsoft Windows Vista Compatibility Center to check if there is a compatible problem.

     

    Windows Vista Compatibility Center

    http://www.microsoft.com/windows/compatibility/

     

    If there is a compatible problem, I suggest you contact software manufacturer to push them develop new version for Windows Vista. Thank you for your understanding.

     

    In addition, If you still encounter problem when removing the software. I suggest you run a Microsoft tool called Windows Installer CleanUp Utility to remove the software.

     

    For more information:

     

    Description of the Windows Installer CleanUp Utility

    http://support.microsoft.com/kb/290301

     

    Hope it helps.

     



    Thanks for your help, do you know if there's any inherent problem with installing a COM+ application (or any other application) on a "virtual" drive created with the subst command?

    -Eric
    Thursday, November 13, 2008 3:51 PM
  • Hi Eric,

     

    I haven’t encountered same issue. But I found a link for you.

     

    In Windows Vista, drive mappings not preserved across admin, regular-user apps

    http://searchwindowsserver.techtarget.com/tip/0,289483,sid68_gci1248622,00.html

     

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

     

    Hope it helps.

     

    Friday, November 14, 2008 9:33 AM
    Moderator
  • I think that's my problem, I also found:

    http://groups.google.com/group/microsoft.public.windows.vista.general/browse_thread/thread/7896a2d913480b43?hl=en&ie=UTF-8&q=vista+subst

    Friday, November 14, 2008 3:49 PM