- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Skin Customisation with InstallScript
- 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
I've got a task to change visual style in our InstallScript based installer.
Skin Customisation Kit has one page manual and two samples.
According to manual Skin includes filled rectangles, images, buttons.
Default dialog has to be of size 460x305 dialog units.
Image Positions(described as offset) measured down-right in dialog units from top
leftmost dialog corner, I guess.
My first idea was just use one bitmap of proper size to replace all dialog background.
It doesn't work. Skin of one bitmap silently generates Zero size .isn file. Why?
No explanation but both samples use 3 images (top,left,bottom).
Description on image placement is 4 lines
IMAGES=n (number of images)
IMAGEx=file name of image
IMAGExPOS=x offset,y offset (in dialog units)
IMAGExOPT=TRANSPARENT, SCALE, VCENTER, HCENTER, UPPER_LEFT, UPPER_RIGHT, LOWER_LEFT, LOWER_RIGHT (pick any)
So does anyone knows what exactly VCENTER, HCENTER, UPPER_LEFT, UPPER_RIGHT, LOWER_LEFT, LOWER_RIGHT mean and what is IMAGExPOS offset is relative to?
Can I place more or less than 3 images?
Is image ordering important?
Can I use negative image offset?
Can I place image over filled rectangle?
Please help - support is extremely slow...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
So the key point is IMAGExOPT.
Any of UPPER_LEFT, UPPER_RIGHT, LOWER_LEFT, LOWER_RIGHT designate dialog corner where offset 0,0 is placed for. Offset is positive from corner choosen to the dialog center.
If you choose UPPER_RIGHT the offset shows how upper right corner of image shifted relative to upper right corner of dialog.
Answers for my questions above.
Can I place more or less than 3 images? - Yes
Is image ordering important? - Yes. Image number is actually Z-orger. Last one is topmost.
Can I use negative image offset? Yes! Actual for VCENTER and HCENTER, but works generally.
Can I place image over filled rectangle? Images is Always placed over("above") all rectangles. Rectangle number is it's Z-order.
I hope it helps someone.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
InstallShield technical support can't solve simplest case for a week. It looks I help them to learn how their product functions. No reply for several days even for High level case. I have to spend my time for guess and try game due to pure doc. But I finally got the knowlege.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
So the key point is IMAGExOPT.
Any of UPPER_LEFT, UPPER_RIGHT, LOWER_LEFT, LOWER_RIGHT designate dialog corner where offset 0,0 is placed for. Offset is positive from corner choosen to the dialog center.
If you choose UPPER_RIGHT the offset shows how upper right corner of image shifted relative to upper right corner of dialog.
Answers for my questions above.
Can I place more or less than 3 images? - Yes
Is image ordering important? - Yes. Image number is actually Z-orger. Last one is topmost.
Can I use negative image offset? Yes! Actual for VCENTER and HCENTER, but works generally.
Can I place image over filled rectangle? Images is Always placed over("above") all rectangles. Rectangle number is it's Z-order.
I hope it helps someone.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)