MSI property values

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

MSI property values

Postby pmessina » Tue Sep 19, 2006 4:15 pm

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:

Postby MichaelNesmith » Tue Sep 19, 2006 6:29 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

pmessina
Posts: 12
Joined: Tue Aug 29, 2006 10:05 am

Postby pmessina » Wed Sep 20, 2006 9:25 am

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 224 guests