Wise installbuilder script conversion issue

Got a problem you cannot solve? Try here.
Post Reply
ezderek
Posts: 1
Joined: Wed Dec 05, 2012 1:10 pm

Wise installbuilder script conversion issue

Post by ezderek »

We are evaluating IA 15 Studio edition.
Our hope is to be able to convert a large number of legacy Wise Installbuilder 8 scripts.
However, when we convert, and then try to compile the converted script, we are frequently encountering this error:
"IF conditional closed outside of IF conditional scope".
Searching the Help file produces no mention whatsoever of the word "conditional" and no list that we could find of error messages!
So we are assuming that the message means there are mismatched conditional statements such as IF, ELSE, END, etc.
Well we are new to IA but not new to coding ... all the conditionals are perfectly matched and indented. The compiler points to a particular END statement as the culprit, but it is perfectly matched with an earlier IF statement, and all the intervening pairs are perfectly matched too. Your indentation scheme makes that very easy to check.
Is there any other circumstance that can cause such an error message?
Regards, D.Best.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Wise installbuilder script conversion issue

Post by FrancescoT »

Dear User,

for sure exist at least one mismatched conditional statements such as IF, ELSE, WHILE & END cousing your problem.
You could try to comment out part of your script until you are not able to localize wich is the offending part.

Otherwise you could post your script and I will be happy to verify it.

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
Post Reply