Join | Sign in to Windows Live ID
in Search
LIKE WHAT YOU SEE? CLICK JOIN ABOVE TO SIGN UP, POST, AND ATTEND LIVE EVENTS.

Adding favorites via cab file

Last post 09-08-2008 11:51 AM by Kris Gainsforth. 32 replies.
Page 1 of 3 (33 items) 1 2 3 Next >
Sort Posts: Previous Next
  • 05-06-2008 6:26 AM

    • davidc
    • Top 10 Contributor
    • Joined on 05-02-2008
    • Sydney
    • Posts 266
    • Points 2,939
    • 2_advocate
      Small Business Specialist
      Specialist

    Adding favorites via cab file

    Hey guys, Just going from the mobile links page etc. People enjoy having things automated for them.

     If anyone has any need for cab files or apps, let me know, if its a resonable request i could knock something up for you. Within reason of course, but if you want a cab to say, add your favorites and configure all the activesync options you use (except for password) and your favorite color scheme, start menu links etc. 

    Let me know,  what I'll do is, make the cab and in the post with the cab include a quick tutorial on the creation and what had done, and the source.

    To people that know how to do this stuff, i know you know its pretty basic, but i think its important, particularly since we have our sales guys on here to realise the full potential of even the simplest of apps.

     

    So anything you guys want automated, let me know and i can do a quick creation and write up for you! 

    Current Device - HTC Touch Pro- Ask me about this device
    Filed under: , , , ,
    • Post Points: 35
  • 05-06-2008 6:51 AM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    David - this is great - thank you so much - I would love to see the tutorial and know how to do this. Maybe you could post a tutorial of a fairly simple one.

    It's so great to have you as part of this forum.

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
  • 05-06-2008 6:55 AM In reply to

    • davidc
    • Top 10 Contributor
    • Joined on 05-02-2008
    • Sydney
    • Posts 266
    • Points 2,939
    • 2_advocate
      Small Business Specialist
      Specialist

    Re: Cab file creation

     No worries Laura.

    Writing up a simple now.  stay tuned.  10 mins. 

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 10
  • 05-06-2008 7:05 AM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    I'll be here - thanks.

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
  • 05-06-2008 7:31 AM In reply to

    • davidc
    • Top 10 Contributor
    • Joined on 05-02-2008
    • Sydney
    • Posts 266
    • Points 2,939
    • 2_advocate
      Small Business Specialist
      Specialist

    Re: Cab file creation

    Answer

     So, we start with what we want to accomplish,  deploy a favorite to the device so we don't need to add it every time,
    I'm using news.com.au in this example as its easy to type!

    First of all, windows mobile can utilise CPF or cab provisioning format,  this is an xml based file that uses "CSP" - or, configuration service providers.
    The most commonly used one of these is the "Registry" CSP.  we will be using the "browserfavorite" CSP in this example,
    We start with the source: this text in bold is what will be inside our text file. Just make a new notepad doco and enter this in it:

    <?xml version="1.0"?>
    <wap-provisioningdoc>
    <characteristic type="BrowserFavorite">
       <characteristic type="News AUS">
             <parm name="URL" value="http://www.news.com.au"/>
       </characteristic>
    </characteristic>
    </wap-provisioningdoc>


    We open the section by saying that its a provisioning doc. with the wap-provisioningdoc tag.
    Then the sub entry, we specify the CSP we are using, "Browserfavorite"
    This tells the device we are about to access the browser favorite section.
    The next type is the title, which ...  gives it a title, and then we specify the parameter, which is the "URL" parameter, whos value is "http://www.news.com.au"

    We put this into a file called "_setup.xml"  The naming is key here, make sure it is exactly that. _ and all

    Then we run makecab. makecab should be available on base installs of 2000 and XP, but have a look around if its not available to you.

    From a command window we enter-

    MakeCAB.exe /D COMPRESS=OFF _setup.xml news.cab

    This outputs "news.cab" which, as you guessed, we copy to the device and then run.

    This provisions our favorite for news.com.au and is now accessible from the favorites menu.

    Current Device - HTC Touch Pro- Ask me about this device
    Filed under:
    • Post Points: 35
  • 05-06-2008 7:33 AM In reply to

    • davidc
    • Top 10 Contributor
    • Joined on 05-02-2008
    • Sydney
    • Posts 266
    • Points 2,939
    • 2_advocate
      Small Business Specialist
      Specialist

    Re: Cab file creation

     and... now the embarrasing bit. Anyone know where i can host this cab, or does anyone know how i attach it to the post. 

    I'm remote at the moment and don't have upload access to my ftp.  

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 10
  • 05-06-2008 7:39 AM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    Thanks David - Bill or Andrea should be able to tell us the best way of uploading this - I shall ask them.

    I shall try this out and let you know how I go.

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
  • 05-06-2008 7:43 AM In reply to

    • davidc
    • Top 10 Contributor
    • Joined on 05-02-2008
    • Sydney
    • Posts 266
    • Points 2,939
    • 2_advocate
      Small Business Specialist
      Specialist

    Re: Cab file creation

     for now, i found a quick upload site you can grab the cab here - http://www.mediafire.com/?kemcd3oxium

     

    I've never used this place before, so i'm not sure on how it works, but i uploaded it and it gave me a link which i verified works. Not sure how long it will be available.  but surely long enough for you to grab it Laura.  

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 10
  • 05-06-2008 8:19 AM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    No - I don't think that works - it just hung when I went to web site.

    Why not just keep it posted here for now as you have it?

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
  • 05-06-2008 8:32 AM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    So I am running Vista and the makecab command returns : Invalid boolean value : OFF_SETUP.xml

    Sad

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
  • 05-06-2008 8:44 AM In reply to

    Re: Cab file creation

    Laura, you're prolly missing a space between OFF and _setup.xml.

    Kinda tough to see in the original command, so easy to miss it.

    Chris Rue
    MCSE, MCSA: Messaging, MCTS: WM5 Admin
    MVP - Small Business Server

    Welcome to the Funcave - Chris Rue's Headquarters for Truth, Justice & Mobility
    • Post Points: 10
  • 05-06-2008 8:56 AM In reply to

    • Bill Fisher
    • Top 10 Contributor
    • Joined on 03-20-2008
    • Portland, OR
    • Posts 688
    • Points 9,126
    • 2_advocate
      SystemAdministrator

    Re: Cab file creation

    Okay, .cab team, we've evolved our site permissions strategy slightly to give more people permission to upload files to the site. If you have the MVP or "Mobile Industry Pro" icon by your name, you should now have the ability to post files directly within your posts.

    Oh, and thanks to the superstars in this thread for being brilliant and going the extra mile for us!

    • Post Points: 30
  • 05-06-2008 8:58 AM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    Chris Rue:
    Laura, you're prolly missing a space between OFF and _setup.xml.

     

    Thanks Chris - good catch.

     

    Now it cannot find that file - where should it be saved to?

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
  • 05-06-2008 1:13 PM In reply to

    Re: Cab file creation

    For stuff like this, my preference is to explicitly define the path of the files I'm using. I also tend to use filepaths that don't exceed 8.3 naming anywhere in the path.

    For example, you could make a folder called "cabs" at the root of your C: drive and place the _setup.xml file in there.

    Then you would change the original command from davidc as follows:

    MakeCAB.exe /D COMPRESS=OFF c:\cabs\_setup.xml c:\cabs\news.cab

    FYI: Just tested, and it works a treat.

    Chris Rue
    MCSE, MCSA: Messaging, MCTS: WM5 Admin
    MVP - Small Business Server

    Welcome to the Funcave - Chris Rue's Headquarters for Truth, Justice & Mobility
    Filed under:
    • Post Points: 35
  • 05-06-2008 1:36 PM In reply to

    • Laura Rooke
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Northern California
    • Posts 1,543
    • Points 16,065
    • 3_expert
      Microsoft Windows Mobile MVP
      Moderator
      Small Business Specialist
      Specialist

    Re: Cab file creation

    Thanks Chris - tried this - still doesn't find the file - maybe it's different on Vista?

    Laura Rooke
    MVP - Mobile Devices
    My Devices..........
    IPAQ 3650
    IPAQ 5450
    IPAQ 4700
    IPAQ 2795
    Jasjar
    Motorola Q
    T-Mobile Dash
    AT&T TILT
    • Post Points: 10
Page 1 of 3 (33 items) 1 2 3 Next >
  * WANT TO LET SOMEONE KNOW ABOUT THE CONNECTION? SEND AN INVITATION! *