Jump to content


Photo

Developers - repack your APK files to Windows EXEs [Beta 1]

- - - - -

  • Please log in to reply
8 replies to this topic

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,227 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Hot on the heels of my installAPK utility to let you install APKs from your Windows desktop, I now have another neat trick... which allows developers to distribute APKs as Windows EXE files instead.

What do I need?

NSIS install system - http://nsis.sourceforge.net

APK2EXE (my suite) - Attached File  APK2EXE.zip   994.77KB   19702 downloads
Your APK :)

What does the end user need?

The end user needs their device attached to their PC, with the appropriate drivers installed (which they can grab from http://android.modcao.com/usbdrivers).

How do I use it?

Follow these steps to create your executable!
  • Extract APK2EXE to a new directory
  • Add your APK to the directory
  • Doubleclick APK2EXE.NSI and edit the 3 lines containing information about your application.

    Posted Image

  • Right click the NSI file, and select 'Compile NSIS Script' - this will create your install EXE

    Posted Image

    Posted Image

  • Test your installer! <_<

    Posted Image
Done! B)

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#2
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,227 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Demo - FBook repack - Attached File  Setup.FBook.EXE   879.17KB   1683 downloads
Posted Image

Posted Image

<_<

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#3
silverfoxdemars

silverfoxdemars

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC MAGIC
hello,
I have windows vista and a HTC magic device.
When I double click on an apk file on muy computer, USB driver are required. Can you tell me where to copy those drivers please?
THX
Silverfoxdemars

  • 0

#4
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,227 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#5
Magnetic_dud

Magnetic_dud

    Enthusiast

  • Members
  • PipPipPip
  • 266 posts
  • Location:Italy
  • Devices:Samsung SGH-i600 (WM6)
sorry if i am rude, but i hope that no developers will adopt this system
I hate to running setups on my pc, the best way to distribute the apps is through the market; if the developer wanna make it easier for people to find their app on the market, they could just embed a QR code...


edit: btw this is the best solution for who is not having a data plan or wifi access on his android device

Edited by Magnetic_dud, 14 August 2009 - 11:27 AM.

  • 0
Weird things and Mitac Mio 8390 downloads on DanDanDin
Posted Image

#6
Julian_Rayner

Julian_Rayner

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:HTC Kaiser
Unfortunately not all countries have access to paid apps,

so developers need some other mechanism to sell the applications, installation is of course a very very important part of that process

Well done Paul, have already put a couple of people to your pages on this,

Julian

  • 0

#7
Tisti

Tisti

    Newbie

  • Members
  • Pip
  • 4 posts

Unfortunately not all countries have access to paid apps,

so developers need some other mechanism to sell the applications, installation is of course a very very important part of that process

Well done Paul, have already put a couple of people to your pages on this,

Julian

There is a good 3rd party market in the wild, its called SlideME. http://slideme.org/


 :)

  • 0

#8
JimBob

JimBob

    Newbie

  • Members
  • Pip
  • 29 posts
  • Location:London, UK
  • Interests:My Girlfriend, My e200, Football!!!

sorry if i am rude, but i hope that no developers will adopt this system
I hate to running setups on my pc, the best way to distribute the apps is through the market; if the developer wanna make it easier for people to find their app on the market, they could just embed a QR code...
edit: btw this is the best solution for who is not having a data plan or wifi access on his android device


AFraid I agree with Magnetic_dud but for a different reason...

I run two operating systems in my house, one is OS X 10.6 the other is Ubuntu, my Hero works great with these two OS's out of the box, if developers start implementing Windows based installers for distributing applications it will isolate me and any other non-Windows users.

Primarily I would like to use the Market Place, if that is not an option then some cross platform installer would be welcomed (e.g. Java based).

Paul's concept is great, but a cross platform solution would make a great idea even better! :)

  • 0
e200: Sim-Unlocked, 6th replacement (still buzzing)
SPV: Decertified, Sim-Unlocked, Dropped on 2 occassions, 1 spec of dust under the screen.
Games Consoles Owned: XBOX, Game Cube, GBA, Megadrive 1, SNES, Master System 2, Atari Lynx.
Other Hardware: PC, Amiga 500........who cares!

#9
svmd88

svmd88

    Newbie

  • Members
  • Pip
  • 1 posts

Sorry for resurrecting the dead but...

 

I have just found this little gem you have created and I love it, but I am having a little trouble. First there was a report from NSIS saying an error on line line 14 - figured that one out you had: name ${NAME} instead of: name "${NAME}"

 

then i managed to pack the file into an exe, but then I get this error when trying to install me exe pack

 

Untitled.jpg

 

I'm not sure what i'm doing wrong. any help would be great!


  • 0




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users