I will need to package an older java application with it's dependencies on Windows which are quite a lot. I've exported a runnable .jar and got the depending native libraries, but still I need to make sure prerequisites are installed like:
- JDK6 or at least JRE6 (with environment PATH variable pointing to the bin directory)
- Quicktime
- WinVDIG
I don't have a lot of experience with batch files or installers on windows so could use some help.
I see some people make bundles (like Zigfu for example which installs OpenNI/NITE/Drivers and sets environment variables). Is it easy to make those ? If so, how ?
They look 'clean'/easier to the typical user.
I presume a batch file might be easier, right ? Can I check when a package finished installing and set/check environment variables ? If so, how ?
Thanks!
Best Answer
JRE Install
speedup java:
Quicktime:
silent install msi
How to set up a silent install of QuickTime through a batch script
WinVDIG:
WinVDIG download
Inno Setup Unpacker info
Inno Setup Unpacker download
unpack WinVDIG:
see install_script.iss
write copy file script, or create msi
Not use Java in environment PATH!
Oh, install 8-10 java VM and test java env ... it not work.
Use
%APPDATA%\Sun\Java\Deployment\deployment.properties
get your java, set path at cmd, run JVM
JDK registry powershell
JRE registry powershell
Java Webstart registry powershell
JVM 64:
JVM 32: