Advanced Installer Community - Search

Search found 2 matches

Go to advanced search

by jonipichoni
Mon Jul 18, 2016 1:39 pm
Forum: Common Problems
Topic: How to pass MSIHandle to dynamic DLL
Replies: 4
Views: 4289
 
Jump to post

Re: How to pass MSIHandle to dynamic DLL

Many thanks. That was what I thought. I will get the properties I need using MSIGetProperty instead of using arg params. Thanks again.
by jonipichoni
Wed Jul 13, 2016 5:50 pm
Forum: Common Problems
Topic: How to pass MSIHandle to dynamic DLL
Replies: 4
Views: 4289
 
Jump to post

How to pass MSIHandle to dynamic DLL

Hello folks,

I am trying to write some extra log from a dll during the installation of an msi.
This is the C++ code of the function that can be called from the custom actions:

void LogString(MSIHANDLE hInstall, TCHAR* szString)
{
PMSIHANDLE newHandle = ::MsiCreateRecord(2);
TCHAR szTemp[MAX ...

Go to advanced search