Skip to content
⌘ NSIS Forum Archive

User selectable install drive

3 posts

JHaigh2407#

User selectable install drive

Hi,

Sorry for what is probably a really stupid question. I want to use NSIS to unpack a collection of files into the root of a Compact Flash disk. I'm assuming I need to set the installer to allow putting files into the root of the drive, the exact syntax of the command fails me since I don't have the documentation in front of me, but I need to be able to have the user browse for the drive, in case the drive is a different letter on different PC's. How do I create a page to allow the user to browse for a target drive?

TIA

Jonathan
MSG#
Re: User selectable install drive

Originally posted by JHaigh2407
How do I create a page to allow the user to browse for a target drive?
By using nsDialogs.

NSIS\Examples\nsDialogs\example.nsi
NSIS\Docs\nsDialogs\Readme.html