ShellExecute from an MSI DLL

  • Thread starter Thread starter Lionel
  • Start date Start date
L

Lionel

Hi,

I'm currently busy writing an MSI custom action DLL, inside this DLL
I'm trying to open a file with the default associated program, if I use
standard ShellExecute call from EXE it works, but not from this DLL, is
there anything special that needs to be done to call ShellExecute from
a DLL?

Thank you very much.

Regards,

Lionel
 
Lionel said:
Hi,

I'm currently busy writing an MSI custom action DLL, inside this DLL
I'm trying to open a file with the default associated program, if I
use standard ShellExecute call from EXE it works, but not from this
DLL, is there anything special that needs to be done to call
ShellExecute from a DLL?

It's not that you're calling it from a DLL, but rather rather, I suspect,
that you're calling it from inside msiexec.exe that's making it not work. I
have no idea what to do about it, but you should try asking on the windows
installer newsgroup - microsoft.public.platformsdk.msi.

-cd
 
Hi,

You're absolutely correct, the DLL is called from the MSI, but I've
posted on MSI groups, they tell me post on C++ group.

Thanks,
Lionel
 
Lionel said:
Hi,

You're absolutely correct, the DLL is called from the MSI, but I've
posted on MSI groups, they tell me post on C++ group.

Thanks,
Lionel

Lionel:

Another suggestion: use Inno Setup :).

David Wilkinson
 
Back
Top