VirtualBox

Ticket #5830: writeFailure.nsi

File writeFailure.nsi, 503 bytes (added by Chas Emerick, 15 years ago)
Line 
1Name "writefailure.exe"
2
3; The file to write
4OutFile ${output}
5
6; The default installation directory
7InstallDir $DESKTOP\bigfile
8
9; The text to prompt the user to enter a directory
10DirText "Choose where to install bigfile:"
11
12; The stuff to install
13Section "bigfile"
14
15 SectionIn RO
16
17 ; Set output path to the installation directory.
18 SetOutPath $INSTDIR
19 SetShellVarContext "all"
20
21 ;Install these files, overwrite existing.
22 SetOverwrite on
23
24 RMDir /r $DESKTOP\bigfile
25
26 File ${input}
27SectionEnd

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy