[Qt-interest] Deploy Application on Windows

Tiago Correia tiago at cnotinfor.pt
Fri Apr 3 11:10:24 CEST 2009


I've managed to find the problem
I've installed Visual Studio 2008 SP1. For some unknown reason it is linking
the manifest file with the DLL previous to SP1. So if I put the previous
version DLLs it works fine.

So now I'm reinstalling SP1, to check if this solve the problem or not.

Thanks for all the help.

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

> Yes, I've 2 manifest files.
>
>
> On Fri, Apr 3, 2009 at 9:55 AM, Benjamin Sonnemann <b.sonnemann at gmail.com>wrote:
>
>> 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
>>>
>>>
>>
>
>
> --
> 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
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090403/d24d2010/attachment.html 


More information about the Qt-interest-old mailing list