Windows installer enhancement?

Currently the install4j-based installer populates the registry in a way
that makes it challenging to easily parse to determine the version of
JRuby installed and the installation root directory.

Please consider updating the installer to update the registry with
something similar to:

{HKLM,HKCU}\Software\JRuby\1.6.0
|-- (Default) [REG_SZ]
|-- InstallDate [REG_SZ] “20100901”
|-- InstallLocation [REG_SZ] “C:\JRuby-1.6.0”
`-- PatchLevel [REG_SZ] “123”

I’d like the new version of the soon-to-be-released RubyInstaller DevKit
[1] and its install script [2] to easily enhance any installed Windows
JRubies by automagically discovering their install dirs.

Thanks,
Jon

[1] http://rubyinstaller.org/add-ons/devkit/
[2]
http://github.com/oneclick/rubyinstaller/blob/master/resources/devkit/dk.rb#L10
http://github.com/oneclick/rubyinstaller/blob/master/resources/devkit/dk.rb#L80


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

We will need to examine whether this is easy to do with install4j or
not. Their registry settings that are being set are done by them
without any configuration on our part. It certainly is possible
though even without something useful on install4j’s side.

-Tom

On Wed, Aug 18, 2010 at 1:06 PM, Jon [email protected] wrote:

I’d like the new version of the soon-to-be-released RubyInstaller DevKit [1] and its install script [2] to easily enhance any installed Windows JRubies by automagically discovering their install dirs.
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

We will need to examine whether this is easy to do with install4j or
not. Their registry settings that are being set are done by them
without any configuration on our part. It certainly is possible
though even without something useful on install4j’s side.

-Tom

Thanks for looking into it.

FYI, their default registry settings…

keys stay around after uninstall, no dir info

HKCU\Software\ej-technologies\exe4j\pids

have to track installer id? no dir info

HKLM\Microsoft\Windows\Current Version\Uninstall<SPECIAL-INSTALLER-ID>

have to already know the installer id and parse key string

HKLM\Software\ej-technologies\install4j\installations
|-- instdir [REG_SZ] “C:\jruby-1.5.1”


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email