[wix-users] [WiX-users] SecureCustomProperties and Merge module

Reuss, Matthias matthias.mr.reuss at sivantos.com
Wed Jul 11 07:09:13 PDT 2018


I am aware that I am responding to a very old thread, but unfortunately I didn't find newer ones for this topic.

First of all: I do not think a type 51 custom action will not help to make those properties that have been declared secure in the merge modules really secure. This is because of timing:

SecureCustomProperties must be evaluated at the time the MSI is opened (because they determine which command-line parameters are accepted), whereas any type 51 CA is executed much later (in the sequences).

At this evaluation time, SecureCustomProperties is the "original" string regardless of whether or not a type 51 CA will modify it later.

I too consider this behaviour to be a bug, since it prevents defining command-line-settable
 Properties in a merge module.

Best regards


-----Ursprüngliche Nachricht-----
Von: kirannhegde [mailto:kirann.hegde at gmail.com] 
Gesendet: Mittwoch, 7. Januar 2015 10:14
An: wix-users at lists.sourceforge.net
Betreff: [WiX-users] SecureCustomProperties and Merge module


I declare a property in a merge module and mark it as Secure. However, when the final MSI is built , i observe that  the property is not appended to the SecureCustomProperties in the Property table.

As per the following  pages:


this is not supported by windows installer.

I have also read that the above can be achieved by making use of a type 51 custom action.
Can anyone elaborate on this approach?

Any help would be very much appreciated.

Kiran Hegde

View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SecureCustomProperties-and-Merge-module-tp7598747.html
Sent from the wix-users mailing list archive at Nabble.com.

Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________
WiX-users mailing list
WiX-users at lists.sourceforge.net

More information about the wix-users mailing list