Hi,
I also came from Wise, and even though there is a Wise importer somewhere in IA forum, it never worked for me
Start by checking the
Pre-Defined Variables topic in the help file. This will give you all the variables you need, so in your particular case you'll need these:
Code: Select all
EXEDIR replaces INST
TARGETDIR replaces MAINDIR
$ sign replaces the % sign
Here is a seudo code of part of your code for IA:
Code: Select all
Does File Exist $EXEDIR$\\Start.af (get result into variable FIND_START)
if Variable FIND_START Equals True
Copy Local Files $EXEDIR$\\Start.af to $TARGETDIR$\\Start.ini
else
Comment: Add your code for other logic here...
end
Here is the same code above in IA language so you can copy and paste in your script:
Code: Select all
~InstallAware Clipboard Data~
~End~
~{D729D854-B0FA-4DBC-B7B4-7FD3AA370420}~
~Comment~
~{776B6292-9AE4-4543-BBF5-3DC01084C171}~
~Add your code for other logic here...~
~Else~
~{A0438B0B-9F48-4D50-A338-DFAA79993ACD}~
~Copy/Move Local Files~
~{6973BC65-EAF7-45B0-9F4E-C64E4A1C56CE}~
~$EXEDIR$~
~Start.af~
~$TARGETDIR$~
~Start.ini~
~TRUE~
~FALSE~
~If~
~{FF919687-9D05-42DC-8CAA-4D0762853327}~
~FIND_START~
~0~
~True~
~FALSE~
~Does File/Folder Exist~
~{FD8B3BA3-A94B-4A09-9F93-07A4B1A9846B}~
~FIND_START~
~$EXEDIR$\\Start.af~
~TRUE~
Warning:
I did not test this code above, it is just meant to give you an idea of the path you may follow.
Good luck!