Code on uninstall...

Skip to first unread message


Apr 22, 2024, 3:49:52 PMApr 22
to innosetup

I need to create a mechanism that if the user tries to uninstall the software it opens a dialog to type the pwd and the same for the sillent mode. Passing it by parameter.

And the logic I already have on c# and need to convert it to pascal... I tried on chatgpt but it says the needed to using 3rd component like indy...

I need these 2 funcs in inno pascal:

GetComputedSha256Hash and ConvertKeyToValidate.

So after both will be compared to match.

Logger (log4net) can be ignored on the code.

Could you help me please? 


Eivind Bakkestuen

Apr 22, 2024, 9:34:24 PMApr 22
You know, in ChatGPT, you can also specify that you want the target  to be Inno Setup Pascal Script...

However, the AI makes things up on the spot that doesn't exist, so a good place for you to start is to study the list of support functions in Inno. There are already functions for Sha256.

You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages