Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Custom Action Specifies Unsupported Type???

367 views
Skip to first unread message

Zhenxin Li

unread,
Feb 21, 2006, 12:30:22 AM2/21/06
to
Hello,

I got a "Custom Action Specifies Unsupported Type" error when testing my
installer. I'm really confused. The log doesn't point out which type is
invalid. Could someone tell me the possible reasons why this happens?

Thanks!
Zhenxin Li


Stefan Krueger [MVP]

unread,
Feb 21, 2006, 7:04:38 AM2/21/06
to
Can you post the value you have in the Type column of the CustomAction table
for the failing action?

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)

"Zhenxin Li" <imz...@hotmail.com> schrieb im Newsbeitrag
news:%23ZLErfq...@TK2MSFTNGP09.phx.gbl...

Nick Heim

unread,
Feb 21, 2006, 11:03:08 AM2/21/06
to
This error typically occurs, when a CA is called inside MSI script
(that means between the InstallInitalize and InstallFinalize sequence
of the InstallExecuteSequence table), that doesn't support that.
Nick

Zhenxin Li

unread,
Feb 21, 2006, 9:21:34 PM2/21/06
to
<InstallExecuteSequence>
<Custom Action="MyCustomAction.Install.SetProperty"
After="COMPlusServices.Install">(&amp;MyFeature=3)</Custom>
<Custom Action="MyCustomAction.Install"
After="MyCustomAction.Install.SetProperty">(&amp;MyFeature=3)</Custom>
</InstallExecuteSequence>

<CustomAction Id="MyCustomAction.Install.SetProperty"
Property="CustomActionData" Value="CLASS=MyCustomActionClass|METHOD=Install"
Execute="immediate" Return="ignore"/>
<CustomAction Id="MyCustomAction.Install" BinaryKey="CustomAction"
DllEntry="Prepare" Execute="immediate"/>

My custom action is a C# custom action. There are already many C# custom
actions in our product. I just create a new one. I'm really confused what's
wrong...


"Stefan Krueger [MVP]" <skru...@newsgroups.nospam> wrote in message
news:%23Gjco8t...@TK2MSFTNGP14.phx.gbl...

Stefan Krueger [MVP]

unread,
Feb 22, 2006, 6:43:36 AM2/22/06
to
I'm sorry but that XML code doesn't help me. Could you please post the type
value from the CustomAction tyble in your actually .msi file (open it witrh
Orca).

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)

"Zhenxin Li" <imz...@hotmail.com> schrieb im Newsbeitrag

news:OrRo1a1...@TK2MSFTNGP11.phx.gbl...

Phil Wilson

unread,
Feb 22, 2006, 1:49:44 PM2/22/06
to
If that's Wix, ask in a Wix forum. However you need to be aware that Windows
Installer cannot directly call managed custom actions.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Zhenxin Li" <imz...@hotmail.com> wrote in message
news:OrRo1a1...@TK2MSFTNGP11.phx.gbl...

0 new messages