Advanced Installer msi creation help

Hello,

I am trying to create an msi of a branded spark. I followed the instruction on the following link

I was able to compile the program with ant and can successfully run the

spark_2_5_8\target\build\bin\startup.bat on windows and the startup.sh on linux and mac

I want to install using an msi so I tryed using Advanced Installer as mentioned in the “how to brand” link above.

The install that I generate fails.

The application file setting for the branded spark are as follows

bin

start.bat

documentation

jdk <—taken from my java installation

lib

windows

logs

plugins

resources

sounds

xtra

emoticons

Then in the Java Products section I created a new product

the settings tab

contains for the classpath

APPDIR\lib\sindows\jmf.jar

APPDIR\lib\startup.jar

APPDIR\lib\windows\jdic.jar

APPDIR\resources

APPDIR\lib\windows

and the JRE settings

main class: org.jivesoftware.launcher.Startup

I got the information from the startup.bat and are non branded install of spark. Could somebody please tell me what Im doing wrong. This is not only my first windows projects but also my first java/ant/msi attempt.