Dialog Backgrounds
Dialog Backgrounds
Simple question really. Set up a simple project which has created a default set of dialogs. I now need to change the backgrounds of the dialogs, i.e. ones that have a side graphic, to that of the companies requirements. Is there a way of issue something an image or a setting that changes all the backgrounds to our requrements, without modifying every single dialog? If we have to modify every single dialog how do we do this, can not find how you can edit the background?
Re: Dialog Backgrounds
Dear penfold,
Dialog files contain their backgrounds, therefore it is not possible to change them all at once. Please note however that it is possible to load background images to dialogs at run-time. This way, you will be able to customize your backgrounds dynamically. I am attaching a tutorial on how to do this - how hope you find it helpful!
Dialog files contain their backgrounds, therefore it is not possible to change them all at once. Please note however that it is possible to load background images to dialogs at run-time. This way, you will be able to customize your backgrounds dynamically. I am attaching a tutorial on how to do this - how hope you find it helpful!
- Attachments
-
- dynamic%20pictures.docx
- (867.97 KiB) Downloaded 563 times
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Dialog Backgrounds
Hi there,
I have allready written in another post.
I have hte same problem.I know where to change the pictures manual but i need to change them at runtime.
I have tried this howto with several paths and several dialogs, but it doesnt work for me.
What am i doing wrong?
Looking forwared for any help in this
Martin
I have allready written in another post.
I have hte same problem.I know where to change the pictures manual but i need to change them at runtime.
I have tried this howto with several paths and several dialogs, but it doesnt work for me.
What am i doing wrong?
Looking forwared for any help in this
Martin
Re: Dialog Backgrounds
Dear Martin,
Please send me your project to support at installaware.com and I would be glad to look at it and let you know what you are missing!
Please send me your project to support at installaware.com and I would be glad to look at it and let you know what you are missing!
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Dialog Backgrounds
Thank you very much for the fast reply.
I have sent my project. It is an example project for now.
If it works we will work on with it.
I am looking forward to hear from you soon.
I have sent my project. It is an example project for now.
If it works we will work on with it.
I am looking forward to hear from you soon.
Re: Dialog Backgrounds
Dear MartinIW,
Here is whats likely causing your problem - the files that you load to the images are located on your development machine (c:\Images\*.jpg). However, when you deploy your installer and run it on a different machine, your installer will be looking for c:\images\*.jpg and fail (unless some how these files exist on the target machine). I created a Images folder on my machine, added your images to it and it worked.
What you should do add your images to the support files. These files are available to your installer when it runs, but are not locally saved on the target machine. Then, set your images to $SUPPORTDIR$\myimage.jpg and you are set. Let me know if you were successful!
Here is whats likely causing your problem - the files that you load to the images are located on your development machine (c:\Images\*.jpg). However, when you deploy your installer and run it on a different machine, your installer will be looking for c:\images\*.jpg and fail (unless some how these files exist on the target machine). I created a Images folder on my machine, added your images to it and it worked.
What you should do add your images to the support files. These files are available to your installer when it runs, but are not locally saved on the target machine. Then, set your images to $SUPPORTDIR$\myimage.jpg and you are set. Let me know if you were successful!
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Dialog Backgrounds
Dear Giaviv,
I have tried the way you said....even converted my .bmp to .jpg because i thought this was the problem.
The only thing i want to do is to set the image before the "Display Dialog". For this I called the image on the dialog exactly like the variable I use to store the path in.
I was shure I tried this before, but I tried with $SUPPORTDIR$\MyImage.bmp also as $SUPPORTDIR$MyImage.bmp or $SUPPORTDIR$\\MyImage.bmp. I tried calling my Imagebox without any underscore, because this may cause a problem. I tried compressed and uncompressed build. I tried without decission of my compiler-variable. It did not work in any case
Oh and it does not show any image ether on my developementmashine nor any other mashine.
What am I doing so wrong? May you send me a minimalistic samlpe or something?
I have InstallAware 9 R2 Admin and dont know if its only in InstallAware 10 possible?
Thanks in advance,
Martin
I have tried the way you said....even converted my .bmp to .jpg because i thought this was the problem.
The only thing i want to do is to set the image before the "Display Dialog". For this I called the image on the dialog exactly like the variable I use to store the path in.
I was shure I tried this before, but I tried with $SUPPORTDIR$\MyImage.bmp also as $SUPPORTDIR$MyImage.bmp or $SUPPORTDIR$\\MyImage.bmp. I tried calling my Imagebox without any underscore, because this may cause a problem. I tried compressed and uncompressed build. I tried without decission of my compiler-variable. It did not work in any case
Oh and it does not show any image ether on my developementmashine nor any other mashine.
What am I doing so wrong? May you send me a minimalistic samlpe or something?
I have InstallAware 9 R2 Admin and dont know if its only in InstallAware 10 possible?
Thanks in advance,
Martin
Re: Dialog Backgrounds
Dear Martin,
As it says in the tutorial, this is a new feature that was introduced in InstallAware 10. Therefore, it will not work on InstallAware 9...
As it says in the tutorial, this is a new feature that was introduced in InstallAware 10. Therefore, it will not work on InstallAware 9...
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Dialog Backgrounds
Oh OK,
I think I have made an mistake. Sorry for stealing your time in this case.
I think I have to talk with my teamleader about upgrading to InstallAware 10 then.
It does not make sense for me to copy all dialogs for our two products, when the next Version will have this feature included.
Thanks anyway,
Martin
I think I have made an mistake. Sorry for stealing your time in this case.
I think I have to talk with my teamleader about upgrading to InstallAware 10 then.
It does not make sense for me to copy all dialogs for our two products, when the next Version will have this feature included.
Thanks anyway,
Martin
Re: Dialog Backgrounds
Dear Martin,
No worries - happy to help.
No worries - happy to help.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 55 guests