tag:help.appveyor.com,2012-11-13:/discussions/suggestions/952-senchaAppVeyor: Discussion 2018-10-19T08:17:45Ztag:help.appveyor.com,2012-11-13:Comment/392856082016-02-29T17:52:26Z2016-02-29T17:52:26ZSencha<div><p>Hi Richard,</p>
<p>Is 32-bit version without JRE OK?</p>
<p>Also, I'm wondering if it's possible to just bring the files
from your local machine to a build worker and run without install
it there. Did you try that?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/392856082016-02-29T18:50:06Z2017-02-14T11:56:15ZSencha<div><p>32-bit without JRE should be ok.</p>
<p>As far as I know there is not possible to run Sencha Cmd without
installing it. That was out initial idea, but we have not found a
way to do it. Until now, we have a PS script in the yml-config that
downloads and installs Sencha Cmd.</p></div>krbtag:help.appveyor.com,2012-11-13:Comment/392856082016-02-29T19:01:17Z2016-02-29T19:01:17ZSencha<div><p>So, can it still be installed in unattended mode? What command
did you use?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/392856082016-02-29T19:15:14Z2017-02-14T11:56:15ZSencha<div><p>Here is some of the code from the yml</p>
<p>install:<br>
- ps: >- If (Test-Path 'c:\tools\error.log') { Remove-Item
'c:\tools\error.log' }</p>
<pre>
<code>If (Test-Path 'c:\tools\sencha\sencha') { Remove-Item 'c:\tools\sencha\sencha'}
If (Test-Path 'c:\tools\sencha\sencha\') { Remove-Item -Recurse -Force 'c:\tools\sencha\sencha\'}
Add-Type -AssemblyName System.IO.Compression.FileSystem
(New-Object Net.WebClient).DownloadFile('http://cdn.sencha.com/cmd/6.1.0/jre/SenchaCmd-6.1.0-windows-32bit.zip', 'C:\Tools\Sencha.zip')
[System.IO.Compression.ZipFile]::ExtractToDirectory('C:\Tools\Sencha.zip', 'C:\Tools\')
echo 'Starting install of SenchaCmd'
Start-Process 'C:\Tools\SenchaCmd-6.1.0.65-windows-32bit.exe' -ArgumentList ('-q','-dir "c:\tools\sencha\"') -Wait
echo 'SenchaCmd installation complete'</code>
</pre></div>krbtag:help.appveyor.com,2012-11-13:Comment/392856082016-02-29T19:19:46Z2016-02-29T19:19:46ZSencha<div><p>How long does it take to install it?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/392856082016-03-01T10:26:21Z2017-02-14T11:56:15ZSencha<div><p>The installment takes approximately 13 seconds. Download time
not included.</p></div>krbtag:help.appveyor.com,2012-11-13:Comment/392856082016-03-01T14:57:57Z2016-03-01T14:57:57ZSencha<div><p>Then why wouldn't you keep it as part of the build. It's quite
fast and you always have actual version you want without asking us
to upgrade.</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/392856082016-03-02T12:15:55Z2017-02-14T11:56:15ZSencha<div><p>We have several projects that requires Sencha and would then
have to duplicate the scripts for installment in all of them. The
problem is maintainability and not speed.</p>
<p>But of course, we can keep it as part of the build.</p></div>krbtag:help.appveyor.com,2012-11-13:Comment/392856082016-03-02T12:20:13Z2017-02-14T11:56:15ZSencha<div><p>We have several projects that requires Sencha and would then
have to duplicate the scripts for installment in all of them. The
problem is maintainability and not speed.</p>
<p>But of course, we can do that.</p>
<p>Richard</p></div>krb