Hi There,
I have an installer that has been working for years, but now after I recompiled all my assemblies (including a .net CustomAction) targeting Framework 4.0 it seems that i cannot run the custom action.
after the install goes through, i get the following message when it tries to run the custom actions:
"Thedialog ErrorDlg has the error style bit set, but is not an error dialog."
This is the event generated:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="MsiInstaller" />
<EventID Qualifiers="0">10005</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-03-24T17:35:00.000Z" />
<EventRecordID>1517860</EventRecordID>
<Channel>Application</Channel>
<Computer>mymachine.mydomain.com</Computer>
<Security UserID="S-1-5-21-1814117857-657019746-1392588124-7200" />
</System>
- <EventData>
<Data>Product: My Product Name -- Error 2869. The dialog ErrorDlg has the error style bit set, but is not an error dialog.</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data />
<Data />
<Binary>7B33324239323035302D323546432D343843322D424345342D3533344135303041323738347D</Binary>
</EventData>
</Event>
I have tried (with no success) to add V2 framework compatibility by adding this entry on the custom action config file:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
Can anyone help me to get this working again?
Thanks!
Marcelo
FOLLOW US
Get the latest news in Application Packaging