[SOLVED]Application Deployment - Side by side configuration is incorrect
I am trying to deploy Qt Application. I have used Visual Studio 2008; Windows 7
I have already gone through "this":http://qt-project.org/doc/qt-4.8/deployment-windows.html. I am using Inno Setup Compiler for the task. I am also using "dependency walker":http://www.dependencywalker.com/ to trace which files should be deployed.
Dependency walker showing me following dlls ![url=http://postimg.org/image/483ih176r/][img]http://s21.postimg.org/483ih176r/dependency.jpg[/img]/url!
I am deploying all the listed dlls, except kernel32.dll as I believe it is present on every Windows OS.
I am deploying this application to person who is NOT having any compiler installed.
Install goes correctly -- but while executing the application user gets error "application could not start because its side-by-side configuration is incorrect".
Any help in this regard will be highly appreciated.
Most likely the Microsoft C++ runtime you are building with needs to be installed on the target machine using the redistributable installer so that it is correctly placed in the system SxS folders. You can possibly deploy it as a private assembly, but I have not tried this myself.
http://www.microsoft.com/en-us/download/details.aspx?id=5582 : there may be a more recent one, or this might not match yours.
If I saw correctly you're trying to install a debug version of your software. The debug runtime is not distributable.
Rebuild your project in release mode then you should be fine.
Hope it helps
Yes. Actually my project was in release version but I was deploying debug dlls and therefore problem was there. It now works.
Since the solution has been found, can you update the threads title to solved ?