Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How to dynamicly Modify InstallDir? (http://forums.winamp.com/showthread.php?t=267616)

wotseb 12th March 2007 07:48

How to dynamicly Modify InstallDir?
 
in the general section, i can set the InstallDir and Caption of Install App, for example:
/////
Caption "SW"
OutFile "SW.exe"
InstallDir "$PROGRAMFILES\SW\"
////

in this case , the directory page show "$PROGRAMFILES\SW\" in the install file-selecting edit control. but i want to check if main program has been
installed in the machine, if true, i will query relative
info in regedit table to get the install dir.
how can i implement it?

Red Wine 12th March 2007 09:03

See NSIS manual,

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


All times are GMT. The time now is 04:17.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.