ExLicensePage plug-in: Difference between revisions
m (Wikipedia python library) |
m (ExLicensePage moved to ExLicensePage plug-in) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{PageAuthor|pkp}} | |||
== Links == | == Links == | ||
File (Visual C++ Code (MFC)): | File (Visual C++ Code (MFC)):<br> | ||
http://www.pkpsoft.com/other/ExLicensePage.zip | <attach>ExLicensePage.zip</attach><br> | ||
[[Image:Zip.gif]] [http://www.pkpsoft.com/other/ExLicensePage.zip ExLicensePage.zip] (92 KB) (Mirror #1) | |||
== Description == | == Description == | ||
'''Deprecated:''' NSIS 2.0 beta 4 - Added PageEx. | |||
This is some quick and dirty code to implement an extra license file page. | This is some quick and dirty code to implement an extra license file page. | ||
'''Note: This plug-in requires the MFC runtime and is not really compatible with the NSIS page system. For other solutions and more info, check [http://forums.winamp.com/showthread.php?threadid=133311 this forum topic].''' | |||
== How To Use == | == How To Use == | ||
<highlight-nsis> | |||
ExLicensePage::showPage "license.txt" | ExLicensePage::showPage "license.txt" | ||
</highlight-nsis> | |||
The program is not really customizable at this point, if you like it and want a few extra features, let me know and I'll flesh it out more. | The program is not really customizable at this point, if you like it and want a few extra features, let me know and I'll flesh it out more. | ||
Line 32: | Line 39: | ||
[mailto:pkp@pkpsoft.com pkp@pkpsoft.com] | [mailto:pkp@pkpsoft.com pkp@pkpsoft.com] | ||
[[Category:Plugins]] |
Latest revision as of 20:04, 27 December 2005
Author: pkp (talk, contrib) |
Links
File (Visual C++ Code (MFC)):
ExLicensePage.zip (92 KB)
ExLicensePage.zip (92 KB) (Mirror #1)
Description
Deprecated: NSIS 2.0 beta 4 - Added PageEx.
This is some quick and dirty code to implement an extra license file page.
Note: This plug-in requires the MFC runtime and is not really compatible with the NSIS page system. For other solutions and more info, check this forum topic.
How To Use
ExLicensePage::showPage "license.txt"
The program is not really customizable at this point, if you like it and want a few extra features, let me know and I'll flesh it out more. ExLicensePage expects to find the file "license.txt" in the same directory the dll is located. (plug-ins dir usually). ExLicensePage also implements cancel strangely, due to the fact that I cannot figure out a proper way of staying on the current page if cancel is pressed along with a no, it sends a message to the parent window forcing it back to the previous page.
Usage
ReserveFile "SNLicense.txt" Page custom ExLicense Function ExLicense ExLicensePage::showPage "SNLicense.txt" FunctionEnd Function .onInit !insertmacro MUI_INSTALLOPTIONS_EXTRACT "SNLicense.txt" ;Without Modern UI: File /oname=$PLUGINSDIR\SNLicense.txt SNLicense.txt FunctionEnd
Source Included, do what you want with it.