> 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]"
> <legalize+jee...@mail.xmission.com> ¦b¶l¥ó
> news:egrrzFHUKHA.3720@TK2MSFTNGP02.phx.gbl ¤¤¼¶¼g...
>> [Please do not mail me a copy of your followup]
>> "Kilo" <k...@yahoo.com.hk> spake the secret code
>> <#fa4gJuTKHA.5...@TK2MSFTNGP02.phx.gbl> thusly:
>>>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?
>> 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>