[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
I created my own Garmin.CAB installer file that will create and copy the Garmin DEVICE folder with my phone specific .UNL file and WPT's and User Settings and other folder files. It has been a while since i did it but here are the instructions as I remember them. To create your own CAB file is very simple by using the following programs:

Pocket PC Installation Creator 3.0: Aperitto Software,http://www.aperitto.com

No need to register the Trial version as you only use this program to create the .INF file required to use CabWiz.

All the following files should already be in your PC Windows folder or freely available from the WWW:

cabwiz.ddf

cabwiz.exe

makecab.exe

GOOGLE for this program:

WinCE CABs Analyzer

Instructions:

Create a new folder on your PC, say we call it Garmin Mobile XT

Copy the following files in there: cabwiz.ddf, cabwiz.exe, makecab.exe

Then create the PPC Garmin folder structure within the "Garmin Mobile XT" folder, its folder structure should look like this:

Garmin Mobile XT

Garmin

Cache (Sub Folder in Garmin)

gpx (Sub Folder in Garmin)

Windows

Start Menu (Sub Folder in Windows)

Programs (Sub Folder in Start Menu)

Then copy all of your DEVICE Garmin folder files inside the above GARMIN folder on your PC (Including the files inside the Cache and GPX Sub-folders).

Then copy the Garmin .LNK file in to the "Windows/Start Menu/Programs" folder on the PC. So now you have basically re created the PPC Garmin folder structure on to your PC.

Go to your Registry of your PPC and EXPORT the Garmin Registry folder from HKLM/Software/Garmin/Que (save this to a folder on your PC - it can be within the above folder structure if you like or anywhere you can find it later).

Now RUN the program "Pocket PC Installation Creator 3.0"

Start a new project

Create your Application and details

Save the project

Now under the "Installation Module" you should see the newly created Application

Double click it to expand it, now you will see tabs across the top: Cab Settings / Mobile Device Files / Registry / Shortcuts.

Fill in the boxes (Default installation directory should be changed to %CE2%) - NOTE THIS CHANGE!!

In the Mobile Device Files Tab; Right click on the "Pocket PC FileSystem" and then select "Add Folder" now navigate to your PC foler that you created above called "GARMIN" and select it.

Next open the newly imported folder and then add files to the folder until all have been added including the Cache and GPX Folders and files.

Then right click again on the "Pocket PC FileSystem" and select "Add Folder" and call it "Windows" then right click that folder and add another folder called "Start Menu" then in that folder another called "Programs" then in this folder add files and navigate to your Garmin XT short cut .LNK file on your PC.

NEXT go to the Registry TAB in "Pocket PC Installation Creator 3.0"

Tick the box for "aRegistrySection"

Then double click the "aRegistrySection"

Then click IMPORT button above and navigate to your .REG file that you earlier exported from your Device.

Import it and then you should see the Software and Garmin and Que folders as per your PPC regisrty.

When that is complete click the BACK button

Next select the "ShortCuts" tab and right click in the white space area.

Select ADD

Then give your Short cut a name "Garmin XT" sounds good.

select the "short cut to file" radio button

Destination Directory should be %CE11%

Click OK

Now save your project again!

NOTE THIS CHANGE: Select the "Project Options" from the menu bar and then tick the "Disable no Uninstall" (this allows the CAB file to be un-installed at a later date from the PPC).

Next click the "Project Builder" button on the main menu

Then click "Build Dialog"

Select your PC folder "Garmin Mobile XT" (This is where the output CAB file and PC EXE files will be saved to).

The process should complete and Successful appears in GREEN text.

Next you need to run "WinCE CABs Analyzer" program on your PC

Select the newly created CAB file (this will then Analyse the contents

In the top tool bar menu select the Icon that looks like a ZIP Folder

Then select an EMPTY folder on your PC to deposit the CAB file files and folder structure

Next go to that folder and copy the "Garmin Device Installer.inf" file and copy it in to your PC Garmin XT Folder (along with the earlier copied files: cabwiz.ddf, cabwiz.exe, makecab.exe)

Now open your CMD prompt (START/RUN/CMD) and Change Directory to the one with the Garmin XT folder and file structure, then type in "Cabwiz GarminDeviceInstaller.inf" then press enter.

This should then create your new CAB file and PRESTO you are done. Copy this file to your PPC and run it to see if it works.

NOTE THIS EDIT: The *.INF file name MUST NOT HAVE ANY SPACES otherwise Cabwiz will fail and give error. Just change the *.INF name to remove the spaces.

NOW then - Why did we not just use the CAB file that was generated by "Pocket PC Installation Creator 3.0" -------- Well the Author has written in some protection to his work to get you to register the full version of the program, so how it works is that every time you generate the CAB file using the saved settings that you input, it will corrupt one of the files that you copied in to your PC folder structure (within the CAB file ONLY) such that the installation of the CAB will work but the program, in this case Garmin XT may not run correctly as one of its files will have been corrupted.

We are not doing anything illegal here just using his Trial program to create the .INF file which Cabwiz needs to out put the CAB file correctly.

There are other ways to create CAB files but they all cost money and the above method if Free.