On 22/06/2021 3:21 pm, David Daigle wrote:
Still, if you want to do it anyway despite what I was saying, then it is
possible, within some constraints, as was explained in the other thread
you posted in.
1. Set Encryption=yes and Password=whatever
2. In InitializeWizard, perform your GET request and then set the
password via:
WizardForm.PasswordEdit.Text := ThePassword;
3. Don't try to hide the password page in the wizard. (You can edit the
[Messages] to show suitable descriptions.)
This way, if your request succeeds it will fill in the password (they
will be able to see the length but not the content) and they can just
click Next.
If your request fails then you can leave the field blank and if someone
happens to know the password they can still enter it manually; otherwise
they will not be able to continue.
This won't prevent someone using the app after you've removed the
password service, nor copying the installed files elsewhere on their own.