How to implement looping in Installaware script.

Got a problem you cannot solve? Try here.
Post Reply
chakresh
Posts: 14
Joined: Mon Mar 07, 2011 6:39 am

How to implement looping in Installaware script.

Post by chakresh »

Hi,

I want to implement loop in the Installaware script, for this purpose I tried Label....Go To Label statement.
I works fine in normal case, but when I try to put this inside the conditional statement i.e. If..Then....ElseIf, it gives compilation error.
As per installaware help "You may not place a label inside an if/else if/else/end block.". Which means Go To Label cannot be used for looping
in this case.

Please suggest how I can implement loop in this case, is there any workaround for this problem.

Thanks & Regards,
Chakresh :)
Chris_DMG
Posts: 30
Joined: Tue Nov 02, 2010 8:09 am

Re: How to implement looping in Installaware script.

Post by Chris_DMG »

What version of InstallAware are you using?
If you have IA10 or newer there are while/wend and repeat/until script commands to implement loops inside of the script which can be nested inside if statements.
Post Reply