Sxstrace for Windows XP and Windows Server 2003


I have received question about availability of Sxstrace for Windows XP and Windows Server 2003.


Unfortunately this is not possible. The traces from sxstrace.exe really comes from Sxs.dll. Sxstrace simply tells sxs.dll when to trace, where to log, and then parse the log to a humanly readable form. In order for sxstrace to work in Windows XP and Windows Server 2003, traces have to be added to sxs.dll in those versions. unfortunately at this tage of the life cytle of XP and Server 2003, it is very difficult to make any change to sxs.dll.


Hey, maybe this give you a good reason to upgrade to Vista:)

Comments (6)

  1. Ned McHugh says:

    This is just complete utter nonsense. If you cannot support a technology, then you should have never installed it on Windows XP/2003 to begin with. This combined with the broken Visual Studio 2005 SP1 vc/debug dll’s makes for an unmanageable situation. Too bad I am not a monopoly, so I could be as glib about breaking their systems and providing no support.

  2. Tanveer Badar says:

    Sorry about the unrelated post, you are probably not that much annoyed about this lame excuse.

    I came across your November post on GAC assembly install/uninstall details.

    You wrote: "When MSI uninstalls an assembly, it constructs an assembly display name based on the MSIAssemblyName table, and passes it to fusion to uninstall.", but some paragraphs back, you also said that "we" ask MSI to update its reference count in case it has any outstanding references.

    Doesn’t this mean we have a cycle in uninstallation, you ask MSI to update its reference count, then, it constructs an assembly display name and "passes it to fusion to uninstall"?

    Am I getting it wrong, you intended the MSI uninstallation to be initiated some other way?

  3. Tanveer Badar says:

    I mixed up the year, it was posted in October 2005.

  4. junfeng says:

    During MSI uninstallation, we will ask MSI if it has any outstanding references, and it will say No. We will then go ahead and uninstall it.

  5. boo says:

    > Hey, maybe this give you a good reason to upgrade to Vista:)

    What an arrogant attitude. SxS has made the "DLL hell" problem worse by hiding the useful error messages on Win2K/XP.

    Now were stuck trying to figure out why SxS suddenly fails on one machine even though it has the same assemblies installed as a machine where it does run. "Upgrading to Vista" doesn’t help us at all.

  6. <FuriousMode> I’ve recently posted about WinSxS under Vista. But today I had to do some tests in