Skip to content
⌘ NSIS Forum Archive

Multiple install Directories?

5 posts

rmccue#

Multiple install Directories?

Is it possible to set multiple install directorys so that when I install to $INSTDIR it installs to all the directorys?
Thanks in advance
kichik#
Yes, simply extract the files multiple times to whichever directories you wish. For example:
SetOutPath $INSTDIR
File blah.dat
SetOutPath $PROGRAMFILES\Blah
File blah.dat
rmccue#
I'm actually using WriteToFile so this doesn't work.
Another option for me would be to copy it.
Any Ideas?
kichik#
As with File, you can call WriteToFile multiple times. There is no magic solution here, either you copy it or you write it twice.