Old 18th October 2006, 09:33   #1
dvanesse
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
dvanesse is offline   Reply With Quote
Old 18th October 2006, 20:20   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
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
JasonFriday13 is offline   Reply With Quote
Old 19th October 2006, 15:28   #3
dvanesse
Junior Member
 
Join Date: Nov 2005
Location: G.D. Luxembourg
Posts: 6
That is what I tried first, without success :-(

Any other idea ?
dvanesse is offline   Reply With Quote
Old 19th October 2006, 16:34   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
There's more than one rectangle that must be resized.

-Stu
Afrow UK is offline   Reply With Quote
Old 20th October 2006, 03:29   #5
dvanesse
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
dvanesse is offline   Reply With Quote
Old 20th October 2006, 09:50   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 20th October 2006, 12:08   #7
dvanesse
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.
dvanesse is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump