Code on uninstall...

38 views
Skip to first unread message

pbianchi

unread,
Apr 22, 2024, 3:49:52 PMApr 22
to innosetup
Hi.

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? 

TKS!

Eivind Bakkestuen

unread,
Apr 22, 2024, 9:34:24 PMApr 22
to inno...@googlegroups.com
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 innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/6c81d728-ff63-4cd0-a478-a38a330a1efdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages