Installing Growl

paul roebuck's Avatar

paul roebuck

15 Oct, 2018 02:03 PM

Full Disclosure: UNIX/OS X guy...

Read the [documentation]( for installing third party software. I lack _any_ experience attempting to automate third-party Windows software installation, but the Chocolatey route seemed doable. Need to install [Growl]( to enable desktop notification support for unit testing of [Mocha]( releases.

[Until it wasn't]( As the [Chocolatey package]( no longer seems maintained, any pointers how to move forward?

  1. 1 Posted by Ilya Finkelshte... on 16 Oct, 2018 07:54 AM

    Ilya Finkelshteyn's Avatar

    You come to the right place, Windows shop here :) Though we do a Linux builds too.

    Please try using this PowerShell at install stage. You can wrap it into the .ps1 file or call directly from YAML.

    $exePath = "$($env:USERPROFILE)\GrowlInstaller.exe"
    (New-Object Net.WebClient).DownloadFile('', $exePath)
    mkdir C:\GrowlInstaller
    7z x $exePath -oC:\GrowlInstaller | out-null
    cmd /c start /wait msiexec /i C:\GrowlInstaller\Growl_v2.0.msi /quiet
    $env:path = "C:\Program Files (x86)\Growl for Windows;$env:path"
  2. 2 Posted by paul roebuck on 16 Oct, 2018 07:20 PM

    paul roebuck's Avatar

    Been trying to get this to work for some time now, but not really making any progress.

    "appveyor.yml': <>

    Job Output: <>

  3. 3 Posted by Paul Roebuck on 16 Oct, 2018 09:18 PM

    Paul Roebuck's Avatar

    Still a no-go.
    Details posted with original issue.

  4. 4 Posted by Ilya Finkelshte... on 16 Oct, 2018 09:22 PM

    Ilya Finkelshteyn's Avatar

    Try using script as is first, then customize. It was tested before publishing (as we always do :)). For example there is a reason C:\GrowlInstaller is hard-coded and not a variable. Let us know how it goes.

  5. 5 Posted by paul roebuck on 17 Oct, 2018 11:40 PM

    paul roebuck's Avatar

    Had no idea using variables in a script would cause problems... LOL
    But I should have known better than to customize first.

    As it's now installed, where is the canonical place in "appveyor.yml" from which to run it?
    For the moment, I started Growl within the install block (and let it get going while other installs were occurring). Looked at services but that appears only for predefined dbconns, not allowing anything custom. There's no after_install. There's neither before_build nor after_build if MS build is false [not completely unexpected though]. Any guidance would be appreciated.

  6. 6 Posted by Ilya Finkelshte... on 18 Oct, 2018 04:52 PM

    Ilya Finkelshteyn's Avatar

    I actually have no clear idea why variable did not work there, I feel this has something to do with 7z. But honestly I did not dig too deep.

    You can use before_build together with build_script, as long as you do not have build section (which fires MSBuild). Like this:

    - echo before build
    - echo build script

    Generally it is up to you too choose when to start it, it should just happen after installation and before build. before_build looks clearer but both install and beginning of the build_script will work too.

  7. Ilya Finkelshteyn closed this discussion on 18 Dec, 2018 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac