Answers.Body: <p>Is it possible? Yes, Mosaico is a client-side Javascript library that runs in the browser. It needs a PHP backend that runs on Windows.</p>
  
  <p>Is it easy? No. Your starting point the <a href="https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/blob/2.x/bin/setup.sh" rel="nofollow noreferrer">setup.sh</a> script runs only on Unix. However, it is not very complicated so that you can try executing the actions manually. But it is dependent on tools like git, npm and grunt, which are not standard on Windows. I expect they can al be installed on Windows, which is in a way make the machine more like Unix (you can even install <a href="https://www.cygwin.com/" rel="nofollow noreferrer">Cygwin</a> if you want to run the setup script.</p>
  
  <p>Maybe the best way start with a Unix machine and get it working. The next step is to copy the extensions and the package directory to your Windows deployment server.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-19T08:47:18.973Z
Answers.LastActivityDate: 2017-04-19T08:47:18.973Z
Answers.UserDisplayName: Kainuk - CiviCooP
Answers.Body: <p>The setup.sh is only necessary to build Mosaico, since it's still in beta.  You don't need it to actually run Mosaico.  Just download a pre-built version here: <a href="http://dist.civicrm.org/extension/uk.co.vedaconsulting.mosaico/latest/uk.co.vedaconsulting.mosaico-latest.zip" rel="nofollow noreferrer">http://dist.civicrm.org/extension/uk.co.vedaconsulting.mosaico/latest/uk.co.vedaconsulting.mosaico-latest.zip</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-03T05:48:04.787Z
Answers.Text: Thank's Jon, I succeed in installation. But in all cases (Linux & Windows) where I installed Mosaico, when I drop an image, I obtain a Json parse error. Do you know if this is because of the beta level?
Answers.UserDisplayName: marcello
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-03T18:07:37.510Z
Answers.Text: @marcello I don't know.  You should look in your Dev Tools (press F12 in your browser) on the "Network" tab and look at XHR requests/responses to see if there's something malformed.  Do you have PHP warnings/notices suppressed?
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-05T06:59:09.910Z
Answers.Text: Not used to use that tool but:
  when uploading the image is in the form, at the end the state pass to 200 and the image disappear.
  Going through the XHR tools I found the error "Class 'Imagick' not found", I will work in this direction. Thanks
Answers.UserDisplayName: marcello
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-05T18:59:56.890Z
Answers.Text: There are many issues on the CiviCRM Mosaico Github dealing with that error - in short, you need to install the ImageMagick tool AND the ImageMagick PHP extension.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-02T03:59:51.450Z
Answers.LastActivityDate: 2017-05-02T03:59:51.450Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I would like to install the Mosaico extension in a Windows server.
  It's possible?
  If yes there is a windows equivalent to setup.sh batch?
  Thanks</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-18T13:30:24.517Z
Comments.Text: Yes it should be possible however not sure about the setup. Try https://mosaico.io/ for further installation details Many thanks Daniella
Comments.UserDisplayName: Daniella
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-19T08:48:29.580Z
Comments.Text: Hi Marcello, what is the motivation for Windows? Is your own development machine windows or is it a requirement of the hosting provider.
Comments.UserDisplayName: Kainuk - CiviCooP
Tags: <mosaico>
Title: Install Mosaico in Windows
ThreadText: # Install Mosaico in Windows
  
  (Asked by: username_0 on 2017-04-18)
  
  I would like to install the Mosaico extension in a Windows server.
  It's possible?
  If yes there is a windows equivalent to setup.sh batch?
  Thanks
  
  **Tags:** mosaico
  
  > **Comments:**
  > **username_1**: Yes it should be possible however not sure about the setup. Try https://mosaico.io/ for further installation details Many thanks username_1  
  > **username_2**: Hi Marcello, what is the motivation for Windows? Is your own development machine windows or is it a requirement of the hosting provider.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-04-19. Score: 2 | Accepted answer
  
  Is it possible? Yes, Mosaico is a client-side Javascript library that runs in the browser. It needs a PHP backend that runs on Windows.
  
  Is it easy? No. Your starting point the [setup.sh](https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/blob/2.x/bin/setup.sh) script runs only on Unix. However, it is not very complicated so that you can try executing the actions manually. But it is dependent on tools like git, npm and grunt, which are not standard on Windows. I expect they can al be installed on Windows, which is in a way make the machine more like Unix (you can even install [Cygwin](https://www.cygwin.com/) if you want to run the setup script.
  
  Maybe the best way start with a Unix machine and get it working. The next step is to copy the extensions and the package directory to your Windows deployment server.
  
  
  ---
  
  ### Answer by username_3 on 2017-05-02. Score: 3
  
  The setup.sh is only necessary to build Mosaico, since it's still in beta. You don't need it to actually run Mosaico. Just download a pre-built version here: <http://dist.civicrm.org/extension/uk.co.vedaconsulting.mosaico/latest/uk.co.vedaconsulting.mosaico-latest.zip>
  
  > **Comments:**
  > **username_0**: Thank's Jon, I succeed in installation. But in all cases (Linux & Windows) where I installed Mosaico, when I drop an image, I obtain a Json parse error. Do you know if this is because of the beta level?  
  > **username_3**: @username_0 I don't know.  You should look in your Dev Tools (press F12 in your browser) on the "Network" tab and look at XHR requests/responses to see if there's something malformed.  Do you have PHP warnings/notices suppressed?  
  > **username_0**: Not used to use that tool but: when uploading the image is in the form, at the end the state pass to 200 and the image disappear. Going through the XHR tools I found the error "Class 'Imagick' not found", I will work in this direction. Thanks  
  > **username_3**: There are many issues on the CiviCRM Mosaico Github dealing with that error - in short, you need to install the ImageMagick tool AND the ImageMagick PHP extension.  
  
  ---
  
  