Skip to content

TurekBot/getdownwindowsinstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An example of how to deploy an application that automatically updates with Getdown

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published