We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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: 4297
 
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: 4297
 
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