DcryptDll plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
m (Some format fixes. FA: "Page author" line.)
Line 1: Line 1:
== Links ==
== Links ==
[http://nsis.sourceforge.net/archive/download.php?file=DcryptDll.zip Download from NSIS Archive]
 
<attach>DcryptDll.zip</attach>


== Description ==
== Description ==
<p>
 
The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable
The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable
binaries (Ncrypt.exe & GenKeys.exe), the source to build all 3, two example
binaries (Ncrypt.exe & GenKeys.exe), the source to build all 3, two example
.nsi scripts showing possible usage, the how to use document DcryptDllReadme.html,
.nsi scripts showing possible usage, the how to use document DcryptDllReadme.html,
and a couple of other supporting files.<br>
and a couple of other supporting files.<br>
</p>
 
<p>
These add some encryption / decryption capability to NSIS.<br>
These add some encryption / decryption capability to NSIS.<br>
</p>
 
<p>
In a manner similar to the ExtractDllEx plugin, one program is used on the computer
In a manner similar to the ExtractDllEx plugin, one program is used on the computer
you are <em>compiling</em> your NSIS script on to do the <b>encryption</b>, and the plugin
you are <em>compiling</em> your NSIS script on to do the <b>encryption</b>, and the plugin
is used to do the <b>decryption</b> when the Installer .exe is actually executing.<br>
is used to do the <b>decryption</b> when the Installer .exe is actually executing.
</p>
 
<p>
Ncrypt.exe is the program you use for the encryption, DcryptDll.dll is the plugin used to  
Ncrypt.exe is the program you use for the encryption, DcryptDll.dll is the plugin used to  
do the decryption.<br>
do the decryption.
</p>
 
<p>
The NGenKeys.exe is not necessary, but is included for convenience: you can use it
The NGenKeys.exe is not necessary, but is included for convenience: you can use it
to generate the KeyStrings you will need for encrypting and decrypting the files.<br>
to generate the KeyStrings you will need for encrypting and decrypting the files.
</p>
 
<p>
The zip file was built so that you can just extract it (preserving folder names) to your
The zip file was built so that you can just extract it (preserving folder names) to your
NSIS distribution <em>Contrib</em> folder. You should either move the plugin to the <em>Plugins</em>
NSIS distribution <em>Contrib</em> folder. You should either move the plugin to the <em>Plugins</em>
Line 31: Line 27:
You can move Ncrypt.exe and NGenKeys.exe to some folder included in your PATH environment variable
You can move Ncrypt.exe and NGenKeys.exe to some folder included in your PATH environment variable
or whatever.
or whatever.
</p>
 
<br>
Please let me know if you find any of those "dreaded" bugs.
Please let me know if you find any of those "dreaded" bugs.
<br><br>
 
Page author: Arrby
Page author: [[User:Arrby|Arrby]]

Revision as of 20:45, 29 April 2005

Links

DcryptDll.zip (172 KB)

Description

The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable binaries (Ncrypt.exe & GenKeys.exe), the source to build all 3, two example .nsi scripts showing possible usage, the how to use document DcryptDllReadme.html, and a couple of other supporting files.

These add some encryption / decryption capability to NSIS.

In a manner similar to the ExtractDllEx plugin, one program is used on the computer you are compiling your NSIS script on to do the encryption, and the plugin is used to do the decryption when the Installer .exe is actually executing.

Ncrypt.exe is the program you use for the encryption, DcryptDll.dll is the plugin used to do the decryption.

The NGenKeys.exe is not necessary, but is included for convenience: you can use it to generate the KeyStrings you will need for encrypting and decrypting the files.

The zip file was built so that you can just extract it (preserving folder names) to your NSIS distribution Contrib folder. You should either move the plugin to the Plugins folder or recompile the source (the VC++ 6.0 project file has output set to the Plugins directory).
You can move Ncrypt.exe and NGenKeys.exe to some folder included in your PATH environment variable or whatever.

Please let me know if you find any of those "dreaded" bugs.

Page author: Arrby