Summary
Details a style setting change starting with InstallShield 2014.
Synopsis
Starting with InstallShield 2014, support for DPI-Aware installations was added. This feature may affect your project if you are migrating a older project and this knowledge base article will explain what you can do about it.
Discussion
In pre-2014 versions of InstallShield, the default windows styles setting for a bitmap control are:SS_CENTERIMAGESS_REALSIZEIMAGE
Under these settings, the bitmap would display correctly when running on a machine that is set to DPI 100% scaling. Furthermore since older versions of InstallShield were not creating setups marked as DPIAware, Windows would scale the entire contents of a dialog to match the current DPI setting.
Starting with InstallShield 2014, setups are now marked DPIAware and Windows will now draw individual controls on the dialogs in a scaled up manner (...resulting in the dialog layout possibly changing), as opposed to stretching the dialog itself. As a result, window styles on bitmap controls are affected by this change and no longer work the same way.
Now all built in (non-edited/DPI aware) InstallScript dialogs mark image controls with the windows style setting of SS_REALCONTROLSIZE to ensure the images are scaled to image controls correctly. If a migrated project contains any edited dialogs, those edited dialogs will continue to use the old window styles settings as mentioned above.
Workaround
If your windows style settings are still set to:SS_CENTERIMAGESS_REALSIZEIMAGE
...you can change the windows style setting for the bitmap control such that the only selected style is:SS_REALSIZECONTROL
...and this should allow the bitmap to be scaled to fit.
Related Articles
Making a Control Over a Bitmap Visible on MSI Dialog 4Number of Views Change Dialog Box Bitmaps 9Number of Views Dialog Control Is Covered by the Background Bitmap 4Number of Views Change the Bitmap in SdWelcome, SdFinish, and SdFinishReboot in Visual Studio 4Number of Views How To Set the Visual Studio Environment settings for the FlexNet Publisher Toolkit Builds On Windows 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago