I'm trying to run advanced installer (3.3.1) from ant. Before I run it I need to set the version number, so I run it from ant with:
<target name="setInstaller">
<echo>setting version info for installer</echo>
<exec executable="${installerPath}">
<arg line="/edit "${installerFile}" /version "1.2.3">"/>
</exec>
</target>
I get an error message form advanced installer saying "Exception - the version format is incorrect"
If I run the command directly from the command line I have no problems. What am I doing wrong?
-Yishai