BDEAlias plug-in: Difference between revisions
m (Wikipedia python library) |
m (SF: seperate -> separate.) |
||
Line 55: | Line 55: | ||
: Added Debug versions of the Plugin Functions - Display the pop'ed values. Now you can specify the parameters in any order! | : Added Debug versions of the Plugin Functions - Display the pop'ed values. Now you can specify the parameters in any order! | ||
; [Update 2003-12-18] Version 0.3 | ; [Update 2003-12-18] Version 0.3 | ||
: Added ability to specify other parameters such as 'User Name'. If you wish to specify more than one parameter you should | : Added ability to specify other parameters such as 'User Name'. If you wish to specify more than one parameter you should separate them with a semicolon. | ||
; [Update 2003-11-19] Version 0.2 | ; [Update 2003-11-19] Version 0.2 | ||
: Uses the stack instead of variables for information transfer. | : Uses the stack instead of variables for information transfer. |
Revision as of 13:42, 17 April 2005
Description
This plugin will allow you to add and delete BDE Aliases. The plugin is available here or in the Archive Download page. For information on how to install BDE visit this page.
Usage Example
; ; BDE Alias plugin usage example ; Section "Add" BDEAlias::AddAlias '*A* NSIS' '*P* V:\' '*D* PARADOX' pop $9 MessageBox MB_OK $9 SectionEnd Section "Add InterBase" BDEAlias::AddAliasDebug '*A* NSIS-Test' '*P* V:\' '*D* INTRBASE' '*O* USER NAME:"SYSDBA"' pop $9 MessageBox MB_OK $9 SectionEnd Section "Delete" push "*A* NSIS" BDEAlias::DeleteAlias pop $9 MessageBox MB_OK $9 SectionEnd
You can use both ways to pass the info to the plugin. E.G. by manually pushing the data as shown in the DeleteAlias Example. Or on the commandline like in the AddAlias examples.
The debug versions should only be called when testing the installer as they will display several message boxes containing the data you supplied to the plugin. Their main function is to check that the data is going to the right place.
To enable the plugin to detect the data types the following prefixes must be added to your data before pushing it to the stack:
Prefix | Description |
---|---|
*A* | Alias |
*D* | Driver |
*O* | Other Parameters |
*P* | Path |
Version History
- [Update 2004-01-23] Version 0.4
- Added Debug versions of the Plugin Functions - Display the pop'ed values. Now you can specify the parameters in any order!
- [Update 2003-12-18] Version 0.3
- Added ability to specify other parameters such as 'User Name'. If you wish to specify more than one parameter you should separate them with a semicolon.
- [Update 2003-11-19] Version 0.2
- Uses the stack instead of variables for information transfer.
Vytautas
Page author: Vytautas