![]() Using VBScript you can retrieve the property very easily. The WiX markup: I would also retrieve the property after you set it in your C custom action to determine if it has been set correctly (it could be blank). ![]() But I want to show this message only when the MyProperty is set to 'NO'.So how do I use my custom MSI property in a condition message that was set by a custom action? I would try to UPPERCASE the property MyProperty to make it a, and then I would also declare it in your WiX source via a and set the Secure attribute to Yes and see if that helps. I can set and get the same MSI property and value before calling the condition message, but it is failing when I use it in condition message.My condition message is looks like Not InstalledNot InstalledHere this MyProperty is a string and returns either YES or NO, and it is set by C CA and this condition is failing in both cases. ![]() This MSI property is set by a C custom action. and setting the value to Zero by a CASetProperty just b4 InstallFinalize in Immediate mode. I want to use an MSI installer property in a condition message in a WiX installer. VbScript to delete Property using a Custom Action.
0 Comments
Leave a Reply. |