The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Call DLL custom action limitations??

jarekp
By
Level 2
Hello,

This is my first post here as I just regirestered to this forum.
I was recently forced (project's requirements) to use InstallShield AdminStudio
and since I was using Wise for past 8 years or so, I'm really confused with this one.

I have a problem with a custom action that I'm trying to implement,
which would be calling my own DLL for certain functionality.

The problem is that I have to pass some DWORD type values to it, as
well as STRING POINTERs and I aslo care for my return to be defined as DWORD type. As far as I can see, IS does NOT allow anything rather than
very few types of values to be passed to or returned from the DLL.

Is there anything I don't know or there's no such possibility with the version I use - InstallShield X Professional - AdminStudio Edition, SP1

I can call the same DLL from within my Wise (5.6) written MSI and it works
like a charm.

Thank you in advance for any hints that I might use.

jj
(1) Reply

Christopher_Pai
By
Level 16
MSI natively only supports DLL FX's that are exported to return a uint and take a MSI Handle as an argument. InstallShield also has a way of defining a "standard dll" where an intermediate bridging DLL is used to call your DLL. Based on the way you described your function declarations I don't think it should pose any problems.