Can not sign apps - retrieving COM class factory failed.
Moderator: MaxCoderz Staff
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
Can not sign apps - retrieving COM class factory failed.
Basically the title says it all..
What's going on?
What's going on?
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Can not sign apps - retrieving COM class factory failed.
Which OS are you using? What software are you using? Have you installed whatever software is responsible for the COM object you're trying to sign apps with (I assume that's TI Flash Debugger).
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
Re: Can not sign apps - retrieving COM class factory failed.
I reinstalled the Flash Debugger just to be sure but it still doesn't work..
And I'm using LateNite to attempt to build the app (wappsign looks correctly setup, with the proper paths and all)
edit: oh and, running XP of course
And I'm using LateNite to attempt to build the app (wappsign looks correctly setup, with the proper paths and all)
edit: oh and, running XP of course
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Can not sign apps - retrieving COM class factory failed.
Normal XP or 64-bit XP?
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
Re: Can not sign apps - retrieving COM class factory failed.
Hm 64bit, would that break it? I suppose it could..
edit: would it be fixed if I ran LateNite in 32bit mode?
edit2: no that didn't work..
edit: would it be fixed if I ran LateNite in 32bit mode?
edit2: no that didn't work..
Last edited by King Harold on Tue 07 Jul, 2009 2:01 pm, edited 1 time in total.
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Can not sign apps - retrieving COM class factory failed.
It's a .NET app set to run on "any CPU", which wouldn't have any problems if it was a pure .NET app (it would run as 32-bit on 32-bit Windows, 64-bit on 64-bit Windows). However, it relies on a native COM object (32-bit), which can't be used when running under 64-bit Windows.
The correct solution would be to recompile all the .NET apps as requiring x86, not "any CPU". However, to fix it yourself, this post should help in the meantime.
Sorry for any inconvenience!
Edit: Bear in mind that Latenite runs Brass, so you'll need to "fix" Brass, not Latenite.
The correct solution would be to recompile all the .NET apps as requiring x86, not "any CPU". However, to fix it yourself, this post should help in the meantime.
Sorry for any inconvenience!
Edit: Bear in mind that Latenite runs Brass, so you'll need to "fix" Brass, not Latenite.
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
Re: Can not sign apps - retrieving COM class factory failed.
Oh I already did it the "hard" way (CFF Explorer, manually edited the flags)
But it didn't help - it's running as 32bit process but I still get the error
edit: doh didn't think of that, will fix brass now..
edit2: Ok we have a win!
thanks
But it didn't help - it's running as 32bit process but I still get the error
edit: doh didn't think of that, will fix brass now..
edit2: Ok we have a win!
thanks
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Can not sign apps - retrieving COM class factory failed.
I'll insert my recommendation for the Wabbit series of tools here in the meantime.
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
Re: Can not sign apps - retrieving COM class factory failed.
How would I set that up with latenite/brass? Just add it in the build file?
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Can not sign apps - retrieving COM class factory failed.
As in, use them instead of Latenite/Brass.
Re: Can not sign apps - retrieving COM class factory failed.
Can you call an external build step? Just have Brass generate a binary file, and sign it with wabbitsign using
Wabbitsign: http://www.revsoft.org/wabbitsign.zipCommand Prompt wrote:wabbitsign program.bin program.8xk