AnsweredAssumed Answered

[Patch] Advanced Installer 7.0.1

Question asked by WhiteKnight on Jun 24, 2009
Latest reply on Nov 9, 2009 by WhiteKnight

This diff/patch is for SVN version 11081. I had problems with ant target installer.msi, when using Advanced Installer 7.0.1 and so I made the changes below to fix it.

 

Index: build.xml

===================================================================

--- build.xml (revision 11081)

+++ build.xml (working copy)

@@ -476,7 +476,7 @@

         <exec executable="${advinst.path}\AdvancedInstaller.com"

               failonerror="true">

             <arg line="/edit build\installer\spark.aip"/>

-            <arg line="/SetVersion ${version}"/>

+            <arg line="/SetVersion ${version.major}.${version.minor}.${version.revision}"/>

         </exec>

 

         <exec executable="${advinst.path}\AdvancedInstaller.com"

@@ -488,7 +488,7 @@

         <exec executable="${advinst.path}\AdvancedInstaller.com"

               failonerror="true">

             <arg line="/edit build\installer\spark.aip"/>

-            <arg line="/SetPackageName ${win.msi.nojre}"/>

+            <arg line="/SetPackageName ${win.msi.nojre} -buildname DefaultBuild"/>

         </exec>

 

         <exec executable="${advinst.path}\AdvancedInstaller.com"

Outcomes