Jan Bouma
Posts: 33
Joined: Fri Jul 13, 2007 11:27 am

Configurable parameter values

Hi There

I have made an msm with configurable parameters.
I include this msm in an msi i made and gave the configurable parameter a value.
In one of the values i specify a property of the MSI which wil get a value in the User interface part of the MSI.
In the msm this value is used to set the value of a registry key.
But when i run the msi, the registry value shows the property name instead of its value !
in the Configure Merge Module screen the line looks like:

CP_DB_DESCRIPTION Lokale [P_OFFTYPE_DESC] Bedrijfs DB op [P_DB_BRAND]
(the property is of the type "Formatted" )

the resulting registry value should be "Lokale BouwOffice Bedrijfs DB op sybase5"
But i get Lokale [P_OFFTYPE_DESC] Bedrijfs DB op [P_DB_BRAND].

In the dialog VeryReadyDlg i placed text boxes to hold the values of the msi properties so i can see that the have the correct values.

What am i doing wrong ?

Jan Bouma
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Configurable parameter values

Hi Jan,

Please note that there is a similar thread which may help you:
http://www.advancedinstaller.com/forums ... f=2&t=8495

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jan Bouma
Posts: 33
Joined: Fri Jul 13, 2007 11:27 am

Re: Configurable parameter values

That is Strange.

The User Interface Of AdvancedInstaller lets you fill in Properties in the Configure Merge Module screen.
So you think this is going to work. But it is not working. This is a huge disapointment.
If it would work, this would be a power full option ! So please make it work.

Why should I use msm if this is not working ! :(
This is frustrating.

Can't you automaticly add the custum action you mention in the related topic?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Configurable parameter values

Hi,
The User Interface Of AdvancedInstaller lets you fill in Properties in the Configure Merge Module screen.
So you think this is going to work. But it is not working.
Please note that you can use properties for configurable parameters, but not for installer properties inside the MSM. When the MSI is built, the property in the MSM is stored in the Property table of the MSI. Since this table can use only text for the value of the property, you cannot use another property as the value.
Can't you automaticly add the custum action you mention in the related topic?
We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jan Bouma
Posts: 33
Joined: Fri Jul 13, 2007 11:27 am

Re: Configurable parameter values

Thanks for your Quick response !

Return to “Common Problems”