Is there a limit to the number of lines you can load into the script area. Our current script is around 43,000 lines which is throwing an error. I can copy and paste the script from notepad, however the "Load Script" button does not import it. Once inserted, when I build and run the project, I get a "Unable to load plug-in library. Please rebuild your project..." error message even though the same call with a smaller script ran successfully just prior. Thanks, Adrian.
PS Is there a way I can get InstallAware to launch a script (passing the login parameters) without having to paste it in the script area. This installer will be run in several environments, with the SQL Authentication details being read from a config file in each case.
MS SQL Server - Script length
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MS SQL Server - Script length
Dear Adrian,
I suggest you to use the "sqlcmd Utility" in such cases.
You run a call to SQLCMD using Run Program command.
http://technet.microsoft.com/en-us/library/ms165702(v=sql.105).aspx
Hope this helps you.
Regards
I suggest you to use the "sqlcmd Utility" in such cases.
You run a call to SQLCMD using Run Program command.
http://technet.microsoft.com/en-us/library/ms165702(v=sql.105).aspx
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 32
- Joined: Fri Jul 25, 2014 5:21 am
Re: MS SQL Server - Script length
Thanks, working well now.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MS SQL Server - Script length

Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 232 guests