Aarthy
Posts: 2
Joined: Thu Jul 28, 2016 3:57 pm

Error 4140

Hi,

I'm getting "Error 4140 There was an error during the SQL script execution process" when I run my upgrade. I don't want to run the SQL script during upgrade, so I have specified the condition in SQLscript as NOT OLDPRODUCTS but still I'm getting the error 4140.

Please could you assist me,
Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error 4140

Hi Aarthy and welcome to our forums,

The condition is good for the new version installing, but you could have the SQL running from the old version, that gets uninstalled by the upgrade.

Have you checked the options of the script defined in the first version? Is is set to also run on uninstall?

If yes, and you don't want to, a fix is to recache the fixed MSI.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”