|
-
Jul 4th, 2007, 07:23 AM
#1
Thread Starter
Frenzied Member
[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?
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Jul 4th, 2007, 05:39 PM
#2
Re: Inno Setup + Form Designer: Embed .BMP ??How
What exactly do you mean Embed inside Inno?
BTW: Show your script...
Last edited by randem; Jul 4th, 2007 at 05:43 PM.
-
Jul 5th, 2007, 08:37 AM
#3
Thread Starter
Frenzied Member
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 ?
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Jul 5th, 2007, 01:08 PM
#4
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.
-
Jul 6th, 2007, 10:11 AM
#5
Thread Starter
Frenzied Member
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 ...
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Jul 6th, 2007, 12:08 PM
#6
Re: [RESOLVED] Inno Setup + Form Designer: Embed .BMP ??How
Hmmm.... Now where have I heard that before....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|