This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Dynamically Change Banners and Images?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
01:52 AM
Dynamically Change Banners and Images?
Hi all,
Is there a way that I can dynamically change the Banner and Images(please, refer to the attachment) that shows up in my MSI?
I know the static way to change them, but I'd like there is a more dynamical way such as during the runtime of the MSI, my MSI can find the external images through some kind of manifest file and then replace the original MSI banner or sidebars.
Is that possible?
Many thanks.
Is there a way that I can dynamically change the Banner and Images(please, refer to the attachment) that shows up in my MSI?
I know the static way to change them, but I'd like there is a more dynamical way such as during the runtime of the MSI, my MSI can find the external images through some kind of manifest file and then replace the original MSI banner or sidebars.
Is that possible?
Many thanks.
(11) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
05:35 AM
Hi Blueeberry, I think that is the static way ussraf is mentioning.
I presume what he is interested in, is changing the images runtime.
I.e. more or less like billboards or based on some condition.
I presume what he is interested in, is changing the images runtime.
I.e. more or less like billboards or based on some condition.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
07:49 AM
ericpaul wrote:
Hi Blueeberry, I think that is the static way ussraf is mentioning.
I presume what he is interested in, is changing the images runtime.
I.e. more or less like billboards or based on some condition.
Yeah, eric. I'd like the runtime way. Something like a runtime skin, for our product shall ship with different branded super products.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
09:55 AM
You can add all the bitmaps to the binary table and set the Text column in the Control table to use a public property. You can then set that property at runtime to one of the bitmaps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2009
08:24 AM
Marwan wrote:
You can add all the bitmaps to the binary table and set the Text column in the Control table to use a public property. You can then set that property at runtime to one of the bitmaps.
Yeah, Marwan, this is great idea, but I wonder if an external image can be provided that we can easily change to an arbitrary banner to sidebar?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2009
11:05 AM
You can try streaming the bitmap from file into the binary table at runtime.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2009
08:01 AM
Marwan wrote:
You can try streaming the bitmap from file into the binary table at runtime.
Thanks and I'll try..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2009
07:15 AM
Hi Marwan,
I tried above scenario in BasicMSI project, Bitmap files are added in to the Binary table and not able to change the property name in Binary table , please explain the scenario ..
I tried above scenario in BasicMSI project, Bitmap files are added in to the Binary table and not able to change the property name in Binary table , please explain the scenario ..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2009
08:14 AM
palanisamy wrote:
Hi Marwan,
I tried above scenario in BasicMSI project, Bitmap files are added in to the Binary table and not able to change the property name in Binary table , please explain the scenario ..
I think Marwan means runtime change the binary content in Binary table. Although I didn't had a chance to try this, but looks Msi provides some database functions allow changing the binary record content. However, to do this I guess I need the setup.exe to do something since my msi is compressed in setup.exe, so maybe a way to do this is I extend InstallShield setup.exe to change the extracted MSI binary at runtime, not sure if that will work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2009
08:24 AM
Or just have a custom action that runs first and it modifies the binary table.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2009
08:32 AM
Marwan wrote:
Or just have a custom action that runs first and it modifies the binary table.
Ha, that's really much better!! Never expected a custom action has so big power and privilege.
I'm still very new.. 😄
