Best Practices Question

J2SE RE Update 9 (First package ever)

04/18/2014 2549 views

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!

0 Comments   [ + ] Show comments


All Answers

Answered 04/21/2014 by: krisc4
Second Degree Blue Belt


Welcome to ITninja!

Check this out 

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.


  • 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)
...Im too lazy to type now...
Good luck!
Answered 04/26/2014 by: rileyz
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ