>Hi,
>
>I have a DLL (self-made) in my application's directory. Everytime I reinstall my application (VFP setup wizard), my DLL get overwriten (assuming the DLL already been replaced with a later version). How to prevent this from happening? I know that InstallShield is able to do this, but about in VFP?
>
Setup Wizard's default behavior overwrites existing files unconditionally; you could try hacking the .STF file to not use the CopyFile verb (look at using the InstallSysFile verb. I have not done this, so I am not certain that it's going to work under VFP6's implementation of the Setup Wizard, and I use InstallShield to avoid issues like having to hack an .STF), or to modify the flags for the CopyFile verb to install your .DLL, but it's completely undocumented, and I would avoid this if at all possible.