Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,194 Members 52,023 Now Online
XDA Developers Android and Mobile Development Forum

[tool] AIPPackager and Installer - create installers for your RT Desktop apps [14/01]

Tip us?
 
djboo
Old
(Last edited by djboo; 18th January 2013 at 02:44 AM.)
#1  
djboo's Avatar
Senior Member - OP
Thanks Meter 40
Posts: 335
Join Date: Mar 2005
Location: Bournemouth

 
DONATE TO ME
Default [tool] AIPPackager and Installer - create installers for your RT Desktop apps [14/01]

This version/thread retired

new version - with source - can be found here: http://forum.xda-developers.com/show...php?p=36854150


This release composes of two parts:

The RTDPackager which creates an AIP file, and AIPInstaller which is the installer for these AIP files.

V1.1 of RTPackager release - now fully functional.

AIPInstaller Usage

Place the exe file and associated DLL in a folder somewhere sensible. I have not tested in ProgramFiles yet but the app elevates UAC so should be ok.

Double click on any AIP file (I include one as an example) and windows willl show this:


select 'more options' which will show this:


check the check box at the top and then click 'Look for another app on this pc'

A browse dialog will open - find and select AIPInstaller and you are done. You only need to do this the first time. I intend to add an auto install to this, so in future you can just double click the installer and it'll set itself up, but till then...

From now on, you can double click an AIP file and the installer will pop up. Usually just hitting 'install' will be all you need to do (there are some advanced functions like disabling the install batch if it exists, and changing the install path which isnt really recommended)

RTDPackager Usage

This utility is designed for creating AIP files. Its worth paying note that the AIP format is designed for repos more than it is the installer - so there are a lot of details here which the repo can use to make you app more visible.

V1.1 now has full open and save support.

Save will save a template XML, which can be loaded later with the Open button. Open will also open an existing AIP file and fill in the details.
Create Package no longer saves in the same place as the files being packaged - it opens a save dialog.
The browse button will now work and populate the run EXE field and the folder field.



some details:

AppName is the display name - and the install folder - so avoid \'s and such. If you change this in an update, it will get installed to a new folder.
Updates are detected based on the App GUID. Change this, it will appear as a new app - use the same GUID on more than one app and you will have conflicts. The generate button for GUID *DOES* work - you should only use it on the first release of your app - and for the time being, keep it safe for any updates.

Run EXE is the exe that will be launched by the store when the user asks to run it - and if a shortcut name exists, will be placed in the start menu.

Install/uninstall batch files are option batch files for installing/uninstalling registry settings and the like. There is currently no uninstaller, but the store app should have this built in - the uninstall batch is NOT for deleting files - the store will handle that.

App version number is a REAL number. ie. 1.03 is ok. 1.0.3 is not.

App category is for placing your app in a 'folder' - it is free form, with | splitting. Anyone can create a new category this way and its not up to the repo manager to manage this. Obviously it will work better if we have sensible categories such as 'Apps|Browsing' or 'Emulators|GameBoy' - while its totally possible to do 'djboo|prerelease|funthing' - i hope we dont do that.

DOWNLOADS

First Release of AIP installer: http://forum.xda-developers.com/atta...1&d=1358172785

V1.1 Release of RTD Packager: http://forum.xda-developers.com/atta...1&d=1358184708

Example AIP file (is in a zip as XDA wont allow the AIP extension): http://forum.xda-developers.com/atta...1&d=1358172785
Attached Thumbnails
Click image for larger version

Name:	aip1.png
Views:	5610
Size:	3.6 KB
ID:	1644183   Click image for larger version

Name:	aip2.png
Views:	5468
Size:	18.3 KB
ID:	1644184  
Attached Files
File Type: zip AIPInstaller.zip - [Click for QR Code] (114.1 KB, 92 views)
File Type: zip CrystalBoy.zip - [Click for QR Code] (141.2 KB, 77 views)
File Type: zip RTDPackager.zip - [Click for QR Code] (114.1 KB, 29 views)
File Type: zip RTDPackager_V1.1.zip - [Click for QR Code] (115.2 KB, 67 views)
Surface RT | Nexus 7 | iPad G1 | Lumia 920 | Lumia 800 | Omnia 7 | HTC Desire S | HTC HD2
www.ezmuze.co.uk
The Following User Says Thank You to djboo For This Useful Post: [ Click to Expand ]
 
djboo
Old
#2  
djboo's Avatar
Senior Member - OP
Thanks Meter 40
Posts: 335
Join Date: Mar 2005
Location: Bournemouth

 
DONATE TO ME
reserved
Surface RT | Nexus 7 | iPad G1 | Lumia 920 | Lumia 800 | Omnia 7 | HTC Desire S | HTC HD2
www.ezmuze.co.uk
 
djboo
Old
#3  
djboo's Avatar
Senior Member - OP
Thanks Meter 40
Posts: 335
Join Date: Mar 2005
Location: Bournemouth

 
DONATE TO ME
Note: Once the RTD Packager is complete, code will be shared for both - that should be tonight.
Surface RT | Nexus 7 | iPad G1 | Lumia 920 | Lumia 800 | Omnia 7 | HTC Desire S | HTC HD2
www.ezmuze.co.uk
 
ingramator
Old
#4  
Junior Member
Thanks Meter 0
Posts: 22
Join Date: Jan 2013
Nice work so far, haven't tested all elements of it yet but it looks pretty good! Keep up the good dev work!
Thread Tools
Display Modes