I have a PIDTemplate of

<&&&&&-&&&&&-&&&&&-&&&&&-&&&&&>

But  <Publish Event="ValidateProductID" Value="[PIDKEY]">1</Publish> doesn't
properly validate my key if it contains numbers.  My Product Keys an be a
mix of uppercase letters and numbers w/o any restrictions on a specific
field.

What template can I use that will only validate if the input is restricted
to 1234567890 or ABCDEFGHIJKLMNOPQRSTUVWXYZ?

I suspect the only way I'm going to be able to do this is to create a custom
action that does the validation.  Intuitively it seems that a template based
validation should support this simple use-case though.  Any ideas?

I'm still using Wix 2.0 on this project.

As a side note, If anyone has any examples, I'd really love to see some
advanced examples of the PIDTemplate stuff documented in MSDN included in
the WIX docs.  The MSDN notes are at
http://msdn.microsoft.com/en-us/library/aa369797%28VS.85%29.aspx

Thanks for the help.
Craig


-- 
Craig Miller
Geospatial Software Architect
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to