cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Andreus
Level 3

Skin Customisation with InstallScript

Jump to solution

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...


0 Kudos
(1) Solution
Andreus
Level 3

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.

View solution in original post

0 Kudos
(2) Replies
Andreus
Level 3

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.

0 Kudos
Andreus
Level 3

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.

0 Kudos