webOS Nation Forums >  webOS Developers >  webOS Development > ATTN Homebrew Creators - IPK Installer
ATTN Homebrew Creators - IPK Installer
  Reply
 
Thread Tools Display Modes
Old 09/01/2009, 01:46 AM   #1 (permalink)
Member
 
Posts: 614
UPDATE:
A WIKI has been created here http://www.webos-internals.org/wiki/...IPKG_Installer

Version 1.1 is available in the Git repoitory link above. Check the above link for changes since 1.0.

Hi guys,

I have created a simple standalone IPK installer.

This is a single file which contains your IPK, application details, homepage and even a donation link. Once double clicked all the user has to do is click Install and the application is installed on their phone.

What this means is applications such as filecoster, preware and preload for example could be packaged in one file for easy installation.

There are two versions of this tool. One Java (All OS’s supported) and one Microsoft Dot Net 2.0 (Windows Only, may run under Mono).

With the Java version all that is required is Novacom drivers and the WebOSDoctor.jar. (I have kept this convention to match WebOSQuick Install. (See http://forums.precentral.net/homebre...k-install.html).

The Windows Version has the following features:
• Only the Novacom drivers are required.
• This application natively supports connecting to Novacom WITHOUT the webos java file. Users don’t have to worry about downloading such a large file.
• Can detect if the installation was successful or if installation failed.
• Detects if Novacom is installed and started. If it is not started it will start it for you.

Both applications are open source and I am happy to work with anyone to include new functionality or help packaging up your application.

Please see attachments below for a pre-compiled version of Preload 2.0 Installer.

Thanks to pimpmypre from webosgroup.com for the application.
Please see my next two posts for downloads for the source and compilation installations.

Whilst this is open source if your find any of my code handy especially my work in DotNet (that took quite a bit to get working) please contact me for help and if you can please donate.
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted

Thanks,
Greg
Attached Files
File Type: zip DotNet - PreLoad Installer.zip (380.0 KB, 44 views) Email Attachment
File Type: jar PreloadInstaller.jar (300.2 KB, 30 views) Email Attachment

Last edited by greg_roll; 09/06/2009 at 12:24 AM.
greg_roll is offline   Reply With Quote
Thanked by AnOutsider, linwiz311
Old 09/01/2009, 01:49 AM   #2 (permalink)
Member
 
Posts: 614
UPDATE:
A WIKI has been created here http://www.webos-internals.org/wiki/...IPKG_Installer

Version 1.1 is available in the Git repoitory link above. Check the above link for changes since 1.0.


Download attached Java IPK Installer.zip. Extract to a directory. Copy the webosdoctor.jar to the same folder. Download WebOSDoctor from http://palm.cdnetworks.net/staging/r...0ewwsprint.jar and rename to webosdoctor.jar.

Requirements:
WebosDoctor.jar
Java JDK
Netbeans or ANT.

Customise for your Installer
Open the Installer.Settings file in “src\IPK\resources” in a text editor like wordpad or Notepad++. Change the settings to match your requirements.
Edit about-Installer.png and Main-Graphic.png with your own graphics and logos as appropriate.

Copy your IPK file to “src\IPK\resources” and name it Installer.ipk. Delete the existing file if it exists.

ANT and the Java JDK (Not Tested Sorry)
If you have ANT and the Java JDK you should be able to run Compile.cmd in the root directory of the extracted files.
This should create a file called IPKInstaller.jar in the dist folder.

NetBeans and the Java JDK
If you don’t have ANT installed I recommend you use Netbeans 6+. Netbeans can be downloaded from Java SE Downloads - Sun Developer Network (SDN) with Netbeans. See download called “JDK 6 Update 16 with NetBeans 6.7.1”.

Open the project in Netbeans and press shift+F11. This should create a file called IPKInstaller.jar in the dist folder.

Licence
The attached code may not be used in a closed source application without approval from me. If approval is granted you need to credit me in your applications credits.
If you wish to make changes and/or additions please contact me so we can work collectively.

Thanks,
Greg
Attached Files
File Type: zip Java IPK Installer.zip (154.6 KB, 43 views) Email Attachment

Last edited by greg_roll; 09/06/2009 at 12:34 AM.
greg_roll is offline   Reply With Quote
Old 09/01/2009, 01:55 AM   #3 (permalink)
Member
 
Posts: 614
UPDATE:
A WIKI has been created here http://www.webos-internals.org/wiki/...IPKG_Installer

Version 1.1 is available in the Git repoitory link above. Check the above link for changes since 1.0.

Download attached .NET IPK Installer.zip. Extract to a directory.

Requirements:
DotNet Framework 2.0.

Customise for your Installer
Open the Installer.Settings file in “src\IPK\resources” in a text editor like wordpad or Notepad++. Change the settings to match your requirements.

Edit about-Installer.png and Main-Graphic.png with your own graphics and logos as appropriate.

Copy your IPK file to “src\IPK\resources” and name it Installer.ipk. Delete the existing file if it exists.

Compile
Double click Compile.cmd. (For best results run Compile.cmd form a command line window.) It should create a file called IPKInstaller.exe in "obj\Release".

Licence
The attached code may not be used in a closed source application without approval from me. If approval is granted you need to credit me in your applications credits.
If you wish to make changes and/or additions please contact me so we can work collectively.
Attached Files
File Type: zip .NET IPK Installer.zip (545.0 KB, 30 views) Email Attachment

Last edited by greg_roll; 09/06/2009 at 12:34 AM.
greg_roll is offline   Reply With Quote
Old 09/01/2009, 03:30 AM   #4 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,568
Quote:
Originally Posted by greg_roll View Post
I have created a simple standalone IPK installer.

This is a single file which contains your IPK, application details, homepage and even a donation link. Once double clicked all the user has to do is click Install and the application is installed on their phone.

What this means is applications such as filecoster, preware and preload for example could be packaged in one file for easy installation.
Great stuff!

Since it's open source, WebOS Internals will be very interested in using it to package up Preware for easy installation.

I've contacted Greg in private to facilitate this.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 09/01/2009, 08:14 AM   #5 (permalink)
Member
 
pimpmypre's Avatar
 
Posts: 425
Greg, distribution seems to be working great for our users - no complaints. Thanks for taking the idea and running with it!

Mitch
__________________
WOG Dev - WebOS Group http://www.WebOSGroup.com
PMP Dev - http://www.PimpMyPre.com
Apps: WOG O.S.K., WOG Card Keeper, WOG Glowstick, WOG Kid Protect, PreLoad, PimpMySounds
pimpmypre is offline   Reply With Quote
Old 09/01/2009, 09:18 AM   #6 (permalink)
Member
 
AnOutsider's Avatar
 
Posts: 369
Great stuff man, thanks!
AnOutsider is offline   Reply With Quote
Old 09/01/2009, 07:29 PM   #7 (permalink)
Member
 
TMed_ATL's Avatar
 
Posts: 410
Very cool. Bout to try it out right now. Thanks
__________________
SCK Manager
TMed_ATL is offline   Reply With Quote
Reply

 

Tags
homebrew, installer, ipk

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0