Generating GUIDs during setup

30 views
Skip to first unread message

Scott Zeller

unread,
Oct 21, 2021, 10:50:29 PM10/21/21
to inno...@googlegroups.com

I saw this post about generating GUIDs with CoCreateGuid, but it gives me the same GUID ({12345678-1234-1234-1212-121212121212}) every time. Is there a better way to generate GUIDs during setup?

 

 

Gavin Lambert

unread,
Oct 22, 2021, 1:52:06 AM10/22/21
to inno...@googlegroups.com
On 22/10/2021 15:50, 'Scott Zeller' wrote:
> I saw this post
> <https://stackoverflow.com/questions/1347083/how-to-generate-a-new-guid-in-inno-setup>
> about generating GUIDs with CoCreateGuid, but it gives me the same GUID
> ({12345678-1234-1234-1212-121212121212}) every time. Is there a better
> way to generate GUIDs during setup?

CoCreateGuid would never create such a GUID.

Are you sure you didn't just leave some test code in instead of actually
calling CoCreateGuid?
Reply all
Reply to author
Forward
0 new messages