[wix-devs] Question: Issue 5334

Hoover, Jacob Jacob.Hoover at greenheck.com
Thu Jul 7 14:22:04 PDT 2016


Rob/Bob,
  My prior bundle enumeration function was using the provider key for the bundle to get the bundle id, which was in error if a user specified a different provider.  Now I have 2 questions with regards to my proposed fix, which are:

A)     Is it safe to simply use the key returned from the enumeration as the bundle id?  This seems logical, however I had restricted the ID to be a string representing a GUID as that's all WiX normally supports.

B)      Since Microsoft decided to be different, their implementation allows for custom ID's, which are sometimes not GUID's.  In some instances they are named keys, and in other instances they are GUID keys, with a KB number appended at the end.  Should WiX's API support reading from these, and if so is it allowable to modify the signature of the enum method to not restrict the length of the ID, and instead if the provided buffer is too small return ERROR_MORE_DATA?

Thanks,
Jacob



More information about the wix-devs mailing list