On Mon, Oct 8, 2012 at 5:56 PM, Justin Baker <
azol...@gmail.com> wrote:
> On Monday, October 8, 2012 6:58:35 PM UTC-5, Jon wrote:
>>
>> > All that being said, I may look at building an MSI package. It would
>> > make
>> > some aspects of what I need to do sometimes much easier.
>> > But that's something I won't really be able to do anytime soonish.
>>
>> The installer originally was an MSI. You can spelunk the git history for
>> details, but I believe the issue was a weakness (file discovery?) with Wix.
>> When I got involved, the installer had already switched from MSI to a
>> rudimentary Inno exe. I haven't looked at Wix in a long time, but with
>> large file count projects like TortoiseHg using it and the recent Wix 3.6
>> release, I bet things (Heat?) are better.
>>
>> As you allude, a key issue is bandwidth. Another is whether an MSI is
>> substantially better than our current exe to justify the effort.
>
>
> Actually, it's not as much a bandwidth that's an issue it's package
> management.
>
> Right now deploying Ruby to certain machine requires a bit of finesse with
> installation scripts, I ended up just rolling a customized login script.
> The problem came when I decided to upgrade Ruby, it wasn't a trivial
> process.
>
> With an MSI package I can basically just tell my server to assign the new
> version of Ruby to these machines, and mark the old version for an
> uninstall.
MSI's are a pain to work with, but they excel when it comes time to upgrade.
>>
>> Luis:
>>
>> * We have no current plans to provide an MSI installer.
>> * Puppet appears to be able to be able to handle our current installers;
>> please double check with them.
>> * If the Puppet gurus provide a recommendation, please reply to this
>> thread with a link. Thanks.
Puppet 2.7.x and 3.0 can manage MSI's. Puppet 3.0 can also manage
executable installers (InstallShield, NullSoft, Inno Setup, etc). I
can't find the documentation for it at the moment, but the ticket
we've been using to track it is here:
http://projects.puppetlabs.com/issues/11870
With that said, Puppet itself requires ruby, so we've created an MSI
that includes ruby, gems, puppet, etc. This greatly simplifies the
bootstrapping problem for us. The repo is here:
https://github.com/puppetlabs/puppet_for_the_win. The most interesting
parts are the rake tasks we use to drive the wix toolset:
https://github.com/puppetlabs/puppet_for_the_win/blob/master/tasks/windows/windows.rake
and the main puppet.wxs file, which includes the fragments generated by heat:
https://github.com/puppetlabs/puppet_for_the_win/blob/master/wix/puppet.wxs
> If I do decide to look into an MSI package it would probably be more along
> the lines of a "package" rather than an installer.
>
> Since MSI packages can be installed it could function as an installer, but I
> personally would know exactly what I wanted.
> From there I would look into how to build it into the recipes. However, from
> a personal perspective an MSI package makes sense for me.
>
> I don't see myself running into the scenario I would need to upgrade Ruby or
> manage the installations anytime soon, but that's the scenario.
>
> I'll also admit I didn't put two and two together until today. It's not an
> extremely well thought out plan.
> But if we want to look into RubyInstaller being a better citizen in a
> managed environment this may be something to consider.
>
> Justin
>
> --
> You received this message because you are subscribed to the Google Groups
> "RubyInstaller" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/rubyinstaller/-/qFmCLOje_AQJ.
>
> To post to this group, send email to
rubyin...@googlegroups.com.
> To unsubscribe from this group, send email to
>
rubyinstalle...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/rubyinstaller?hl=en.
--
Josh Cooper
Developer, Puppet Labs