Archive: Installing to different dirs


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.


SetOutPath "$COMMONFILES\MyApp\Drivers"

http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3


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.