View Full Version : SQL Scripts copied to INSTALLDIR

07-30-2008, 05:39 AM
My SQL Scripts are being copied to the INSTALLDIR in my Basic MSI project. Obviously I don't want this to happen. How do I prevent this but still get them to execute on install?

07-30-2008, 02:14 PM
If you are using the SQL Scripts view, InstallShield will not copy your script files onto the target machine. I am assuming that you include your script files in the Files view. If that is the case, you need to remove them from the Files view so that they will not be copied to INSTALLDIR.

07-31-2008, 04:22 AM
Thanks for the help, I deleted the sql files and used the 'Insert script files' rather than 'Import script files' option this time and although it still seems to create components for the files they don't now get installed.

08-01-2008, 11:55 PM
Error 27506 You have an error in the SQL script. It is executing nicely in MySQL. But in installshield it is showing this error.