Uninstallation using msiexec /x has diferent results in laptop and PC using Vista home premium and ultimate respectively

Posted on 2008-11-16
Last Modified: 2013-11-14
While uninstallaging our product in hp laptop with vista home premium using msiexec /x{Productcode} , the installation is proper but the same thing when i do in a pc with vista ultimate i  see that the files are not being removed from /windows/system32 ... i have attached the .msi file in
Question by:prasant_hyd
    LVL 40

    Accepted Solution

    Produce log files in both cases and compare - find the place where it removes z file in one, and does not remove in another. If you don't find anything, upload the log files, and I will look.

    But I'd note that best practices tell to "avoid installing non-permanent system components to the SystemFolder". If you run validation on your package, you will probably see this as ICE09.

    Author Comment

    I have put those logs here

    uninstall_39.html : its in a pc with vista ultimate, and its is not uninstallating properly , files are not being removed from windows/system32
    uninstall_HP_39.html: working with vista home premium , the uninstallation is proper here
    LVL 11

    Expert Comment

    by:Rory de Leur
    Try this:
    Your logifle uninstall_39 notes "MSI (s) (1C:00) [12:55:51:723]: Machine policy value 'AlwaysInstallElevated' is 0", witch means that is using user privileges, the other log doesnt mention it at all and probably it's using system privileges. This will explain why the uninstall isn't doing it's job properly.

    Change the next registry key on your Ultimate to change this behavior:
    AlwaysInstallElevated = 1

    For more info about the key:
    LVL 40

    Expert Comment

    by:Vadim Rapp
    If you mean files such as vfsEMPIRE_2.DLL - the answer is in the word "PreviouslyPinned" in the log, for the component this file belongs to.

    Most likely it's because of the shared count for this dll under  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
    Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now