Forum: JRuby Windows installer enhancement?

Posted by Jon Forums (jonm)
on 2010-08-18 20:07
(Received via mailing list)
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
Posted by Thomas E Enebo (Guest)
on 2010-08-18 21:05
(Received via mailing list)
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 <jon.forums@gmail.com> 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: tom.enebo@gmail.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Jon Forums (jonm)
on 2010-08-18 21:16
(Received via mailing list)
> 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<SPECIAL-INSTALLER-ID>  [REG_SZ]  "C:\jruby-1.5.1"

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.