Making an application portable - Windows Mobile Development and Hacking General

Is there any way to make a given application run portably? Specifically, I want to be able to take a given app, install it to my SD card in such a way that I can back up the shortcuts and then the next time I flash a ROM or hard reset I have only to copy the shortcuts to my start menu folder and have the application work without further fuss.
As examples of some specific programs, in games I would like to be able to keep my save games and progress, my configuration for MortPlayer, etc.

Yep there is no reason why you can't do that. You might want to do some reading as most custom ROMs have either Sashimi or UC (User Customization).

I have some hundreds of portabilized winmo apps. Most of the apps I use don't need to be installed, including 100% of the games.
Normaly I install once, copy full folder to any other location, then uninstall, then try to run from this other location.
If the app run, you got it portable and only need to create new links in start menu.
If it don't, you could install again and try to find if there is a registry keys for the app, back up the key, copy the app to any other place, unistall the app, import reg key and try again.
If it don't work maybe it cop some files to windows or any other system folder...
To recover the new Start Menu links after flashing, you could use UC or sashimi as sugested previously.

Thanks. The ones I've tried so far haven't worked, just giving a message that it wasn't installed properly. I will keep trying some more.

Related

Unable to install / uninstall software on Jasjar !!!

I don't know why i can't install any software on the jasjar. run the cabs but it doesn’t ask if i want it on storage or memory and only gives successful installed, but then nothing no app installed
If i go to the remove programs on control panel it appears empty so I can't remove any app either..
any 1 seen this ?
I’m trying this before a hard reset
I have had the same problem. First, I found it is better not to install the extended rom, i.e., after hard reset you need to do a soft reset before the imate cabs are installed on the jasjar (you will find numerous posts on this issue). Furthermore, I suggest you install most of the apps you want before you fully synchronize all your data. Also, I have installed almost all my apps on the storage card.
This way at least I am able to install any programs I want to.
However, I still find that apps will not uninstall (usually best results for uninstall for me were by uninstalling via activesync instead of the remove programs on the jasjar). I thus suggest that you find the apps you really need and desist from experimentation unless you are ready to hard reset regularly. Lastly, I have resorted to uninstalling programs by using a program to fiddle with the registry (like resco explorer) and removing files related to the program I am trying to delete. (Apparently this can be risky).
Hope this helps, apap

Unable to remove items in start menu

When I go to Settings~Menus....I'm unable to remove several programs from my start menu that I have checked. I think the programs have been removed, and I'm guessing that my phone cannot find the shortcut they originally pointed to, so it freaks out and won't let me remove it.
I can only have 7 choices on my start menu, and several of these aren't even installed anymore. Are there any registry edits that I can do to remove these?
Start by checking to see that nothing's running. Active programs will sometimes prevent deletion of their components.
Use a file manager to remove any links from Windows\Startup folder.
Try a soft reset before deleting the stubborn links.
Download ClearTemp and set to clear everything. One of the checks it does is to remove unused shortcuts from your program menus.
If that doesn't work, I don't know what will...

I need to delete unwanted APPS! please help!

I have HD2 for Tmo and im trying to delete b&n reader and mobitv, along with some other apps but i cant find them in the 'remove application' portion of settings...help please? Thanks in advance!!!
dali5 said:
I have HD2 for Tmo and im trying to delete b&n reader and mobitv, along with some other apps but i cant find them in the 'remove application' portion of settings...help please? Thanks in advance!!!
Click to expand...
Click to collapse
I'm sorry to tell you this but you will not be able to remove any of those apps because they are baked as part of the ROM unless you flashed another ROM that the chef's cooked here that is the only way to remove them or if you know how to cook a ROM yourself.
This is what I did to remove the apps:
- Start up the application.
- Hopefully you are running and out-of-date version of the app. When they start up they will check for updated software.
- It will prompt you to download and install the updated software. Install the update.
- After installation is complete, close the app.
- Check the Remove Programs panel, it should now display the app(s) you just installed, allowing you to remove them.
Its a bit of work, but this method allowed me to get rid of most of the useless apps on the HD2.
I think you just have to delete the folder for the app to make it disappear. Haven't tried it myself but if you're never going to use it anyway, what's the harm?
Thanks to all...I will will try to run the program and check for updates...i updated my ROM to 2.13 hasnt made a difference tho...I will keep trying!
i deleted
you can delete them i deleted from the file explorer/totalcomander i did and i dont have the apps on my start menu anymore
jiggahj said:
you can delete them i deleted from the file explorer/totalcomander i did and i dont have the apps on my start menu anymore
Click to expand...
Click to collapse
Did you just delete the links from the "start menu" folder, or did you try removing the program files themselves?
That is the first thing I did when I got my phone... and the first thing I will do after installing the new rom. Plug it into your computer, explore it as you would any other external drive, and delete the entire folders.... there goes the apps you do not want....
prjkthack said:
This is what I did to remove the apps:
- Start up the application.
- Hopefully you are running and out-of-date version of the app. When they start up they will check for updated software.
- It will prompt you to download and install the updated software. Install the update.
- After installation is complete, close the app.
- Check the Remove Programs panel, it should now display the app(s) you just installed, allowing you to remove them.
Its a bit of work, but this method allowed me to get rid of most of the useless apps on the HD2.
Click to expand...
Click to collapse
It doesn't work with Opera.
I have deleted the B&N eReader, BlockBuster and MobiTV by just deleting the directories they were in. Also went into the Start Menu folder in the Windows folder and deleted their icons there so they don't show up in the Start Menu.
I have been unable to delete the Facebook application because the files are in the Windows directory and are read only.
Paten said:
I have deleted the B&N eReader, BlockBuster and MobiTV by just deleting the directories they were in. Also went into the Start Menu folder in the Windows folder and deleted their icons there so they don't show up in the Start Menu.
I have been unable to delete the Facebook application because the files are in the Windows directory and are read only.
Click to expand...
Click to collapse
But this doesn't guarantee you removed unwanted registry entries that can bog down your system.
a_ok2me said:
But this doesn't guarantee you removed unwanted registry entries that can bog down your system.
Click to expand...
Click to collapse
You can do what Paten suggested and then take the final step of running memmaid, it has the ability to clean out reg entries orphaned by removed programs.

[Q] I am a build addict.. what are my auto-install options ?

- - - Seeking the equivalent of Sashimi and SKTracker - - -
Hi,
I installed Froyo Sense 2.2 on my HD2 for the first time yesterday and expect I will be playing around with different builds for a long time until I find 'perfection'.
As a serial WinMo ROM addict, I used to use Sahsimi to back up and re-apply all of my application installs, customisations, skinning, license key input, WiFi and webmail settings etc.. etc.. . So literally after installing a ROM, I can have all of my apps and customisations re-applied within minutes...
But is there an equivalent for Android out there ?
- Is my google tie in aware of my installed applications and will it auto-install them again ?
- Where does Android store installs ?
- Can purchased installs be re-applied without any DRM restrictions ?
- Is there an equivalent of Sashimi (http://forum.xda-developers.com/showthread.php?t=538513). I know on WinMo there are quite a few apps that let you re-installs Cabs, registry edits and XML's
- Are there any application watcher tools that will allow me to find out where applications specific customisations are installed ? The equivalent I'm using on WinMo are SKTracker and MobileMon
Any advice would be appreciated.
- Is my google tie in aware of my installed applications and will it auto-install them again ?
-- Generally yes, every new build I've used recently (last 3 or 4 weeks or so, never checked before) will automatically try and redownload from the market whatever you had before.
- Where does Android store installs ?
-- Not 100% sure I understand but all Android data (sms, apps/games/saves etc) are stored in your /Android/data.img on the SD card.
- Can purchased installs be re-applied without any DRM restrictions ?
-- Theoretically yes, cannot guarantee 100% but it's tied to your google account so in theory it's a yes.
- Is there an equivalent of Sashimi (http://htcpedia.com/forum/showthread.php?t=260). I know on WinMo there are quite a few apps that let you re-installs Cabs, registry edits and XML's
-- Your best bet for that will be Titanium backup. Looks complex once you first open it, but read the wiki (google will help you there) and you'll realise it's actually very simple.
- Are there any application watcher tools that will allow me to find out where applications specific customisations are installed ? The equivalent I'm using on WinMo are SKTracker and MobileMon
-- Not entirely sure on that one afraid, it's not something I've really looked into.
Thanks for the details. I'll look up Titanium Backup.
One thing I have noticed, upon installing a Marketplace App if I clicking onSettings -> Applications -> Manage Applications -> [select the application]
... then there is the option of 'Move to SD Card'.
To me this suggests that all Marketplace installs default to the phone's internal memory.... correct me if I'm wrong.
But I'm not sure if this is the installer for the app or the application itself.
Ideally, I would like to have the installer on my SD card and application installed to the destination of my choice.
One thing I've noticed is that the Market downloads installers to \sdcard\download. They're not named with the original filename, but there's a manifest xml file inside where you can see what file it was.
This way, you can keep backups of all your installers from the Market.
Just copy the ones you want into the AndroidApps folder of the new build and it will automatically install them for you.
This should help make the process a little smoother

1 Spotify installation for 2 users - how?

Hi,
I have very silly problem.
I would like to have my Spotify installation available to bot users of Windows 8 Pro.
I have installed some games (desktop mode), Office, etc.. and all of them are available for both accounts existing in the system.
Not Spotify though.
What should I do? My disk space is limited - I do not see any point for installing this software twice - I can always re-log in the program itself.
Help, please
Is it a desktop app or a "Metro" app? If it's the latter, the same installation will be used for both, you just have to "buy" it on the other account. If it's a desktop app, usually you just need to make sure "Install for all users" is selected during setup.
It is a desktop app and it does not have such an option - it does not ask during installation
But other apps I have - Office 2010, Office 2013 Preview, F1 2011 also did not asked me if I want them just form me or all users of PC.
Problem is this one installs under: C:\Users\Me\AppData\Roaming\Spotify\spotify.exe (and I do not have an option to install it in different place )
Is there any thing I can do about it?
Hmm... interesting. Can you run the installer as Admin? Installing into the user folder like that is usually something done to avoid requiring Admin permissions.
Otherwise, if the installer is not cooperating and you're seriously concerned about the space it uses, do the following:
1. Install it for both users, normally.
2. Create a location on the filesystem that both users can access. I recommend against using a folder under Program Files as that is usually write-restricted and the app may expect to be able to write to itself; ProgramData may be better.
3. Move the binaries (presumably you don't want the data files, just the binaries... or at least, only also move those data files which are same between installs) from one install folder to the new location.
4. Use symlinks (the mklink command in CMD, you may need to be running as Admin) to link the binaries back into the original install folder. You can use either symbolic links or hard links, actually; hard links may have trivially better performance. Neither one will consume a meaningful amount of disk space.
5. Verify that the first install (with the moved-and-linked binaries/data files) still works, then exit it.
6. Delete the relevant files from the second install, then create the links there too.
Congrats, you've done how much work to save yourself a few megs of space?
Your guide will be useful for future - thanks.
Spotify is small enough that I can install it twice

Categories

Resources