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

Entry point not found for CustomAction

8 views
Skip to first unread message

Kilo

unread,
Oct 17, 2009, 12:29:09 AM10/17/09
to
I have encountered a strange problem. I am using Visual Studio 2008 and 32
bit Vista. I have created a Setup project and a CustomAction Dll project. I
use the .def file to export name. I can build both project successfully on
my machine and the msi file run fine.

However, when I copied both projects to my 32 bit XP machine, entry point
not found warning pop up. I used InstEd to view the msi file. I found that
the exported name were strange. Originally, it should be "Install", but it
is _Install@4. I used InstEd to change the name back to the right one, but
the setup cannot run successfully.

Does anyone know what the problem is?

Thanks.

Richard [Microsoft Windows Installer MVP]

unread,
Oct 19, 2009, 12:05:51 AM10/19/09
to
[Please do not mail me a copy of your followup]

"Kilo" <ki...@yahoo.com.hk> spake the secret code
<#fa4gJuT...@TK2MSFTNGP02.phx.gbl> thusly:

Post the contents of your .def file, the declaration of your custom
action entry point and the row in your CustomAction table for your CA.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

Kilo

unread,
Oct 19, 2009, 3:35:29 AM10/19/09
to
Finally I have switched to use Executable instead of Dll for custom data.
And I found I have used a Vista API (RegGetValue). I thought that may be the
reason.

Thanks anyway :)

"Richard [Microsoft Windows Installer MVP]"
<legaliz...@mail.xmission.com> 嚙箭嚙締嚙踝蕭
news:egrrzFHU...@TK2MSFTNGP02.phx.gbl 嚙踝蕭嚙踝蕭嚙篇...

Phil Wilson

unread,
Oct 24, 2009, 1:37:11 PM10/24/09
to
It's likely that the problem is name mangling, which is why a .DEF file
often cures the issue.
--
Phil Wilson

"Kilo" <ki...@yahoo.com.hk> wrote in message
news:uZ2D76IU...@TK2MSFTNGP04.phx.gbl...


> Finally I have switched to use Executable instead of Dll for custom data.
> And I found I have used a Vista API (RegGetValue). I thought that may be
> the reason.
>
> Thanks anyway :)
>
> "Richard [Microsoft Windows Installer MVP]"

> <legaliz...@mail.xmission.com> �b�l��
> news:egrrzFHU...@TK2MSFTNGP02.phx.gbl �����g...

0 new messages