Edgewize
13th June 2001, 02:39
I will be spinning off a new 'e' series of the NSIS installer, starting tomorrow with 1.44e.
Source will not be available until next week because I need that long to make it readable again. It works now, but its god-aweful ugly. And don't worry, I'll send it to Justin ASAP.
Following is the README file for the release:
---
Changes in 1.44e:
- New command: ReadEnvStr
Reads an environment variable into $0-$9, $INSTDIR, etc. Examples:
. "ReadEnvString $0 PATH" puts the search path into $0
. "ReadEnvString $9 COMSPEC" puts the path to COMMAND.COM in $9
- New command: AdjustDiskSpace
Adds to or resets the section's disk space requrement. Examples:
. "AdjustDiskSpace set 20" resets space requirements to 20kb
. "AdjustDiskSpace add 100" increases requirements by 100kb
. "AdjustDiskSpace 100" ('add' is assumed)
- New command: ProgressText
Overrides the text label above the progress bar. Examples:
. "ProgressText set 'Checking registry'" is rather obvious
. "ProgressText auto" restores the default NSIS messages
. "ProgressText 'Removing temp files'" ('set' is assumed)
- Changes to command: Section
New /HIDDEN flag is just like having an empty section name or having the name begin with a "-". The section does not show up on the Components screen and is always installed. Example:
. "Section /HIDDEN 'this will not be seen'"
New /UNCHECKED flag means that the section will be visible on the Components screen but not originally checked. This has no effect if InstallTypes are being used. This also does not work on hidden sections, for obvious reasons. Example:
. "Section /UNCHECKED 'Create Desktop Icon'"
- Changes to command: CopyFiles
The third argument (size in kb of copied data) is no longer required. The new AdjustDiskSpace command is recommended instead. Example:
. "AdjustDiskSpace add 56"
. "CopyFiles 'C:\WINDOWS\notepad.exe' $INSTDIR"
- Other changes:
User choices are now saved when the Back button is used to return to the component selection screen.
NOTE: All changes are backwards compatible. No script should change behavior in the least when built with 1.44e. IF THIS IS NOT THE CASE, EMAIL ME IMMEDIATELY at wiked_edge@yahoo.com
[Edited by Edgewize on 06-12-2001 at 10:59 PM]
Source will not be available until next week because I need that long to make it readable again. It works now, but its god-aweful ugly. And don't worry, I'll send it to Justin ASAP.
Following is the README file for the release:
---
Changes in 1.44e:
- New command: ReadEnvStr
Reads an environment variable into $0-$9, $INSTDIR, etc. Examples:
. "ReadEnvString $0 PATH" puts the search path into $0
. "ReadEnvString $9 COMSPEC" puts the path to COMMAND.COM in $9
- New command: AdjustDiskSpace
Adds to or resets the section's disk space requrement. Examples:
. "AdjustDiskSpace set 20" resets space requirements to 20kb
. "AdjustDiskSpace add 100" increases requirements by 100kb
. "AdjustDiskSpace 100" ('add' is assumed)
- New command: ProgressText
Overrides the text label above the progress bar. Examples:
. "ProgressText set 'Checking registry'" is rather obvious
. "ProgressText auto" restores the default NSIS messages
. "ProgressText 'Removing temp files'" ('set' is assumed)
- Changes to command: Section
New /HIDDEN flag is just like having an empty section name or having the name begin with a "-". The section does not show up on the Components screen and is always installed. Example:
. "Section /HIDDEN 'this will not be seen'"
New /UNCHECKED flag means that the section will be visible on the Components screen but not originally checked. This has no effect if InstallTypes are being used. This also does not work on hidden sections, for obvious reasons. Example:
. "Section /UNCHECKED 'Create Desktop Icon'"
- Changes to command: CopyFiles
The third argument (size in kb of copied data) is no longer required. The new AdjustDiskSpace command is recommended instead. Example:
. "AdjustDiskSpace add 56"
. "CopyFiles 'C:\WINDOWS\notepad.exe' $INSTDIR"
- Other changes:
User choices are now saved when the Back button is used to return to the component selection screen.
NOTE: All changes are backwards compatible. No script should change behavior in the least when built with 1.44e. IF THIS IS NOT THE CASE, EMAIL ME IMMEDIATELY at wiked_edge@yahoo.com
[Edited by Edgewize on 06-12-2001 at 10:59 PM]