Archive: 1.96


1.96
...is coming soon. I'm back on a decent net connect for a few days (won't be long before I always am), so I'll put together everybody's contributions and a few of my own (maybe) and whatnot. =)

So far there is:

Alex's documentation fix
new Makensisw.exe
Fritz's patches
rainwater's patches (which may overlap some with fritz's heh).

Am I missing anything?

-Justin


The only thing I personally changed was exehead/resource.h line 6:

#ifndef APSTUDIO_INVOKED
#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
#endif
#ifndef RT_MANIFEST
#define RT_MANIFEST 24
#endif
#endif

The other changes were fritz's bug patches.

Also the latest makensisw is here . It has fully working resize support now.

Rob


I forgot to say, the reason why I changed resource.h was because it was causing multiple declaration warnings in win9x.


New features
Hi Justin,


I posted several additions to V1.95 in tread

http://forums.winamp.com/showthread.php?threadid=72909

Meanwhile I did some bug fixes and improvements on it. I will post a new version today.


Thanks,
Andreas Rock


Sel Section + Hide Pages additions
Hi Justin,

I had a hard night (it's 4 am), but I am ready.

1. New Script commands for runtime phase :
------------------------------------------

HideLicPage,HideCompPage, HideDirPage : Hide pages on runtime (e.g. .oninit)

Section hide|hide&off|show|show&off [InstType1 InstType2 ...]:

Selects a section to hide or show while installing. The flags off or on will disable or enable a section. They can be combined with & on hide and show. Define none, or several different install types you want to set in this section. (see InstType). Without install type definition all types are set. You can specify numbers, with any characters (or none) delimiting (i.e. 1258 or 1,2,5,8 or
1-2-5-8 or 1 2 5 8 all do the same thing). Only not required sections can be changed (see Section).

Example:

Function .oninit
;Select section 4 and enable only in InstType 3
SelSection 4 show 3
;Hide section 3 and disable installing of section in install types
SelSection 3 hide&off
FunctionEnd


Implementation( Reference source V1.95):
-------------------------------------------
source: script.cpp, tokens.cpp, tokens.h
exehead: config.h,exec.c,fileform.h,ui.c. ui.h
documentation(html): selsection+hidepage.htm

Patching: Source can be patched with "xpatch.bat" in dos
command prompt. Goto "Source" directory before !!
Used diff command for getting differences.

Please also insert the html file into your makensis.htm

Greetings,
Andreas Rock


I suggest this into 1.97
I suggest this into 1.97:

http://forums.winamp.com/showthread....threadid=72219


Maybe this is also a good idea:

http://forums.winamp.com/showthread....threadid=75348

-Hn3