Giter VIP home page Giter VIP logo

getdownwindowsinstaller's Introduction

Getdown - Windows Installer

Shows how to package your application in an installer along side getdown. Getdown will update the app each time the app is opened.

To get started

  1. Clone or download this repository (or copy the structure)
  2. You need to install NSIS for generating the native installer.
    1. http://nsis.sourceforge.net/Download
  3. Fill in, change, or comment out anything in pom.xml that is labeled with FILLMEIN.
  4. Provide your own images
    1. You can replace myapp.ico with your own icon
      1. You'll need to either rename your icon or rename all of the "myapp.ico" in installationConfiguration.nsi
    2. You can replace myappsmall.ico with your own icon
      1. You'll need to either rename your icon or rename all of the "myappsmall.ico" in installationConfiguration.nsi
    3. You can replace myappbanner.bmp with your own banner
      1. You'll need to either rename your banner or rename all of the "myappbanner.bmp" in installationConfiguration.nsi
  5. Choose a license and put it in nsis/License.txt
  6. Add some instructions for the user to nsis/Readme.txt
  7. Run mvn package
  8. This will generate 3 folders in the target directory: getdown, getdown-stub, and getdown-applet
    1. The getdown folder contains everything that getdown needs in order to perform an update.
    2. The getdown-stub folder contains everything that the installer needs.
    3. The getdown-applet folder contains everything you need to deploy the application as an applet.
  9. Copy the contents of target/getdown to your website/local webserver
    1. (make sure it's located specifically at whatever you put in appbase).
  10. Run the installer; this will
    1. download the application from your website/local webserver
    2. and install the application on your computer.

To test the updating

  1. Change something in your app
  2. Run mvn package
  3. Upload the contents of the getdown folder to your website/local webserver.
    1. Make sure it's placed exactly at appbase
  4. Open up the application from the start menu
  5. Watch your program update itself.

getdownwindowsinstaller's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

getdownwindowsinstaller's Issues

Non-parseable POM

The pom file seems to have several problems.
The first problems occur at line 67, column 2196 and column 2278 with unexpected backslashes.
...<b>please return to site and resend the information<\/b>
..."Sending the message cannot be approved,<\/br>

Maven home: C:\Program Files (x86)\apache-maven-3.6.0\bin..
Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_161\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

apache-maven-3.6.0\bin\mvn package

[INFO] Scanning for projects...
[INFO]
[INFO] ---------< tech.ugma.education.getdown:CIS-windows-installer >----------
[INFO] Building Updatable Cis App 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from taw-repo: http://files.theanubianwar.com/maven/snapshots/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom
[WARNING] Checksum validation failed, expected <!DOCTYPE but is 8f6a2bdd05c9b15db62440ad8b6e8ab14e536617 from taw-repo for http://files.theanubianwar.com/maven/snapshots/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom
[WARNING] Could not validate integrity of download from http://files.theanubianwar.com/maven/snapshots/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom: Checksum validation failed, expected <!DOCTYPE but is 413dc2701fb255e83582e1154c0bf1e5b2fdd153
[WARNING] Checksum validation failed, expected <!DOCTYPE but is 413dc2701fb255e83582e1154c0bf1e5b2fdd153 from taw-repo for http://files.theanubianwar.com/maven/snapshots/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom
Downloaded from taw-repo: http://files.theanubianwar.com/maven/snapshots/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom (100 kB at 34 kB/s)
[WARNING] The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.477 s
[INFO] Finished at: 2018-11-20T13:43:42+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: 1 problem was encountered while building the effective model for org.apache.maven.plugins:maven-resources-plugin:2.6
[ERROR] [FATAL] Non-parseable POM C:\Users\pb00067\.m2\repository\org\apache\maven\plugins\maven-plugins\23\maven-plugins-23.pom: unexpected character in markup \ (position: START_TAG seen ...e operation, <b>please return to site and resend the information<\... @67:2196)  @ C:\Users\pb00067\.m2\repository\org\apache\maven\plugins\maven-plugins\23\maven-plugins-23.pom, line 67, column 2196
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

after resolving these, the build still fails with:
[ERROR] [FATAL] Non-parseable POM C:\Users\pb00067\.m2\repository\org\apache\maven\plugins\maven-plugins\23\maven-plugins-23.pom: start tag unexpected character ; (position: TEXT seen ...\n\tvar recipientsList = "";\n\n\tfor (var i=0; i<recipientsArr.length;... @184:39) @ C:\Users\pb00067\.m2\repository\org\apache\maven\plugins\maven-plugins\23\maven-plugins-23.pom, line 184, column 39 [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

License file

Can you put a LICENSE file (f. e. MIT) in your repository, so I am legally allowed to adapt your example to my needs?

Thank you very much!

just trying a mvn package against this

Hi,

I am just running a mvn -X package against this and am getting this error

Could not transfer artifact org.icestuff:getdown-maven-plugin:pom:0.0.3-SNAPSHOT from/to getdown-maven-plugin-mvn-repo (https://raw.github.com/rockfireredmoon/getdown-maven-plugin/mvn-repo/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

seems that the URL settings have been changed, I was wondering if you could guide me to fix this?

thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.