J2SE RE Update 9 (First package ever)
Hey guys! My first post and my first package! I was just looking for some general newbie tips and the registration page seemed to encourage posting quite a bit. So what I've got is a VM mimicing the customer image, Admin Studio and Install Shield. Now I've done some simple msi silent installs before but this is my first foray into packaging. I haven't looked into this java one yet but I just wanted to fish for some "What I wish I knew during my first day packaging" type advice. Thanks!
Answers (2)
Visit the Oracle Java download page here. The first link is to download the installation files. Verify the version information to confirm.
Check out the documentation here:
http://www.oracle.com/technetwork/java/javaseproducts/documentation/index.html
Here are a couple of links from ITNinja:
http://www.itninja.com/software/oracle/java-runtime-environment-update-5-1/1-804
http://www.itninja.com/link/silent-installation
Welcome to ITninja!
Check this out
http://www.itninja.com/software/oracle/java-2/7-552
Krisc link is also valid. Just to note version 6 is 1.6 and 7 is 1.7 java. Sometimes shown as 1.7u45, so version 1.7 update 45.
Java is a bollocks MSI, its not really a true MSI - well 1.6 wasnt, not sure if they fixed in in 1.7. It uses some CA's and its own internal guff to register everthing. Anyway, that aside it pretty easy, the link above from Krisc and myself should provide all the information you need.
Workflow
- Does it do what you want it to do, smoke test it. Test with other users accounts etc.
- Packaging, always think about the updating - always suppress it, apps have a tendecy to auto update.
- Testing, test through command line first, never jump into your ESD. You want to know your cmd line is OK first. ALWAYS use logging.
msiexec /i Blah.msi /qb /l*vx %systemroot%\logs\blah.log
use /qb before using /qn. Sometimes you make a noob mistake and forget to elevate your command prompt, if you use /qn you wont see the UAC prompt - trust me it will save you some frustration.
- Aviod the use of Active Setup if you can, there are other methods to propergate to HKCU.
- Stupid questions are OK on ITNinja - just add in all the details, we are *not* mind readers (:
ie, omg my MSI is not installing, pls help me! <- you might get flamed :P
omg my MSI is not installing, pls help me! Ive tried xyz and I have tried abc, and this is the MSI log, any ideas <- this is good. - http://www.itninja.com/software
This is the software lib, search it when packaging - basicly if its not weird ass software it will be in the lib and someone else would of packaged it already. - Might know already? Dont mess with vendor MSI's always use a transform (MST) to apply the changes.
msiexec /i blah.msi TRANSFORMS=Blah.MST /qb /l*vx %systemroot%\logs\blah.log - Dont fix vendor ICE errors generally.
- Regshot
- Beyound Compare
- InstEdit! - use this over Orca. (handy if you just want to read the tables as its quick)