Guest

Advanced installer and Java commapi dlls

I bought the advanced installer product. Looks pretty good so far, I'm trying to figure out how to get the java commapi win32com.dll to work with my install.

My app works(finds/loads ports on machine) if I point to a bat file using a shortcut, however when I run/point shortcut to program exe, program starts, but the win32com.dll does not register with that exe, so the commapi does not find/load ports.

My bat file has same classpath and starts application same as the .exe, but the java system finds the .dll(in same directory) when I use bat file, however when I use .exe, it doesn't

Any ideas?
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

We tried to replicate your problem but we didn't succeed.

However we created an application similar to yours and we placed the DLL file in the same folder where the EXE file of the Java Application will be generated. The DLL was loaded correctly.

So make sure that your DLL is placed in the same folder as the Java Product EXE file.

If the problem persists please send us your AIP file so we can figure out what is the problem.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”