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: Background Image Error
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 06, 2008
07:12 AM
Background Image Error
I have converted by install from IS12 to IS2009 and now my background images are not displaying.
The code is as follows:
Enable( BACKGROUND );
switch (nvDy)
case 600:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-800x600.bmp";
case 768:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1024x768.bmp";
case 864:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1152x859.bmp";
case 1024:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1280x1024.bmp";
case 1200:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1600x1200.bmp";
default :
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1024x768.bmp";
endswitch;
PlaceBitmap (szBmpName, 10, CENTERED, CENTERED, CENTERED);
I have debugged my install and verified that the bitmap does exist in the support directory and the value of @BACKGROUND_IMAGE is correct, therefore the value of szBmpName is correct.
This code has not changed from IS12 and every time I run the install from IS12 the background image is displayed. However, I never get the background image displayed when I run the install from IS2009.
I am using a pure installscript project.
The code is as follows:
Enable( BACKGROUND );
switch (nvDy)
case 600:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-800x600.bmp";
case 768:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1024x768.bmp";
case 864:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1152x859.bmp";
case 1024:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1280x1024.bmp";
case 1200:
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1600x1200.bmp";
default :
szBmpName = SUPPORTDIR ^ @BACKGROUND_IMAGE + "-1024x768.bmp";
endswitch;
PlaceBitmap (szBmpName, 10, CENTERED, CENTERED, CENTERED);
I have debugged my install and verified that the bitmap does exist in the support directory and the value of @BACKGROUND_IMAGE is correct, therefore the value of szBmpName is correct.
This code has not changed from IS12 and every time I run the install from IS12 the background image is displayed. However, I never get the background image displayed when I run the install from IS2009.
I am using a pure installscript project.
(4) Replies
‎Aug 08, 2008
04:13 PM
I did some testing related to this, it looks like there is a break in IS2009, try calling Enable( FULLWINDOWMODE ) or Enable( DEFWINDOWMODE) after calling Enable( BACKGROUND ), the background should then display.
Let me know if this change causes any other problems for your setup as FULLWINDOWMODE isn't always the same as the default behavior when neither window mode is specified.
I don't have a tracking # on this issue yet, I will post when I do.
Devin Ellingson
Software Developer
Acresso Software
Let me know if this change causes any other problems for your setup as FULLWINDOWMODE isn't always the same as the default behavior when neither window mode is specified.
I don't have a tracking # on this issue yet, I will post when I do.
Devin Ellingson
Software Developer
Acresso Software
‎Aug 20, 2008
01:42 PM
Devin,
Thanks for the reply. The problem with the two modes is the background still shows in a window mode with the task bar shown. In the default, available previously, the background image would display on the entire screen without the window mode and task bar.
Has there been any progress with a tracking # yet? I had reported this to support, but I haven't gotten anywhere yet. They wanted my project file, but if looks like you were able to duplicate.
Thanks for the reply. The problem with the two modes is the background still shows in a window mode with the task bar shown. In the default, available previously, the background image would display on the entire screen without the window mode and task bar.
Has there been any progress with a tracking # yet? I had reported this to support, but I haven't gotten anywhere yet. They wanted my project file, but if looks like you were able to duplicate.
‎Aug 21, 2008
02:58 AM
The tracking # for this issue is IOC-000074327.
The attached ISRT.obl solves this problem. Install the file to the 'Script\ISRT\Lib' folder and rebuild the setup.
Important Note: Due to the way that MSI updates files during a patch, once you install this file, any later InstallShield service pack will not update this file even if the service pack contains a later version, therefore if in the future you install an InstallShield 2009 service pack, be sure to delete this file before installing the service pack.
Devin Ellingson
Software Developer
Acresso Software
The attached ISRT.obl solves this problem. Install the file to the 'Script\ISRT\Lib' folder and rebuild the setup.
Important Note: Due to the way that MSI updates files during a patch, once you install this file, any later InstallShield service pack will not update this file even if the service pack contains a later version, therefore if in the future you install an InstallShield 2009 service pack, be sure to delete this file before installing the service pack.
Devin Ellingson
Software Developer
Acresso Software