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?