[Qt-interest] Deploy Application on Windows

Benjamin Sonnemann b.sonnemann at gmail.com
Fri Apr 3 10:55:12 CEST 2009


Did you add the Manifest of the CRT?
SO basically you should have two manifest files if not embedded.

Benjamin Sonnemann


On Fri, Apr 3, 2009 at 10:42 AM, Tiago Correia <tiago at cnotinfor.pt> wrote:

> Hi,
> Thanks for all the answers.
> A solution that works just fine is to install Visual Studio 2008 SP1
> Redist, but since this is not what I want I'm trying by just putting the DLL
> together with the EXE.
>
> I've check the manifest file (both embedded and external)
>
> This is my manifest file. I don't see any error.
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
>   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
>     <security>
>       <requestedPrivileges>
>         <requestedExecutionLevel level="asInvoker"
> uiAccess="false"></requestedExecutionLevel>
>       </requestedPrivileges>
>     </security>
>   </trustInfo>
>   <dependency>
>     <dependentAssembly>
>       <assemblyIdentity type="win32" name="Microsoft.VC90.CRT"
> version="9.0.21022.8" processorArchitecture="x86"
> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>     </dependentAssembly>
>   </dependency>
> </assembly>
>
> The only problem I see is the version number which is different. I've tried
> to change the version number to 9.0.30729.1, but the problem remains, even
> due with a different error message.
>
> Error message with version 9.0.30729.1: The application failed a correct
> initialization. (0xc0150002). Click Ok to terminate the application.
> Error message with version 9.0.21022.8: It was not possible to start this
> application because the configuration of the application is incorrect.
> Reinstall the application to solve this problem.
>
> Sorry for some mistake, but my messages appear in portuguese.
>
> Any ideas?
>
> --
> Tiago Correia
> chief technology officer
>
> cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
> www.cnotinfor.pt
> Telefone: +351 239 499 231
>
> Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
> Interactividade, Comunicação e Aprendizagem
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090403/1942e8ff/attachment.html 


More information about the Qt-interest-old mailing list