Page 1 of 1

Convert Wise script to IA

Posted: Wed Jun 20, 2007 3:13 am
by get101
I am changing from Wise Installer to IA Studio.

Can you give me any ideas on where I should start? I want to convert these lines from my Wise script into IA.

Code: Select all

If File Exists %INST%\\start.af then
     Copy Local File from %INST%\\start.af to %MAINDIR%\\start.ini
Else

 IF THESERNO Equals "100" then
   If File Exists %MAINDIR%\\start100.ini then
     Copy Local File from %MAINDIR%\\start100.ini to %MAINDIR%\\start.ini
   End
 End

 IF THESERNO Equals "200" then
   If File Exists %MAINDIR%\\start200.ini then
     Copy Local File from %MAINDIR%\\start200.ini to %MAINDIR%\\start.ini
   End
 End

End

Posted: Mon Jan 12, 2009 10:43 am
by MichaelNesmith
For this, use the direct script conversion tool. There is also another tool which converts your setup as a whole, but it will lose custom code like this.