Okay. It took quite a while to get some results, but I've finally managed to get the properties to not pass from the UI sequence to the Execute sequence. The key factor seems to be whether or not you're prompted to elevate your privileges during the install.
On Vista, you're almost always prompted for an administrator's credentials if you're not an admin and if you're already an admin, you've already got the access. Once the privileges are elevated, I haven't seen any problems with properties passing from UI to Execute. This is without the Secure attribute. However, if you're not prompted, then a property called "RestrictedUserControl" is set to "1", which tells the installer to only pass properties listed in the SecureCustomProperties list to the Execute sequence. To not be prompted, you can set the AlwaysInstallElevated value in the Registry to "1" or do an advertised installation from a file share. I did the former and haven't tested the latter, but it seems that that's how it would work. Anything to prevent Vista from explicitly elevating your privileges. So, without setting a property as secure, I now see this happening (after setting AlwaysInstallElevated to "1"): MSI (s) (C8:BC) [23:49:58:906]: Machine policy value 'EnableUserControl' is 0 MSI (s) (C8:BC) [23:49:58:906]: PROPERTY CHANGE: Adding RestrictedUserControl property. Its value is '1'. MSI (s) (C8:BC) [23:49:58:906]: Ignoring disallowed property MYPROPERTY Awesome. I've created a scenario where the Secure attribute is needed just like I wanted. Matt, is your situation different? Yours happened on uninstall. Is any of this similar? Do you try to prevent the user from being prompted to elevate their privileges? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Property-Secure-when-to-use-tp4982590p4995282.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users