-1

Hello I made an Inno Setup Script which has a custom uninstaller forms during uninstall of the program.

Those uninstaller forms are created by me according to the way described in this post(question):

But creating Custom Forms like that is looking bit bad because there is no way to display any kind of "IMAGE" in those.

I want to display one sameBitmap Image in all of my notebook pages whose displayed after pressing "Yes" to the message box Are you sure....?.

Displaying this in a Notebook Page is very hard.How can I do this?

My Bitmap Image should be in the bottom of the Notebook Page.

Thanks in Advance.

Community
  • 1
  • 1

1 Answers1

0

Put the image outside of the notebook and make sure the notebook does not cover the space reserved for the image. This is the way the installer wizard is implemented.

Or just clone the image on all pages.

To add a new image, use TBitmapImage.Create. See for example: inno setup bmp image appear on a single page

Community
  • 1
  • 1
Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
  • But I don't know how to apply image to it.When I try using `NotebookPage.WizardSmallBitmapImage` compiler error `"Unknown Identifier - WIZARDSMALLBITMAPIMAGE"` occurs. How can I apply image?Any example code to do so? –  Jul 03 '16 at 08:28
  • But `TBitmapImage.Create` is only supported for the WizardForms.I created a `NotebookForm` and not a `WizardForm` ! –  Jul 03 '16 at 08:59
  • That's not true. Did you try? – Martin Prikryl Jul 03 '16 at 09:01
  • Yes ..........I created my additional three forms using the function : `function CreateNotebookForm: TSetupForm;`.I need to display .BMP in this form (`NotebookForm`).But how can I do it? I don't know how to use `TBitmapImage.Create` in a `NotebookForm`.Please tell me how. –  Jul 03 '16 at 09:04
  • The same way as every where else, just make the custom form an owner of the image (by passing the form to the `.Create`) and set the `.Parent` properly (the form itself or the notebook). I cannot be more concete as your question is still quite uncler and you didn't show us any code. – Martin Prikryl Jul 03 '16 at 09:14