Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting problems

Status
Not open for further replies.

bgfs

Technical User
Apr 6, 2005
130
GB
I'm trying to change ODBC settings and deploy a file automatically using a script. I have created a condition were the installation will go ahead if a file already exists. I can get the registry change to work by itself or the file copy by itself, but a can't get both to work together. Can anyone spot the error?

IF exist C:\omnis7\omnis7.exe (reg import \\xxxsql1\tynedale$\tynedale.reg) next
(COPY \\xxxsql1\tynedale$\serpath.tcs c:\omnis7)
else (Goto ;eof)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top