|
|
#41 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#42 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
4.8.1.21 InstallDir:
"Sets the default installation directory is." remove is (doh) IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#43 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#44 |
|
Junior Member
Join Date: Jun 2005
Posts: 21
|
4.9.14.5 FindWindow
FIndWindow $0 "my window class" "my window title" It should be Findwindow |
|
|
|
|
|
#45 |
|
Senior Member
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
|
4.9.14.1 BringToFront
... If the user if working with another ... I think it should be - If the user is working |
|
|
|
|
|
#46 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#47 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
4.7.2.1.6 .onMouseOverSection
STR: prefix is missing from lparam (in example code) the docs also needs to be more clear about the description label, eg you actually have to use resource hacker to add a label (or use a existing label like in the ugly hack i did here: http://www.rafb.net/paste/results/XTG9Pd58.html ) IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#48 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#49 | |
|
Senior Member
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
|
And what about
Quote:
This code work fine: code: Is this typo, or NSIS bug, or I misunderstood something in docs? |
|
|
|
|
|
|
#50 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Just a relic from the old days when variables were case sensitive. Fixed, thanks.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#51 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
This isn't really an issue with the manual, but I noticed that there's no shortcut to the InstallOptions manual in the start menu shortcuts group.
Or is it just me? -Stu |
|
|
|
|
|
#52 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#53 | |
|
Major Dude
|
file:
INSTALL Quote:
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
|
#54 |
|
Join Date: Sep 2003
Posts: 27,873
|
Appedix?
![]() -daz |
|
|
|
|
|
#55 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
In the modern UI readme, under 3. Pages > Page Settings > Finish Page Settings > MUI_FINISHPAGE_RUN_FUNCTION:
Call a function instead of executing an application (define MUI_FINISHPAGE_RUN without parameters). You can use the function to exectute multiple applications or you can change the checkbox name and use it for other things. -Stu |
|
|
|
|
|
#56 | |
|
Major Dude
|
Quote:
you pwned me
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
|
#57 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#58 |
|
Junior Member
Join Date: Aug 2002
Location: Texas
Posts: 36
|
Typos
I've attached the typos I found. Hope it helps.
-J |
|
|
|
|
|
#59 |
|
Junior Member
Join Date: Aug 2002
Location: Texas
Posts: 36
|
Diff File
Oops, I just saw the message on the first page of this thread that asks for large corrections to be presented as a patch. I can't edit my post above to delete it, but anyway...
I have attached a diff to this message, with all the corrections listed in the above message, plus one or two others I ran across. I'm not sure if the way I did it is the preferred way, but if not - just let me know and I'll change it. I attached it as .txt because the forum doesn't allow the .diff extension. Thanks, -J |
|
|
|
|
|
#60 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Awesome, thanks! All committed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#61 |
|
Senior Member
|
in the Install Options readme,
(NSIS\Docs\InstallOptions\Readme.html) "Call the DLL You can call InstallOptions in a page function, check the NSIS documentation for information about the page system." the link "NSIS documentation" points to "file:///C:/Program%20Files/NSIS/Docs/Chapter4.html#4.5" the file does not exist. OJi. |
|
|
|
|
|
#62 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#63 |
|
Senior Member
Join Date: Sep 2004
Location: Wisconsin, US
Posts: 258
|
This is not a typo, but a suggestion for clarity. Under the 4.9.1.5 File section, on the /nonfatal bullet, it currently states:
"If the /nonfatal switch is used and no files are found, a warning will be issued instead of an error." I think it would be good to add that if the /nonfatal switch is activate or invoked (no files found), the line will no longer be a run-time instruction, and Relative Jumps will not see the line (per jump info below). It would be best to use regular labels around File /nonfatal commands to be safe. "4.4 Relative jump of +2 will skip one instruction and go to the second instruction from the current instruction...An instruction is every command that is executed at run-time, when the installer is running. MessageBox, Goto, GetDLLVersion, FileRead, SetShellVarContext are all instructions. AddSize, Section, SectionGroup, SectionEnd, SetOverwrite (and everything under Compiler Flags), Name, SetFont, LangString, are not instructions because they are executed at compile time." Thanks for your time! |
|
|
|
|
|
#64 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
That's a bug, not a documentation problem. Please submit a bug report.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#66 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Idea
I know that in the history of NSIS we've always had the "NSIS Examples Directory" shortcut, but I think a "NSIS Directory" shortcut would be more helpful as I myself have my projects in a Projects sub-folder.
-Stu |
|
|
|
|
|
#67 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
I don't think that's necessary. The start menu is meant for a quick start and that folder contains nothing that's not already linked. In your case, I think you'd even do better with a direct link to that projects folder.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#68 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
4.6.1.5 SectionGroup
[/e] Caption [section_group_name index_output] should be [/e] section_group_name [index_output] IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#69 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
I found a few typos:
4.8.2.3 Typically the SetCompress flag will effect the commands after it, should be 'affect'. Also found that this code changes the compression status: SetCompress off SetCompressor lzma Setcompressor switches SetCompress back to the default compression status (auto). This should be documented or bugfixed. 5.4 !define symbol1 ${symbol2} After copying and pasting the code, I found that this typo has a 1 after symbol. I thought it was two l's. Maybe it should be changed to symbol_1 and symbol_2 or somthing similar (for clarity). B2 To ask the user for a reboot if required, should be 'To ask the user for a reboot, if required,' or 'If required, you can ask the user for a reboot.' D2 For Windows NT (NT4/2000/XP), it's also possible to create the key in the HKCU hive, Should this be hive, or should it be changed to folder/directory? "Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#70 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
SetCompress off followed by SetCompressor worked fine for me. Please include a complete example. It should indeed be HKCU hive. That's how the registry objects are called [MSDN]. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#71 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
My bad on SetCompressor. It does work. Maybe instead of saying 'Using lzma compression', it could say 'Using no compression', because I look at this line when I compile my installers with SetCompress off, and I think 'Oh, it's using lzma compression' when it is really not compressed.
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#72 | ||
|
Senior Member
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
|
From MUI doc:
Quote:
Quote:
|
||
|
|
|
|
|
#73 | |
|
Guest
Posts: n/a
|
Quote:
This will also make it consistent with wording in Sections.nsh, e.g. SF_SELECTED |
|
|
|
|
#74 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#75 |
|
Junior Member
Join Date: Nov 2005
Posts: 7
|
In section 4.9.14.2, CreateFont :
GetDlgItem $$0 $HWNDPARENT 1 Should there really be two '$' signs ? And if yes, then why ? |
|
|
|
|
|
#76 |
|
Major Dude
|
nope there should not, its definetly a typo.
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#77 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Thanks, fixed.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#78 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
foul language
In section 4.8.1.30, Name :
'CrapSoft MyApp' ==> 'MySoft MyApp' In section C.1, Get parent directory : ; input, top of stack (e.g. C:\Program Files\Poop) ==> ; input, top of stack (e.g. C:\Program Files\foo) |
|
|
|
|
|
#79 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
Aannd there was also some poo in the examples.
In these files: Examples\bigtest.nsi Examples\InstallOptions\test.ini Examples\InstallOptions\testnotify.ini (Not sure if the bigtest.nsi needs fixin) StrCpy $1 "POOOOOOOOOOOP" ==> StrCpy $1 "FOOOOOOOOOOOO" Heres a patch anyway. |
|
|
|
|
|
#80 |
|
NSIS Dev
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
|
Not actually a typo, but missing documentation. The LockWindow command is supported but not documented anywhere.
What exactly does it do? I am guessing it enables or prevents window repainting. Why would it be needed in an installer? I am not quite sure. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|