Skip to content
⌘ NSIS Forum Archive

Installing to different dirs

3 posts

tara2#

Installing to different dirs

Hi there,
My installer installs most of the files and dlls to:
InstallDir: ProgramFiles/MyApp/ ->SetOutPath "$INSTDIR"
ProgramFiles/MyApp/Data ->SetOutPath "$INSTDIR"


I need to install a bouquet of other files to:
ProgramFiles/CommonFiles/MyApp/Drivers/
ProgramFiles/CommonFiles/MyApp/X/
How is this achieved in NSIS

Regards.
tara2#
Red Wine thanks for your prompt reply. I just figured out the answer
and was going to answer the post when i saw your reply.
Your answer is much better "$COMMONFILES\etc"
Mine is "$ProgramFiles"\Common Files\etc"

I am new to NSIS. I fought a battle with WiX for nearly a month and gave up. May be next time.

Thanks a lot.