Archive: how to find a file with nsis please help me fast


how to find a file with nsis please help me fast
ai need to know how to find out how I can find a file in my computer with nsis.
Please help me:cry: :cry: :rolleyes: :weird:


Use GetDrives and Locate.


thanks


Originally posted by kichik
Use GetDrives and Locate.
hi Kichik,

i wish to find where a specific program was installed (MySQL), the way i'm doing this is first i'm looking for environment variable (ReadEnvStr).
If that returns error, then i'm doing a search for "MySQL Ser*" using GetDrives and Locate... but the problem with locate is that it shows the user a window while searching...
i want it to be done silently, without the user noticing that the installer is searching for this Directory...

or might there be another way where i can check where an application is installed???

cheers mate,

To run a silent installer, use SilentInstll or SetSilent.

The method of searching for a program depends on the program. Some programs leave traces in the registry, some in a well known path on the hard disk and some don't leave at all.


Originally posted by kichik
To run a silent installer, use SilentInstll or SetSilent.

The method of searching for a program depends on the program. Some programs leave traces in the registry, some in a well known path on the hard disk and some don't leave at all.
hi Kichik,

thank you for ur prompt reply... SilentInstll will definitely do the trick... but also like u said, i found that it'll be more efficient if i look in the registry. the problem is that i'm installin on a winXP x64, and the 32bit apps don't get installed in HKLM/Software/<app> . i was able to find where on the registry these paths are kept...

Thanks again..

cheers