[RESOLVED] Inno Setup + Form Designer: Embed .BMP ??How
Hello,
I created a form with the ISFD (Inno Setup Form Designer). Its all ok and implemented, except there is a problem.
The form has PICTURES, but i cant get them to be EMBEDDED inside the setup, but instead need to be extracted before the setup is run!
E.g
Code:
picDefault.Bitmap.LoadFromFile(ExpandConstant('{src}\Pics\Default.bmp'));
Is there a way to EMBED the picture inside INNO?
Re: Inno Setup + Form Designer: Embed .BMP ??How
What exactly do you mean Embed inside Inno?
BTW: Show your script...
Re: Inno Setup + Form Designer: Embed .BMP ??How
Basically instead of loading the IMAGE from the HD!
but be able to embed it without extracting the images to the HD, and add it as a resource like in VB. You can add resource files!
Currenty I have another setup which extracts the images in to the TEMP folder, then it runs the INNO SETUP.
And to load the images i use.
Code:
picDefault.Bitmap.LoadFromFile(ExpandConstant('{src}\Pics\Default.bmp'));
So basically Im looking for an alternative to .LOADFROMFILE...
maybe .LoadfromResource ?
Re: Inno Setup + Form Designer: Embed .BMP ??How
Let's see your Installation script. You should be able to include the images in your installation scriot and extract them to a temp folder just when you need them.
Re: Inno Setup + Form Designer: Embed .BMP ??How
Never mind ..all done... : )
Basically i made Inno Extract the images to temp, instead of having an External App do it ...
Re: [RESOLVED] Inno Setup + Form Designer: Embed .BMP ??How
Hmmm.... Now where have I heard that before....