Archive: Installer enabling DSP plugins for Single User and Multi User Installations


Installer enabling DSP plugins for Single User and Multi User Installations
Does anyone have a script for detecting whether Winamp is installed in a single-user or multi-user configuration?

I have an old installer that enables a Winamp DSP plugin by writing to "Winamp.ini"

WriteINIStr "$4\Winamp.ini" "Winamp" "dspplugin_name" "dsp_MY_PLUGIN.dll"


However, Winamp can now be installed in multi-user setup, so "Winamp.ini" can actually be in the user's "Documents and Settings" folder, not in "Program Files/Winamp". Now my installer modifies wrong "Winamp.ini" and does not enable the plugin. How can I enable the plugin whether the Winamp installation is single or multi-user?

Thanks,

Zoran

check (for) paths.ini first maybe


After tinkering with NSIS, here is th solution to an installer that enables/activates a Winamp DSP plugin in both machine-wide and multi-user Winamp installations.


Laza