Hi,
I add a custom action that Calling function from standard DLL. But in the DLL I use MsiGetProperty or MsiSetProperty, It always failed.
how can I do to make it succeed?
Thanks for your reply!Bogdan wrote:Hi,
By standard DLL we refer to DLL files built for Win32 applications, which are not aware of the Windows Installer API.
For accessing the API, thus being able to call MsiSetProperty and MsiGetProperty methods you need to build a native Windows Installer DLL. The linked article has an example and a sample available for download.
Regards,
Bogdan
You can use merge modules for this. On the machine you built the dll with, search C:\Program Files (x86)\Common Files for *.msm. It sounds like you need: Microsoft_VC100_CRT_x86.msm/Microsoft_VC100_CRT_x64.msmI don't want to add a prerequistites about Visual C++ Redistributable for vs2010,because I only need "msvcr100.dll".
How can I do to make my DLL work fine?
FOLLOW US
Get the latest news in Application Packaging