CNDL0019

3 messages Options
Embed this post
Permalink
Markus KARG

CNDL0019

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Blair-2

Re: CNDL0019

Reply Threaded More More options
Print post
Permalink
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:[hidden email]]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Markus KARG

Re: CNDL0019

Reply Threaded More More options
Print post
Permalink
Blair,

thank you very much for your detailed explanation. Now I understand what the
problem is. :-)

I just filed a proposal
https://sourceforge.net/tracker/?func=detail&aid=2890852&group_id=105970&ati
d=642717 to add your explanation to the WiX documentation.

Thanks
Markus

> -----Original Message-----
> From: Blair [mailto:[hidden email]]
> Sent: Montag, 2. November 2009 10:09
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] CNDL0019
>
> 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:[hidden email]]
> 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
> [hidden email]
> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users