HI ALL...
My project is installscript under installshield 2010, I add billboards to project in "Support Files/billboards" --> language independent.
Well now i enable "OnShowUI" background but when in run the setup, i see the dialog welcome and in background is set to color "green".
Please, anyone known to hide this background green? and then when install you only see the billboard and not the background green?
thanks... i attached the image for sample.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
how to hide a background window!!!
Started by
thanatos83
, Mar 09 2010 00:37
7 replies to this topic
Posted 09 March 2010 - 11:03
From the help:
QUOTE |
Billboards are displayed in InstallScript and InstallScript MSI installations only if a background window is enabled. |
This means, the background window is required (the billboards are displayed on the background window).
You can however change the color of the background window using the SetColor(BACKGROUND,RGB (..., ..., ...)) function.
Stefan Krüger
InstallSite.org twitter facebook
Posted 09 March 2010 - 12:18
Hi Stefan !
That's correct, the requisite to show billboard is enable background... so i think the only way to show properly billboards is to resize the background and show billboard on center screen...
I'll prove it, and finally show billboard with the same size as the main background so this background its behind and only i see the billboard.
but the problem is the billboard shows at UPPER_LEFT corner and i set to CENTERED but when installing files disapeared billboard. :S
// To place billboard.
Enable (BACKGROUND);
SizeWindow (BACKGROUND, 800, 600);
PlaceWindow (BACKGROUND, CENTERED, CENTERED, CENTERED);
That's correct, the requisite to show billboard is enable background... so i think the only way to show properly billboards is to resize the background and show billboard on center screen...
I'll prove it, and finally show billboard with the same size as the main background so this background its behind and only i see the billboard.
but the problem is the billboard shows at UPPER_LEFT corner and i set to CENTERED but when installing files disapeared billboard. :S
// To place billboard.
Enable (BACKGROUND);
SizeWindow (BACKGROUND, 800, 600);
PlaceWindow (BACKGROUND, CENTERED, CENTERED, CENTERED);
Posted 09 March 2010 - 18:04
Based on your desired results, I would say you're using the wrong approach.
Billboards are displayed during the file transfer process whereas a Splash Screen is displayed throughout the installation.
Therefore, I would see about see switching approaches. Hope it helps.
Billboards are displayed during the file transfer process whereas a Splash Screen is displayed throughout the installation.
Therefore, I would see about see switching approaches. Hope it helps.
Posted 10 March 2010 - 00:39
Hi Taco !
You refer the function "OnMoving" ?
So i prove this:
You refer the function "OnMoving" ?
So i prove this:
CODE |
// Moving data Enable( BACKGROUND ); SetColor( BACKGROUND, RGB( 0, 128, 128 ) ); SizeWindow (BACKGROUND, 800, 600); PlaceWindow (BACKGROUND, 0, 0, CENTERED); |
Well, when installing files, has the same issue at UPPER_LEFT corner. PlaceWindow does not move background to center screen :S
I don't know how to fix this... because i think the metod of show splash screen is the correct to do.
Sorry i confused :S
Edited by thanatos83, 10 March 2010 - 01:10.
Posted 10 March 2010 - 15:26
It would seem like you need to use PlaceWindow to move the billboard and not the background, but again, I think you'd have better results with the splash screen.
Posted 10 March 2010 - 20:49
Hi Taco, finally i get to show a billboard in foreground and the green background is behind.
The problem was that i needed to use (GetExtents) to take the ratio from screen and then resize the resolution.
After this, I fixed the position of background and billboard to centered.
So if you divide the ratio from screen (x and y) to /2, you get center the screen...
this is really?
Thanks for help
The problem was that i needed to use (GetExtents) to take the ratio from screen and then resize the resolution.
After this, I fixed the position of background and billboard to centered.
So if you divide the ratio from screen (x and y) to /2, you get center the screen...
this is really?
Thanks for help