CKV Self-Extractor: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Testing how to hide categories.)
m (Reverted edits by Jomiequipot to last version by TrueparuEx)
 
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{|align=right
__NOTOC__ {{PageAuthor|TrueparuEx}}
|<small>Author: [[{{ns:2}}:Aaron's rod|Aaron's rod]] ([[{{ns:3}}:Aaron's rod|talk]], [[{{ns:-1}}:Contributions/Aaron's rod|contrib]])</small>
 
|}
<br style="clear:both;">
== Links ==
== Links ==
Links Broken


[[Image:Exe.gif]] [http://koti.mbnet.fi/ckv/downl.php?id=ckvse.exe ckvse.exe] (149 KB)<br>
[[Image:Exe.gif]] <strike>[http://koti.mbnet.fi/ckv/file.php?id=ckvse.exe ckvse.exe] (149 KB)</strike><br>
[[Image:Zip.gif]] [http://koti.mbnet.fi/ckv/downl.php?id=ckvse.zip ckvse.zip] (147 KB)
[[Image:Zip.gif]] <strike>[http://koti.mbnet.fi/ckv/file.php?id=ckvse.zip ckvse.zip] (143 KB)</strike><br>
<attach>Ckvse.zip</attach> (alternative)<br>
<strike>[http://koti.mbnet.fi/ckv/browser.php?f=./files/NSIS Development Versions]</strike>


== Description ==
== Description ==
 
'''Version:''' 0.14c.
 
ckv Self-Extractor Kit is a collection of scripts and custom user interfaces to create self-extracting files with NSIS. This is way simpler built than [[NSIS Self-Extractor kit]] for a lighter interface. This also includes a wizard for the easy creation of self-installers. This also can:
ckv Self-Extractor Kit is a collection of scripts and custom user interfaces to create self-extracting files with NSIS. This is way simpler built than [[NSIS Self-Extractor kit]] for a lighter interface. This also includes a wizard for the easy creation of self-installers. This also can:
* Open the extration directory and/or read-me at end.
* Open the extration directory and/or read-me at end.
Line 52: Line 55:
</highlight-nsis>
</highlight-nsis>


[[{{ns:14}}:Related Software]]
[[Category:Related Software]]
<!-- [[{{ns:14}}:1 - Pre-Alpha]] -->

Latest revision as of 17:23, 26 January 2011

Author: TrueparuEx (talk, contrib)


Links

Links Broken

Exe.gif ckvse.exe (149 KB)
Zip.gif ckvse.zip (143 KB)
Ckvse.zip (143 KB) (alternative)
Development Versions

Description

Version: 0.14c.

ckv Self-Extractor Kit is a collection of scripts and custom user interfaces to create self-extracting files with NSIS. This is way simpler built than NSIS Self-Extractor kit for a lighter interface. This also includes a wizard for the easy creation of self-installers. This also can:

  • Open the extration directory and/or read-me at end.
  • Show the license before the extraction occurs.
  • choose from 1 of 3 UI's available: default, tiny and simple.

This is still under development.

How To Use

Simplest way to use ckv Self-Extractor is to include ckvse.nsh in to beginning of any existing NSIS script file, replace first Section with ${FileExtraction}, and use the commands as said in the documentation (included with zip file).

However this way you only get NSIS installer with Self-Extractor look. Better idea is to use the ckv Self-Extractor wizard (ckvsewizard.exe) that can create Self-Extractor from a directory or zip file.

Example Script

!include "ckvse.nsh"
SetCompressor lzma
 
!insertmacro ProductName "My product"
!insertmacro OutFileName "outfile.exe"
!insertmacro ExtractDir "C:\Sample"
!insertmacro IconFile "C:\my\file\source\icon.ico"
 
!insertmacro OpenDirFunc "off" 1
!insertmacro OwprompFunc "on" 1
!insertmacro OpenReadme "off" 1 "$INSTDIR\readme.txt"
!insertmacro ShowLicense "C:\my\file\source\license.txt" "off"
!insertmacro SetUI "default"
 
${FileExtraction}
  SetOutPath "$INSTDIR"
  !insertmacro EXTRACT_FILE "C:\my\file\source\" "readme.txt"
  !insertmacro EXTRACT_FILE "C:\my\file\source\" "license.txt"
  !insertmacro EXTRACT_FILE "C:\my\file\source\" "product.exe"
 
  SetOutPath "$INSTDIR\subdir"
  !insertmacro EXTRACT_FILE "C:\my\file\source\" "data.dat"
  !insertmacro EXTRACT_FILE "C:\my\file\source\" "more_data.dat"
${FileExtractionEnd}