|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2004
Posts: 11
|
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" code: 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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,784
|
check (for) paths.ini first maybe
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2004
Posts: 11
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|