Keiths123
10-20-2008, 09:06 AM
Hi,
I'm trying to get a string value from a dialog box and then set a value in an xml file to this string value, however the xml value is just being set to the default value of the property and the entered value is being ignored.
I'm using v2.1.1005.0 of MSI Factory and the steps I have used are:
1. Create a property using Project, Settings, Properties, given it an ID, a default value of "Value" and all the check boxes are clear.
2. Created a blank dialog box with an edit box on it. Set the property name to be the property I created in step 1 (without any square brackets around it) and so far tried it with indirect cleared and checked. Neither worked.
3. Created an Install XML value with an action of "set value" and put in the correct values.
It all works but it sets the value in the xml file to the default value of the property set in Step 1. I have an almost identical step in the process that sets a value in the same xml file to the installation directory and that works perfectly.
Can anyone help me on this? It appears that it is having a problem setting the property to it's entered value rather than retaining it's default.
Regards,
Keith
I'm trying to get a string value from a dialog box and then set a value in an xml file to this string value, however the xml value is just being set to the default value of the property and the entered value is being ignored.
I'm using v2.1.1005.0 of MSI Factory and the steps I have used are:
1. Create a property using Project, Settings, Properties, given it an ID, a default value of "Value" and all the check boxes are clear.
2. Created a blank dialog box with an edit box on it. Set the property name to be the property I created in step 1 (without any square brackets around it) and so far tried it with indirect cleared and checked. Neither worked.
3. Created an Install XML value with an action of "set value" and put in the correct values.
It all works but it sets the value in the xml file to the default value of the property set in Step 1. I have an almost identical step in the process that sets a value in the same xml file to the installation directory and that works perfectly.
Can anyone help me on this? It appears that it is having a problem setting the property to it's entered value rather than retaining it's default.
Regards,
Keith