SecureCustomProperties in a merge module has always been a problem for InstallShield. It doesn't properly merge all the properties into a single property. Frankly I wish MSI had allowed for SecureCustomProperties.Guid ( starts with SecureCustomProperties) to allow for easier merging and use at runtime. I'm not sure how WiX merges these at build time because I've never done it. With InstallShield we had a precompression build event that updated the property before finalizing the MSI.
---------------------------------------- From: "Peter Shirtcliffe" <pshirtcli...@sdl.com> Sent: Thursday, October 04, 2012 7:05 AM To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] Question about Properties and Custom Actions A secure (think "trusted") property is one that can be passed from the UISequence or command line to the execute sequence where presumably it will have some effect on the changes made to the system. Secure properties must be public. A public property is one that is visible to a user and can be changed in the UI or on the command line or by a custom action. You can use MsiSetTargetPath() in your custom action to update an existing directory Id. That would more closely model your intent and requires less code. -----Original Message----- From: Peter Hull [mailto:peterhul...@hotmail.com] Sent: 04 October 2012 12:33 To: WiX Users Subject: [WiX-users] Question about Properties and Custom Actions I'd just like a bit of advice/clarification on property types and CAs. If I write a CA to fetch a folder location from the OS (to be used like 'ProgramFilesFolder') then I need to set a property (correct?) If I use a private property I have to give it a 'default' value which is overwritten by the CA - but then I always get ICE48. So do I have to use a secure public property? This seems OK but I'm not sure (despite having read the docs!) I understand the nuances of secure public properties vs. private properties when it comes to elevated installs - could someone please explain it in a sentence or two? Thanks Pete ---------------------------------------------------------------------------- - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ---------------------------------------------------------------------------- -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users