Dear Dev-Team,
I try to implement a custom action with C# .Net 4.0. After 2 days trying
and googleing I found this Bug-Report:
http://sourceforge.net/tracker/?func=detail&aid=3019443&group_id=105970&
atid=642714
Is there any workaround for this bug? Or could I help you to test it?
Unfortunately my current software project depend on this feature :-(.
Some Details:
=> WiX Version: 3.5.2201.0 and now 3.5.2215.0
=> Results: doesn't matter which WiX Version!
=> Target Platform: 32-bit Windows XP with .Net Framework 4.0
=> MSI-Log:
MSI (s) (C4:F0) [17:02:35:827]: Note: 1: 2205 2: 3: ActionText
Aktion 17:02:35: SetDeploymentMode.
Aktion gestartet um 17:02:35: SetDeploymentMode.
MSI (s) (C4:F0) [17:02:35:842]: Transforming table CustomAction.
MSI (s) (C4:F8) [17:02:35:889]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI170E.tmp, Entrypoint: SetDeploymentMode
MSI (s) (C4:28) [17:02:35:889]: Generating random cookie.
MSI (s) (C4:28) [17:02:35:905]: Created Custom Action Server with PID
6088 (0x17C8).
MSI (s) (C4:80) [17:02:35:999]: Running as a service.
MSI (s) (C4:E0) [17:02:35:999]: Hello, I'm your 32bit Impersonated
custom action server.
SFXCA: Extracting custom action to temporary directory:
C:\WINDOWS\Installer\MSI170E.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action XXXX.CustomActions.SetDeploymentMode
Error: could not load custom action class XXXX from assembly: XXXX
System.BadImageFormatException: Could not load file or assembly 'XXXX'
or one of its dependencies. This assembly is built by a runtime newer
than the currently loaded runtime and cannot be loaded.
File name: 'XXXX'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.AppDomain.Load(String assemblyString)
at
Microsoft.Deployment.WindowsInstaller.CustomActionProxy.GetCustomActionM
ethod(Session session, String assemblyName, String className, String
methodName)
Thank you very much for your help and I am looking forward to hear from
you,
Thomas Mathis
BiCA AG, Switzerland
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs