MSI property values

Got a problem you cannot solve? Try here.
Post Reply
pmessina
Posts: 12
Joined: Tue Aug 29, 2006 10:05 am

MSI property values

Post by pmessina »

Our previous product installer was being built via MAKEMSI and relied on a specific DLL we wrote for specific product configuration tasks.

Various DLL functions rely on MSI property values at runtime and vice versa - (i.e. the DLL also sets specific property values used by the installer).

Is there any way in InstallAware (we are using 5.0) to replicate this functionality of persisting and accessing specfic MSI property values at runtime?

Our other option is to devise a different persistence model and modify the DLL code. We just don't want to do that if we don't have to.

Thanks in advance.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

InstallAware MSIcode uses variables. You can pass these variables to your DLL, and your DLL can even update the values of these variables. There is no need to use properties - variables are a lot more flexible. So whenever you want to pass information from your MSIcode script to your DLL, in the Call DLL Function command, you use variables, which can also receive information back from the DLL.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
pmessina
Posts: 12
Joined: Tue Aug 29, 2006 10:05 am

Post by pmessina »

Thanks for the reply.

I knew that we could we could pass values back and forth to the DLL possibly even as references.

We just didn't want to have to do through that DLL code and modify it if we didn't need to.


Thanks again.
Post Reply