Archive: File


File
i have a little problem...i did an installer. but when i launch the installer, it comes an error message that says "can't write file" and the name of the file. i saw that i already have the file i want to install. is this the problem? but how can i install the file even if i already have it?


View the SetOverWrite documentation. It tells the File instruction how to proceed in cases where it can't immediately overwrite an existing file.

edit: If you have a file that is in-use at install time, you can send it a close message or kill its process if it is an EXE, or use the InstallLib macro if it is a DLL.