![]() |
#1 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Wierd
Something has just started to my sections. The first section is never selected, even though I have told it to...
.onInit code: .onSecChange code: The SecBSPnew should start selected but never does. I then have to click on it twice to select it. It just started happening, and I have no idea why. I just had 2 sections above it that I removed, but they were nothing to do with it. -Stuart ![]() |
![]() |
![]() |
![]() |
#2 |
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
did you include:
code: At the top of your script? * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Also, is it possible to rename directories
I'd like to rename $7\textures to $7\texturesx -Stuart |
![]() |
![]() |
![]() |
#4 | |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Quote:
That just has the different section defines I've got them in my script instead... !define SF_SELECTED 1 !define SF_RO 16 !define TEMP_SET 16+1 !define SECTION_OFF 0xFFFFFFFE It wouldn't make any difference anyway. -Stuart |
|
![]() |
![]() |
![]() |
#5 | |
Major Dude
|
Quote:
[/quote]Quote from documentation 3.8.1.6 Rename Rename source_file to dest_file. Functions just like the Win32 API MoveFile, which means you can move a file from anywhere on the system to anywhere else, and you can move a directory to somewhere else on the same drive. If /REBOOTOK is specified, and the file cannot be overwritten, then the file is moved when the system reboots -- if the file will be moved on a reboot, the reboot flag will be set. The error flag is set if the file cannot be renamed (and /REBOOTOK is not used) or if the source file does not exist. Example: PHP Code:
|
|
![]() |
![]() |
![]() |
#6 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Ok thanks, I used that but it never seemed to work.
Anyhow... Here is a small script to change the font of the Log Window Text, but it doesn't seem to work... code: What have a done wrong? -Stuart |
![]() |
![]() |
![]() |
#7 |
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Hey! I fixed it:
code: I'm using the modern UI... If not, use code: helps? ![]() * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
![]() |
![]() |
![]() |
#8 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Thanx dude
![]() I'll put it up on the Archive (written by you of course ![]() -Stuart |
![]() |
![]() |
![]() |
#9 |
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
I'm going to write the code for the uninstaller log window, too.
Shouldn't be a problem (I hope ![]() * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
![]() |
![]() |
![]() |
#10 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I still can't get the Components problem fixed...
Just doesn't make sense why it isn't working. -Stuart |
![]() |
![]() |
![]() |
#11 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Since I removed 2 old sections before it started playing up, I added 2 fake ones back:
code: It has fixed it completely. Very strange! -Stuart |
![]() |
![]() |
![]() |
#12 |
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
About the LogFont in the uninstaller, done
![]() code: yupi ![]() * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
![]() |
![]() |
![]() |
#13 |
Major Dude
|
I discovered a bug in System.nsh (in folder Modern UI):
These !defines aren't working: !define MUI_UNCUSTOMFUNCTION_INSTFILES_PRE !define MUI_UNCUSTOMFUNCTION_INSTFILES_SHOW !define MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVE The "{MUI_UNCUSTOMFUNCTION_INSTFILES_PRE}", "{MUI_UNCUSTOMFUNCTION_INSTFILES_SHOW}" and "{MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVE}" are laking a $ before these, here is the code that have this bug (quote from System.nsh): PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#14 |
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Thanks. Fixed
![]() |
![]() |
![]() |
![]() |
#15 |
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
no wonder...
![]() * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
![]() |
![]() |
![]() |
#16 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Afrow and deguix, please attach huge scripts or edit them to show only the relative contents. It's impossible to read forum threads when they are filled with dozens of lines of code.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|