|
|
#1 |
|
Junior Member
Join Date: Nov 2005
Location: G.D. Luxembourg
Posts: 6
|
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 |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
You could try an absolute path, such as:
!define MUI_UI "${NSISDIR}\contrib\uis\MyModern.exe" or just: !define MUI_UI "MyModern.exe" "Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2005
Location: G.D. Luxembourg
Posts: 6
|
That is what I tried first, without success :-(
Any other idea ? |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
There's more than one rectangle that must be resized.
-Stu |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2005
Location: G.D. Luxembourg
Posts: 6
|
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 |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Nov 2005
Location: G.D. Luxembourg
Posts: 6
|
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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|