I made a NSISdl include file for NSIS, it includes 4 macros:
NSISDL_DOWNLOAD SOURCE DESTINATION
NSISDL_DOWNLOAD_TIMEOUT SOURCE DESTINATION TIMEOUT
NSISDL_DOWNLOAD_QUIET SOURCE DESTINATION
NSISDL_DOWNLOAD_QUIET_TIMEOUT SOURCE DESTINATION TIMEOUT
It:
- supports automatic translation.
- creates the directory where will be created the DESTINATION file.
- doesn't need Modern UI to work.
- uses LangStrings, so you can use too these in your script:
NSISDL_DOWNLOADING
NSISDL_CONNECTING
NSISDL_SECOND
NSISDL_MINUTE
NSISDL_HOUR
NSISDL_PLURAL
NSISDL_PROGRESS
NSISDL_REMAINING
i.e. MessageBox MB_OK "$(NSISDL_SECOND)"
NOTE: When you use any macro of this include file, they will SetDetailsPrint to both.
If someone wants to make a translation for NSISdl, use the English language as a base for your work.
NSISDL_DOWNLOAD SOURCE DESTINATION
NSISDL_DOWNLOAD_TIMEOUT SOURCE DESTINATION TIMEOUT
NSISDL_DOWNLOAD_QUIET SOURCE DESTINATION
NSISDL_DOWNLOAD_QUIET_TIMEOUT SOURCE DESTINATION TIMEOUT
It:
- supports automatic translation.
- creates the directory where will be created the DESTINATION file.
- doesn't need Modern UI to work.
- uses LangStrings, so you can use too these in your script:
NSISDL_DOWNLOADING
NSISDL_CONNECTING
NSISDL_SECOND
NSISDL_MINUTE
NSISDL_HOUR
NSISDL_PLURAL
NSISDL_PROGRESS
NSISDL_REMAINING
i.e. MessageBox MB_OK "$(NSISDL_SECOND)"
NOTE: When you use any macro of this include file, they will SetDetailsPrint to both.
If someone wants to make a translation for NSISdl, use the English language as a base for your work.
Comment