hello ! I want create a simply installer :
the NSIS script check available removable disk (usb key) and install(or unzip) file on it ... that all
admin of todae.fr have tried to help me but I'm a great noobz in NSIS ...
anybody have creat a script like this ?
thank
automatic instal in USB key
4 posts
There is a plugin that will enumerate the available USB keys. I forgot what it was called though.
1) Enum Drives
2) Create a custom page
3) Add the returned values to the custom page
1) Enum Drives
2) Create a custom page
3) Add the returned values to the custom page
but don't work ...
Name "test"
OutFile "test.exe"
RequestExecutionLevel user
!include "FileFunc.nsh"
!insertmacro GetDrives
Function OnDriveFound
MessageBox MB_OK "USB : $9"
FunctionEnd
Section
${GetDrives} "FDD" "OnDriveFound"
SetOutPath $9\test
file test.txt
SectionEnd
This plugin might be what you need:
It finds the first removable drive in the system, and it can also find all removable drives
It finds the first removable drive in the system, and it can also find all removable drives