Archive: About the documentation


About the documentation
Page

(custom function [caption]) | ((license|components|directory|instfiles)
[pre_function] [show_function] [leave_function]) [define_if_last]

I suppose that this means:
(a custom page, etc...) OR (a predefined page, etc...) AND (optional: symbol)

And it could be read as (watch the '(' and ')'s):
((a custom page, etc...) OR (a predefined page, etc...)) AND (optional: symbol)

or:
(a custom page, etc...) OR ((a predefined page, etc...) AND (optional: symbol))


Aren't there some '(' and ')' missing? :)
Same for UninstPage.

By the way, do Page and UninstPage count as an instruction for a relative Goto jump (e.g. Goto +3)?

BGGradient

[off]|[topc botc [textcolor|notext]]

It can be read as:
You MAY use 'off', or you MAY use 'topc botc [textcolor|notext]'.
Shouldn't it be:
[off|(topc botc [textcolor|notext])]

You MAY use 'off' or 'topc botc [textcolor|notext]'.

CompletedText

[/LANG=lang_id] [Completed text]

Now it says: You MAY use lang_id AND/OR completed_text.
Shouldn't it be:
[[/LANG=lang_id] Completed text]

Since you can't use lang_id without completed_text.

The same for ComponentText. It should be:
[[/LANG=lang_id] text [subtext] [subtext2]]


And DetailsButtonText, DirText, FileErrorText, InstallButtonText, MiscButtonText, SpaceTexts and UninstallButtonText.

InstallColors should be:

/windows | (foreground background)


InstProgressFlags should be:
[smooth] [colored]


IfRebootFlag should be:
[jump_if_set [jump_if_not_set]]


IntCmp should be:
val1 val2 jump_if_equal [jump_if_val1_less [jump_if_val1_more]]

Same for IntCmpU.

MessageBox should be:
mb_option_list messagebox_text [return_check jumpto [return_check_2 jumpto_2]]


WriteUninstaller should be:
[Path\]exename.exe


StrCpy should be:
user_var(destination) str [maxlen [start_offset]]


CreateFont should be:
user_var(handle output) face_name [height [weight]] [/ITALIC] [/UNDERLINE] [/STRIKE]


FindWindow has the same kind of error, but I can figure out what it should be.

By the way, do Page and UninstPage count as an instruction for a relative Goto jump (e.g. Goto +3)?
These are compiler settings, no run-time instructions.

Thanks. Should me mentioned in the docs.


Originally posted by virtlink
Thanks. Should me mentioned in the docs.
Maybe it should not be possible to include them in a section or function, just like the other attributes.

I agree with that.

The small list of non-runtime commands under the 'Labels' header should also be under the 'Goto' instruction header. Actually, it should be rather there than at 'Labels' since it has nothing to do with labels.


Page and UninstPage can no longer be used inside sections and functions in latest CVS version. Others will be fixed by flizebogen.


KiCHiK's post should be:

Not originally posted by kichik
Page and UninstPage can no longer be used inside sections and functions in latest CVS version. Others will be fixed by flizebogen.

Happy?


No, cause virtlinks last post makes no sense to me :P


The changes you requested will be done today night.


Sorry Sunjammer. KiCHiK just edited his post. He forgot to type the 'no' word:

Originally posted by kichik
Page and UninstPage can longer be used inside sections and functions in latest CVS version. Others will be fixed by flizebogen
And flizebogen, thanks for applying the requested changes, altough I didn't request them, just suggested and noticed them.