dvanesse
18th October 2006 10:33 UTC
InstallOptions and modified modern.exe not working
Hi,
because of a huge text to be displayed in an InstallOptions dialogue, I have made a copy of modern.exe (named MyModern.exe) and modified the dialogue 105 (I used ExeScope to change the window and 1044 rectangle sizes).
I have added the following statement to my script
!define MUI_UI ".\MyModern.exe" and I have specified "Rect=1044" in my .ini file
However, no change is taken into account when I compile my script (and no errors are reported): the 1044 rectangle still have the default size at run-time.
Can anybody advise or post a working example ?
Many thanks in advance
Daniel
JasonFriday13
18th October 2006 21:20 UTC
You could try an absolute path, such as:
!define MUI_UI "${NSISDIR}\contrib\uis\MyModern.exe"
or just:
!define MUI_UI "MyModern.exe"
dvanesse
19th October 2006 16:28 UTC
That is what I tried first, without success :-(
Any other idea ?
Afrow UK
19th October 2006 17:34 UTC
There's more than one rectangle that must be resized.
-Stu
dvanesse
20th October 2006 04:29 UTC
Could anybody send me (or post) a working example of a modified modern.exe file I can use for test purposes or as an example?
Many thanks in advance
kichik
20th October 2006 10:50 UTC
Are you using a header image? If you are, you have to change modern_headerbmp.exe and/or modern_headerbmpr.exe, because 105 from those is used for displaying header images.
dvanesse
20th October 2006 13:08 UTC
Yes i am using a hearder image and I have not modified all the modern _xxxx exe files.
Thanks for the advice, I will try.