PDA

View Full Version : Setting a property of a merge module



smcburney
08-30-2002, 10:18 AM
I've got several IS7 Standard setups that I have built. They all use a common merge module for a set of files. One of the things the merge module depends on is for a directory path to be written into the registry. This path could vary depending on the setup that is run.

I'm trying to pass it from the parent install into the merge module, but having a hell of a time trying to do it.

I've got a property in my merge module, call it PROP.

In the parent install, from script, I'm calling MSISetProperty, and setting the property named PROP.76421BE1-F116-4481-8F45-4BD29699BFD9 (the package ID of the merge module).

But the value is still never getting set.

What am I doing wrong?

cibbeson
08-30-2002, 10:30 AM
Is it possible for the merge module to read the value right from the registry with a custom action? Then place the action at the right location in the sequence?

Just an idea.

smcburney
08-30-2002, 10:33 AM
ok, i found the problem....the product code has dashes "-" in it, but the merge module property name gets them replaced with underscores "_"

it would be nice if this were noted somewhere in the documentation thats in an obvious place