[wix-devs] Question: Issue 5334
bob at firegiant.com
Thu Jul 7 15:41:07 PDT 2016
A: AFAIK, yes.
B: As in the Uninstall key? AFAIK, the bundle id can never be authored.
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Thursday, 7 July, 2016 17:22
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: [wix-devs] Question: Issue 5334
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?
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-devs