stork icon indicating copy to clipboard operation
stork copied to clipboard

install fails on Windows

Open ross-oreto opened this issue 5 years ago • 2 comments

Environment:

  • java 8
  • jooby 2.8.10
  • Windows 10
  • maven 3.6.3

This error occurred after packaging a Jooby app which uses the jooby-stork plugin https://github.com/jooby-project/jooby/blob/2.x/pom.xml#L151 which uses stork 3.1.0

Steps:

jooby create test --stork
cd stork
  • in stork.yml
platforms: [ WINDOWS ]
  • package
mvn clean package
  • extract /target/test-1.0.0.stork.zip and run
\bin\test.bat --install

Expected Result:

  • The application is installed and can then be started using the start command.

Actual Result:

bin\test64.exe is not compatible with the version of Windows you're running. 
Check your computer's system information and then contact the software publisher.

ross-oreto avatar Aug 24 '20 19:08 ross-oreto

Only administrators w/ elevated privileges can install services. I'd suggest two things:

  1. Does --run work vs. --install
  2. Open up the cmd.exe as an Administrator and give that a try.

jjlauer avatar Aug 24 '20 21:08 jjlauer

  1. Yes run does work
  2. When running CLI as admin and trying to run --install, I still get a "Unsupported 16-Bit Application" error.

ross-oreto avatar Aug 25 '20 00:08 ross-oreto