Questions tagged [winsxs]

the Windows side-by-side assembly, or the Component Store directory itself (usually `C:\Windows\winsxs`)

The Windows component store (C:\Windows\winsxs) directory is used during servicing operations within Windows installations. Servicing operations include, but are not limited to, Windows Update, service pack, and hotfix installations.

Created to attempt to alleviate problems caused by DLLs, such as version conflicts, missing DLLs, duplicate DLLs, and incorrect or missing registration. Multiple DLL versions exist side-by-side in the WinSxS directory. Application manifests can choose which versions of the DLLs they need to reference.

Details of common issues with WinSxS: https://support.microsoft.com/en-us/kb/2795190

90 questions
4
votes
1 answer

Developing Reg-Free COM application with VB6

I'm maintaining a VB6 application with many COM components (DLLs and OCXs). In order to streamline development and deployment I'd like to use reg-free com. The problem with development is that the application runs within the VB6.EXE instance. How…
Doc
  • 343
  • 3
  • 13
4
votes
1 answer

WinSxS: How to take dependency on specific version of gdiplus.dll?

I need to add a dependency on a specific version of GDIPlus. This is the version of GDI+ that i want: I want to be sure that I'm using this version for a specific compatibility reason. I've added an assembly manifest to my executable, defining my…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
2 answers

VS2008/C#: How do I specify separate debug and release manifests?

I've got a C# .exe that requires side-by-side deployment of a hand-built manifest. I need to use a different manifest for each of my release and debug builds. I set my application's manifest in the Application settings. However, this seems to be…
Pete Magsig
  • 431
  • 5
  • 18
3
votes
1 answer

Using a .NET 4.0 DLL in Unity3d via COM/SxS?

In an attempt to oversimplify my issue, I'll try to keep it short: I'm using the pro version of Unity, and I have 2 DLLs: A .NET 3.5 assembly (acting as a COM client) A .NET 4.0 assembly (with an interface exposed via COM) The 3.5 uses COM to work…
nitz
  • 437
  • 5
  • 19
3
votes
2 answers

Different WinSxS behaviour in Windows 7 and Windows Server 2008 R2

I've got an executable who's manifest says it depends on Microsoft.VC90.CRT 9.0.21022.8 Microsoft.VC90.CRT 9.0.30729.1 On Windows 7, this executable runs with no problem. On Windows Server 2008 R2, this executable fails to run with the message: The…
likso
  • 3,370
  • 3
  • 17
  • 18
3
votes
2 answers

How to use WinSxS manifests to redirect to an older version of a DLL?

Let's say I have an application that uses MSHTML. Installing IE9 beta would update MSHTML which breaks my application. I found that copies of IE8 dll is still present in the WinSxS folder, so maybe I can somehow use them without recompiling my…
kizzx2
  • 18,775
  • 14
  • 76
  • 83
3
votes
2 answers

registration free com and Dispatch LPPICTUREDISP

This is my COM interface: [id(2)] boolean Init(BSTR User, BSTR Password); [id(3)] boolean SetBitmap(BSTR szObjectType, IPictureDisp* szBitmap); The following Init() function works if the COM interface is registered, or else with the application's…
kain64b
  • 2,258
  • 2
  • 15
  • 27
3
votes
4 answers

Side by side madness - running binaries on the same computer

Here's my configuration: Computer A - Windows 7, MS Visual Studio 2005 patched for Win7 compatibility (8.0.50727.867) Computer B - Windows XP SP2, MS Visual Studio 2005 installed (8.0.50727.42) My project has some external dependencies (prebuilt…
sbk
  • 9,212
  • 4
  • 32
  • 40
3
votes
1 answer

How to prevent embedded manifest from being used?

I am working on many apps that uses RegFree COM Activation, everything works well except that one of the application is ran using an older technology that uses a JIT-type compiler. To get RegFree COM working, i have to provide a manifest to the…
Carl Quirion
  • 765
  • 5
  • 25
3
votes
3 answers

Unable to run debug build of application

Visual Studio 2005, SP1 with Vista/Win7 update. The PC originally had VS 2010 installed but, since the rest of the team uses 2005, well, when in Rome... Initially, I installed 2005 and the updates and tried to build/run. Build ran fine, running…
Jon
  • 1,675
  • 26
  • 57
3
votes
1 answer

Side-by-Side errors in Managed C++ wrapper DLL in VS2005+

I have a native C++ library with a .NET wrapper, all built in Visual Studio 2003 and 2005. We recently ported the .NET wrapper library to VS2005 and it doesn't work. The .NET wrapper library is mixed-mode, with native C++ and Managed extensions…
Ian Gilham
  • 1,916
  • 3
  • 20
  • 31
2
votes
2 answers

Replacing Microsoft.VC90.CRT WinSxS policy file with local config file

On Windows XP, I have an .exe which runs with msvcp90.dll, msvcr90.dll, and Microsoft.VC90.CRT.manifest in my local application directory. I also have a policy file for these .dlls in C:\WINDOWS\WinSxS\Policies, which was installed by the Visual C++…
arcamax
  • 21
  • 1
  • 5
2
votes
0 answers

Error installing vc90 runtime on Windows Sandbox

When I try to install vc90 on Windows Sandbox I get the following error: Product: Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161 -- Error 1935.An error occurred during the installation of assembly…
GeorgeGF
  • 21
  • 2
2
votes
0 answers

COM Registration free (SxS) and proxy stub for STA->MTA

I'm trying to use my C++ COM API (loaded inside a C++ application) from C# (as an addin) without any registration. I follow steps from this tutorials So what I did is: to create an activation context from my C++ application at startup. I'm passing…
David
  • 1,177
  • 3
  • 11
  • 26
2
votes
0 answers

Resolving C/C++ library version conflicts, mainly on Linux

I have a situation more or less as illustrated here; it exists both on Windows and Linux, but I’ll draw it using Linux notation which is slightly clearer: libbar.so.1 and libbar.so.2 contain procedures with the same names and signatures but…
Eos Pengwern
  • 1,467
  • 3
  • 20
  • 37