Site Notice - We are currently investigating an issue with missing download links. Apologies for any inconvenience caused. PaulOBrien

  • Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

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

9 posts in this topic

Posted · Report post

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) - APK2EXE.zip

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.

    apk2exe1.png


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

    apk2exe2.png

    apk2exe3.png


  • Test your installer! <_<

    apk2exe4.png

Done! B)

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

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
0

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.