I was working on a project where I was using Java6 compiler and creating a installer. Now I want to move on java7 compiler, but stuck on one issue. My project was including \bin\hpi.dll,\bin\msvcrt.dll during installer creation, but while moving to Java7 , I found those DLLs are missing and installer is not getting created properly.
Please let me know the alternate solution or if any other DDL needs to be included.
My installer checks for database connection during install and proceed installation only after database connection test was successful. It is failing during database connection check with unknown error. I don't know, if there are any other dependency. I am using the same code which was being used with java6.
I would be very surprised if you needed to include the Microsoft Visual Studio end-user runtime DLL; those are installed packages that Microsoft itself distributes. Distributing the DLL yourself only means you're spreading a potentially outdated version that may conflict with other DLLs part of the runtime installation.
From Wikipedia http://en.wikipedia.org/wiki/Microsoft_Windows_library_files#Msvcrt.dll_and_Msvcpp.dll:
"Msvcrt.dll is the Microsoft Visual C Run-Time Library (and Msvcpp.dll is standard C++ library) for Visual C++ version 4.2 to 6.0".
Now java 7 is using msvcr100.dll, and you should find it in the bin directory. They are therefore using Visual Studio 2010 for Java 7.
A quick search for hpi.dll shows that it was part of Java 6 and it's (legitimately) not part of Java 7 anymore.