Showing external bitmap in the install dialog
Posted: Fri Nov 17, 2006 4:24 am
Hi,
I wonder, if it would be possible to display a bitmap in the installation user interface, which is not "fixed". What I mean is that this bitmap is not defined during design time of the dialog, rather I would read it by the script (if possible) and set it to the image control of the dialog.
If this is not possible, is there maybe an alternative way to provide a DFM file as an external file, and call "Display Dialog" for this DFM (which is not included as the installation dialog)?
I came to this second idea, because it is possible to build a script using a "Display dialog" command, that has an "invalid" dialog name - one that does not exist in the project.
Why I need this? My intention is to have one installer (built, tested, etc.), and by providing an additional file on the same location (bitmap file or DFM file), the install script would slighthly "customize" the appearance of the installation - show this bitmap or dialog during installation. This allows me to make "customized" installers without haveing to rebuild the original one.
Any hint woul dbe welcome.
Thanks
Andrej
I wonder, if it would be possible to display a bitmap in the installation user interface, which is not "fixed". What I mean is that this bitmap is not defined during design time of the dialog, rather I would read it by the script (if possible) and set it to the image control of the dialog.
If this is not possible, is there maybe an alternative way to provide a DFM file as an external file, and call "Display Dialog" for this DFM (which is not included as the installation dialog)?
I came to this second idea, because it is possible to build a script using a "Display dialog" command, that has an "invalid" dialog name - one that does not exist in the project.
Why I need this? My intention is to have one installer (built, tested, etc.), and by providing an additional file on the same location (bitmap file or DFM file), the install script would slighthly "customize" the appearance of the installation - show this bitmap or dialog during installation. This allows me to make "customized" installers without haveing to rebuild the original one.
Any hint woul dbe welcome.
Thanks
Andrej