All advertised entries (CLSID, ProgId, Shortcuts) are implemented via a mechanism that places an encoded version of the ProductCode, ComponentCode, and FeatureId into the entry-point. A "health check" is made of the indicated feature, and after it runs (possibly repairing, if needed) the keypath of the indicated component is then called.
TargetProperty doesn't point to the component's keypath. It points to some arbitrary binary instead. There is no place for Windows Installer to encode that into the three fields listed above. If you want to point to some arbitrary code (that you may not have installed) somewhere, you have to us an unadvertised entry. It would be up to the code at that entry to check for your code (using MsiProvideComponent()) to obtain the benefits associated with advertised entry points. -----Original Message----- From: Markus Karg [mailto:markus.k...@gmx.net] Sent: Sunday, November 01, 2009 10:05 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] CNDL0019 I have a question on Verbs. "Error CNDL0019 : The Verb/@TargetProperty attribute cannot be specified because the element is advertised." The WiX manual does not say *why* I cannot use Verb/@TargetProperty with advertised ProgIDs. (1) Why can't I use this combination? (2) What program will the computer execute when invoking this verbs of adverties ProgIDs? (3) How to tell the computer that it shall execute a particular (already installed) EXE instead of anything that comes with my .msi file? Thanks Markus ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users