View Single Post
Old 5th January 2018, 15:34   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,175
You could also create an actual installer, it should be pretty easy:

Quote:
OutFile mysfx.exe
Name MySFX
RequestExecutionLevel Admin ; Or "User" if you are not extracting to a protected folder
InstallDir "$ProgramFiles\MyStuff"
SetCompressor /SOLID LZMA
ShowInstDetails Show
#AutoCloseWindow true ; Uncomment this to close window after extraction

Section
SetOutPath $InstDir ; Create folder
File /r "c:\mystuff\*" ; The files
SectionEnd

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote