GetFirstRemovableDrive plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
No edit summary |
m (GetFirstRemovableDrive moved to GetFirstRemovableDrive plug-in: Forgot to put the "plug-in" suffix!) |
(No difference)
|
Latest revision as of 07:27, 22 April 2008
This plug-in is intended to be used in scripts for "portable apps". It finds the first removable drive in the system, and it can also find all removable drives. This can be used to validate the installation and calculate a decent default installation directory.
A realistic example script is also included, which uses the multi-language features of the MUI.
To use, the .DLL file should be copied to the NSIS Plug-ins directory, as always.
The source code is very simple, and is included as a Visual C++ "solution".
GetFirstRemovable.zip (136 KB)