The uppercasing of PIDKEY is done by the ValidateProductID Windows
Installer Standard Action. The resulting property is ProductID.
Reflecting the uppercasing for the user seems a bit tricky.

So e.g. if you use

    <Property Id="PIDTemplate" Hidden="yes">
      <![CDATA[<^^^-^^^^-####>]]>
    </Property>

and type tes-ttes-1234

MSI (c) (D4:74) [15:28:06:444]: PROPERTY CHANGE: Modifying PIDKEY
property. Its current value is 'tes-ttes-    '. Its new value:
'tes-ttes-1234'.

Server ValidateProductID sets ProductID respondingly:

MSI (s) (0C:E4) [15:28:07:917]: Doing action: ValidateProductID
Action 15:28:07: ValidateProductID.
Action start 15:28:07: ValidateProductID.
MSI (s) (0C:E4) [15:28:07:918]: PROPERTY CHANGE: Adding ProductID
property. Its value is 'TES-TTES-1234'.
Action ended 15:28:07: ValidateProductID. Return value 1.

Alternatively you can sequence ValidateProductID to another place to
verify the PIDKEY after entering and before your CA to verify it.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to