PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Passing properties to a merge module

Wed May 21, 2014 2:39 pm

I have a merge module, that amongst other things, sets up a number of registry entries. I would like to be able to control from a custom dialog in the msi that includes this merge module whether these entries are created or not. I've tried to do this by creating a configurable property in the merge module and passing a property value from the hosting msi. This doesn't appear to work, so I guess this approch is invalid. Any thoughts on how I can do what I want?

Phil

PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: Passing properties to a merge module

Wed May 21, 2014 4:42 pm

Updating my previous post! I have realised that I dont need a configurable property but should refer to the merge module property as property.guid and set it via the set installer property CA. Still doesn't work though!

Dan
Posts: 4491
Joined: Wed Apr 24, 2013 3:51 pm

Re: Passing properties to a merge module

Wed May 21, 2014 8:01 pm

Hello Phil,

Please take a look on the Pass parameters to merge modules forum thread which debates a similar subject.

Let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: Passing properties to a merge module

Thu May 22, 2014 2:58 pm

This was what I had ended up doing. I must have been having a bad day - today everything was working without me changing anything!

Thanks,

Phil

Dan
Posts: 4491
Joined: Wed Apr 24, 2013 3:51 pm

Re: Passing properties to a merge module

Fri May 23, 2014 8:23 am

You're welcome Phil,

I'm glad you got this working. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”