<p></p>
<pre><code>Chocolatey v0.10.15
Installing the following packages:
geany-plugins
By installing you accept licenses for the packages.
Progress: Downloading geany-plugins 1.37... 100%

geany-plugins v1.37 [Approved]
geany-plugins package files install completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
Hashes match.
Installing geany-plugins...
WARNING: Setup was cancelled.
ERROR: Running ["C:\Users\Jatlivecom\AppData\Local\Temp\chocolatey\geany-plugins\1.37\geany-plugins-1.37_setup.exe" /S ] was not successful. Exit code was '2'. Exit code indicates the following: Setup was cancelled..
The install of geany-plugins was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\geany-plugins\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - geany-plugins (exited 2) - Error while running 'C:\ProgramData\chocolatey\lib\geany-plugins\tools\chocolateyinstall.ps1'.
 See log for details.
</code></pre>
<p>If I manually install Geany 1.37 from <a href="https://download.geany.org/" rel="nofollow">https://download.geany.org/</a> then install geany-plugins using chocolatey, the <code>choco install -y geany-plugins</code> command automatically upgrades geany to 1.37.1 and installs geany-addons a second time, resulting in the same error and the plugins are not installed.</p>
<p>Note that Chocolatey seems to be the only way to get geany-plugins.</p>
<ul class="contains-task-list">
<li class="task-list-item">
<p><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I had a hard time finding it since the Geany plugin registry doesn't point to <a href="https://plugins.geany.org/install.html" rel="nofollow">https://plugins.geany.org/install.html</a></p>
</li>
<li class="task-list-item">
<p><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Running the geany-plugins install file manually from Windows Explorer reveals a warning dialog that warns that problems will occur if geany-plugins is installed since it is version 1.37 and Geany is 1.37.1.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This is apparently what prevents silent install, but I actually get an error if I manually use the /S switch:</li>
</ul>
</li>
</ul>
<pre><code>"C:\Users\Jatlivecom\AppData\Local\Temp\chocolatey\geany-plugins\1.37\geany-plugins-1.37_setup.exe" /S
At line:1 char:102
+ ... l\Temp\chocolatey\geany-plugins\1.37\geany-plugins-1.37_setup.exe" /S
+                                                                         ~
You must provide a value expression following the '/' operator.
At line:1 char:102
+ ... l\Temp\chocolatey\geany-plugins\1.37\geany-plugins-1.37_setup.exe" /S
+                                                                         ~
Unexpected token 'S' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExpectedValueExpression
</code></pre>
<h2>Workaround</h2>
<ul>
<li>Install geany-plugins using chocolatey (allow the install to fail, but note the location of the installer in Temp)</li>
<li>Uninstall Geany</li>
<li>Install Geany 1.37 from <a href="https://download.geany.org/" rel="nofollow">https://download.geany.org/</a></li>
<li>Install the temporary geany-plugins</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2849">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4ANDKV22KFXGVUILDTY353XANCNFSM5AYMBESA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZF7SLB3H3ITOPW7DDTY353XA5CNFSM5AYMBESKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OE6ZQWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2849",
"url": "https://github.com/geany/geany/issues/2849",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>