Notices

Applications and Utilities Talk about apps and utilities for Windows Mobile and PPC

Reply
 
LinkBack Thread Tools
Old 07-23-05, 10:42 AM   #1 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
Mad Programmer's File Dialog Changer, killer of CabInstl – a real must!

Ever wondered how you could install your CAB files onto your memory card/File Store, and not just in the default location in RAM? Yes, you probably already know the answer: CabInstl, which is indeed a great little program.

However, CabInstl doesn’t intregrate well into the Windows Mobile operating system.

What does this mean?

Whenever CAB’s are automatically started, and that’s the case when ActiveSync installs or reinstalls an application, for example when you relocate them (you may want to read my tutorial on relocating apps easily, without reinstallation on the desktop, with ActiveSync), CAB files are just executed without CabInstl's getting into the game.

Much as you can tell ActiveSync in where to install your app, it will put it in the root directory there if you install it to an alternative medium. That is, you won’t be able to fine-tune it to specify a target directory (for example, \MyPrograms or a directory of any name). In these cases, a solution that integrates better than CabInstl into the operating system is certainly welcome. (Incidentally, this question is often asked on PPC forums; for example, here.)

Installation

First, install Mad Programmer's FileDialogChanger (the current version is 1.50) and gsGetFile.dll and import the following registry file ( here's a generic roundup on registry editors and their importing capabilities if you need to get a registry editor to import scripts ):


[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Microsoft Application Installer]
"fAskOptions"=dword:00000001
"fAskDest"=dword:00000001



(Please note that you don’t need to import these keys and values - they are already existing, with different (false) values, which prohibit destination setting to be done.

With any registry editor, just go to HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Microsoft Application Installer] and edit the two keys fAskOptions and fAskDest . As has already been mentioned, they contain zeros (meaning false). You'll need to change them to 1’s (meaning true: that is, do ask for the destination root directory).

This way, you won’t even need to use an import-capable registry editor and you won’t be forced to create a registry import file with the above contents that your particular reg. editor accepts.)


After all this all has been done and you can click a CAB file on your PDA right away (or, just install a program on your desktop that uses the standard ActiveSync dialog). Then, you’ll be taken to the root of your target (the one that you’ve asked for in ActiveSync, concerning the latter case) memory card/File Store:



Then, just navigate to the target directory:



And press OK (top right icon). Then, the program indeed will be installed in the parent directory you’ve specified (see the target directory name in the dialog screen):



Two remarks:

- to download the two ZIP files, right-click the above Mad Programmer-links and choose Save target as… instead of directly clicking them; the latter would also mean a Referer HTTP header check and a subsequent error message.

- still regarding Mad Programmer’s files, you’ll need to copy the following files into your PDA’s \Windows directory:

1. from gsgetfile-i.zip, ARMRel\gsgetfile.dll
2. from filedlgchg.zip, ARM\filedlgchg.cpl

Also, you’ll need to start Settings/System/ File Dialog Changer and check in Exchange Standard File Dialog before you’ll see any change (just press OK after doing this; you won’t need to click Add).



Note that there’re a lot of other goodies Mad Programmer has written. You may want to read, for example, my review of the Force Hi-resolution tool V1.50/1.51 or my tips on using his Fonts on Storage. These two tools are also excellent.

Also note that there’re some applications with custom-written installers that don’t use CAB’s at all; with them, not even File Dialog Changer will work. Applications like this are, for example, Destinator, Pocket Promt (sic!) etc.

You may also want to read Gerard’s excellent article on this subject.

EDIT at 18:59: corrected a mistake in the first section. Thanks for the iPAQ HQ forum people for pointing it out! Also, made the text a bit easier to read.
__________________
MS MVP- Mobile Devices.

Last edited by Menneisyys; 07-23-05 at 01:11 PM.
Menneisyys is offline   Reply With Quote
Sponsor Ads
Old 07-23-05, 10:57 AM   #2 (permalink)
xdalaw
Guest
 
Posts: n/a
Menneissys-

You've been posting some really interesting and detailed tips lately. :)

They're a very nice addition to the body of knowledge here at Aximsite. Perhaps you might want to ask a mod or Chris to create a new forum topic for "Advanced or Power-User Tips and Tweaks" so that they can be kept together with similarly detailed tips?

I know I'd like a single forum to go to to find these threads when I'm feeling a little adverturous as a non-technical, non-coder user. :approve:
  Reply With Quote
Old 07-23-05, 11:08 AM   #3 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
Hmmm.. great idea :)
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 07-23-05, 12:06 PM   #4 (permalink)
Aximsite Legend
 
Join Date: Nov 2003
Posts: 13,629
Thanked 0 Times in 0 Posts

Awards Showcase
Moderator Medal Aximsite Active Silver Member Aximsite Gold Reviews Aximsite Bronze Referrer Aximsite Gold Tutorials Aximsite Bronze Contributors Aximsite Silver FAQs Aximsite Veteran Staff 
Total Awards: 10

Menneisyys, I've noticed that uninstalling programs installed via CABINSTL deletes the entire contents of the folder to which the program was installed. Does this problem still exist with Mad Programmer's FileDialogueChanger?
Gigi is offline   Reply With Quote
Old 07-23-05, 12:44 PM   #5 (permalink)
forkyfork
Guest
 
Posts: n/a
I agree.

Front page news posting!
  Reply With Quote
Old 07-23-05, 12:58 PM   #6 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
Originally Posted by Gigi
Menneisyys, I've noticed that uninstalling programs installed via CABINSTL deletes the entire contents of the folder to which the program was installed.
Are you sure about this? I've checked both ervsion 0.5, 1.01 and 1.04 of CabInstl; installed some apps into both the default and into cards; both before and after the installation, I've copied some other files to the home directories (and sometimes also subdirs) of the apps. The standard Remove Programs in Settings/System only deleted the files that were present in the CAB file (and also the app-specific .unload file, which never contained anything in addition to the 'official' files).

That is, IMHO CabInstl works OK in this respect.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 07-23-05, 01:10 PM   #7 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
I've posted a slightly edited version of the tutorial.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 07-23-05, 01:19 PM   #8 (permalink)
Aximsite Minor League
 
Flintlock1776's Avatar
Member
 
Join Date: Feb 2005
Location: USA
Posts: 208
Thanked 0 Times in 0 Posts
way beyond me. Maybe you have a way I can delete and reisntall IE on my PPC? Other browsers ain't cutting the deal for me either (see my other posts on that problem)

Thanks!
__________________
Always Remember the 343
Flintlock1776 is offline   Reply With Quote
Old 07-23-05, 01:24 PM   #9 (permalink)
krypticide
Guest
 
Posts: n/a
Um, I don't get it. CABinstl integrates just fine with file explorers. I just associate the CAB with it, click the CAB in the file explorer, and it starts up CABinstl.
  Reply With Quote
Old 07-23-05, 01:31 PM   #10 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
Originally Posted by krypticide
Um, I don't get it. CABinstl integrates just fine with file explorers. I just associate the CAB with it, click the CAB in the file explorer, and it starts up CABinstl.
Yes, that was indeed my mistake. Corrected it. What I really meant was that it doesn't integrate with the way CAB's are installed when started from an external source like ActiveSync.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 07-23-05, 02:10 PM   #11 (permalink)
Aximsite Elite
 
Join Date: Jun 2005
Posts: 3,250
Thanked 0 Times in 0 Posts
still don't get it... you do install with windows installers from the pc, right? Or is it just a way to unstall cabs from the pc?
Jukov is offline   Reply With Quote
Old 07-23-05, 02:31 PM   #12 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
Originally Posted by Jukov
still don't get it... you do install with windows installers from the pc, right? Or is it just a way to unstall cabs from the pc?
Windows installers also use CAB's (except for the very few that circumvent using AS entirely - Destinator and its cousins, for example). If you want to put your apps that you install with ActiveSync into a common directory (not the root), you need to use some kind of hacking (AS would otherwise install evereything in the root of the given card).

Installing this app will make sure you can choose the target directory even if you install through ActiveSync.

What do you win? You don't need to 1, find (which can be, in cases, pretty complicated; you may want to read for example this thread on this subject) and 2, transfer the CAB's to your PPC so that you click them there in order to CabInstl to be activated.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 07-23-05, 03:24 PM   #13 (permalink)
Aximsite Minor League
 
Join Date: Jul 2005
Location: Dedham, MA
Posts: 212
Thanked 0 Times in 0 Posts
This hack is killer, but it looks like (at least so far) Astraware games' installers don't like it much. Tried installing Bejeweled and Bejeweled 2 and they both crashed the Axim (X50v)...reversing the hack allowed the games to install properly.

Otherwise an awesome tip! =)

Last edited by FleshWound; 07-23-05 at 03:27 PM.
FleshWound is offline   Reply With Quote
Old 07-23-05, 03:48 PM   #14 (permalink)
Aximsite Rookie
 
dabson's Avatar
DAP Freshman
 
Join Date: Jun 2005
Location: Alberta, Canada
Posts: 54
Thanked 0 Times in 0 Posts
I've been using this tweak for quite a while now after reading Gerard's page. Good job on fleshing out the process with pics and easy-to-follow instructions! :approve:

It's true that some programs (particularly it seems those that are built on the .NET Framework) have a problem with this method.
.
.
.
.
.
.
.
.
.
.
.

Nothing's perfect.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dabson is offline   Reply With Quote
Old 07-23-05, 04:34 PM   #15 (permalink)
Aximsite Legend
 
Join Date: Nov 2003
Posts: 13,629
Thanked 0 Times in 0 Posts

Awards Showcase
Moderator Medal Aximsite Active Silver Member Aximsite Gold Reviews Aximsite Bronze Referrer Aximsite Gold Tutorials Aximsite Bronze Contributors Aximsite Silver FAQs Aximsite Veteran Staff 
Total Awards: 10

Originally Posted by Menneisyys
Are you sure about this? I've checked both ervsion 0.5, 1.01 and 1.04 of CabInstl; installed some apps into both the default and into cards; both before and after the installation, I've copied some other files to the home directories (and sometimes also subdirs) of the apps. The standard Remove Programs in Settings/System only deleted the files that were present in the CAB file (and also the app-specific .unload file, which never contained anything in addition to the 'official' files).

That is, IMHO CabInstl works OK in this respect.
Yes, I'm sure about this but cannot say if it applies to ALL CAB files installed by CABINSTL. I am running 1.04, and when I went to install the CAB file, I actually got a warning message that uninstalling it will delete the contents of the entire folder. Sure enough, when I went to uninstall, the contents were deleted. This message is the same message that the "Not show warning message" checkbox refers to in the first window.
Gigi is offline   Reply With Quote
Reply

Tags
cabinstl, changer, dialog, file, killer, mad, programmer, real

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:21 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC