Removed some profanity from the docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6519 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e7b3911e53
commit
9ed46ac829
8 changed files with 12 additions and 12 deletions
|
@ -14,7 +14,7 @@ Function .onInit
|
|||
File /oname=spltmp.bmp "my_splash.bmp"
|
||||
|
||||
; optional
|
||||
; File /oname=spltmp.wav "my_splashshit.wav"
|
||||
; File /oname=spltmp.wav "my_splashsound.wav"
|
||||
|
||||
advsplash::show 1000 600 400 -1 $TEMP\spltmp
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@ void __declspec(dllexport) myFunction(HWND hwndParent, int string_size,
|
|||
|
||||
|
||||
// note if you want parameters from the stack, pop them off in order.
|
||||
// i.e. if you are called via exdll::myFunction file.dat poop.dat
|
||||
// i.e. if you are called via exdll::myFunction file.dat read.txt
|
||||
// calling popstring() the first time would give you file.dat,
|
||||
// and the second time would give you poop.dat.
|
||||
// and the second time would give you read.txt.
|
||||
// you should empty the stack of your parameters, and ONLY your
|
||||
// parameters.
|
||||
|
||||
|
|
|
@ -1465,7 +1465,7 @@ void WINAPI showCfgDlg()
|
|||
}
|
||||
|
||||
// we don't save settings on cancel since that means your installer will likely
|
||||
// quit soon, which means the ini might get flushed late and cause crap. :) anwyay.
|
||||
// quit soon, which means the ini might get flushed late and cause delete issues?
|
||||
if (!g_is_cancel) SaveSettings();
|
||||
|
||||
SetWindowLongPtr(hMainWindow,DWLP_DLGPROC,(LONG_PTR)lpWndProcOld);
|
||||
|
|
|
@ -41,12 +41,12 @@ Flags=NOTABSTOP
|
|||
|
||||
[Field 5]
|
||||
Type=FileRequest
|
||||
State=C:\poop.poop
|
||||
State=C:\dummy.xyz
|
||||
Left=10
|
||||
Right=-10
|
||||
Top=56
|
||||
Bottom=68
|
||||
Filter=Poop Files|*.poop|All files|*.*
|
||||
Filter=XYZ Files|*.xyz|All files|*.*
|
||||
Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY
|
||||
|
||||
[Field 6]
|
||||
|
|
|
@ -41,8 +41,8 @@ Bottom=51
|
|||
[Field 5]
|
||||
Type=FileRequest
|
||||
Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY
|
||||
State=C:\poop.poop
|
||||
Filter=Poop Files|*.poop|All files|*.*
|
||||
State=C:\dummy.xyz
|
||||
Filter=XYZ Files|*.xyz|All files|*.*
|
||||
Left=10
|
||||
Right=-10
|
||||
Top=56
|
||||
|
|
|
@ -16,7 +16,7 @@ How to use it? Simple:
|
|||
Strcpy $0 "Brainsucker"
|
||||
Math::Script "a = 'Math'; B = 'Script'; r0 += ' wants to use ' + a + '::' + b +'!'"
|
||||
DetailPrint "$0"
|
||||
That string will fill r0 with some shit.
|
||||
That string will fill r0 with some stuff.
|
||||
|
||||
Here are some other samples:
|
||||
10! (factorial, r0 will contain '10! = 362880'):
|
||||
|
@ -103,7 +103,7 @@ other. All sub-expressions separated by (;) are the part of one expression,
|
|||
and the result of the last one of these sub-exprs gives you the result of
|
||||
expression.
|
||||
|
||||
All the shit (like variables and functions) will be saved between calls.
|
||||
All the stuff (like variables and functions) will be saved between calls.
|
||||
|
||||
Functions:
|
||||
type conversions:
|
||||
|
|
|
@ -15,7 +15,7 @@ Function .onInit
|
|||
File /oname=spltmp.bmp "my_splash.bmp"
|
||||
|
||||
; optional
|
||||
; File /oname=spltmp.wav "my_splashshit.wav"
|
||||
; File /oname=spltmp.wav "my_splashsound.wav"
|
||||
|
||||
splash::show 1000 $TEMP\spltmp
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ Sets the default installation directory. See the \R{variables}{variables section
|
|||
|
||||
\c root_key subkey key_name
|
||||
|
||||
This attribute tells the installer to check a string in the registry, and use it for the install dir if that string is valid. If this attribute is present, it will override the \R{ainstalldir}{InstallDir} attribute if the registry key is valid, otherwise it will fall back to the \R{ainstalldir}{InstallDir} default. When querying the registry, this command will automatically remove any quotes. If the string ends in ".exe", it will automatically remove the filename component of the string (i.e. if the string is "C:\\program files\\poop\\poop.exe", it will know to use "C:\\program files\\poop"). For more advanced install directory configuration, set $INSTDIR in .onInit.
|
||||
This attribute tells the installer to check a string in the registry, and use it for the install dir if that string is valid. If this attribute is present, it will override the \R{ainstalldir}{InstallDir} attribute if the registry key is valid, otherwise it will fall back to the \R{ainstalldir}{InstallDir} default. When querying the registry, this command will automatically remove any quotes. If the string ends in ".exe", it will automatically remove the filename component of the string (i.e. if the string is "C:\\Program Files\\Foo\\app.exe", it will know to use "C:\\Program Files\\Foo"). For more advanced install directory configuration, set $INSTDIR in .onInit.
|
||||
|
||||
Language strings and variables cannot be used with \R{ainstalldirregkey}{InstallDirRegKey}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue