Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Installing to different dirs (http://forums.winamp.com/showthread.php?t=270870)

tara2 8th May 2007 22:30

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.

Red Wine 8th May 2007 22:52

SetOutPath "$COMMONFILES\MyApp\Drivers"

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

tara2 8th May 2007 23:58

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.


All times are GMT. The time now is 05:38.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.