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 2 of 3 (33 items) < Previous 1 2 3 Next >
Sort Posts: Previous Next
  • 05-06-2008 1:52 PM In reply to

    Re: Cab file creation

    I'm using Vista, Laura, so it should work. Mine created the CAB file, easy-peasy.

    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: 15
  • 05-06-2008 2:07 PM In reply to

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

    Re: Cab file creation

    OK - I will keep trying and let you know - thanks again for the help here.

    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: 5
  • 05-06-2008 3:31 PM In reply to

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

    Re: Cab file creation

    Thanks Chris - got it now with your help - I added that .xml as part of the file name.

    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:05 PM In reply to

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

    Re: Cab file creation

    How did it end up Laura? are you a developer now?Surprise 

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

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

    Re: Cab file creation

    I created the cab file from your info - haven't yet run it on my device - will do that in the next few hours , so will report back to you - Thanks David!

    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: 5
  • 05-07-2008 12:26 AM In reply to

    • Gaute
    • Top 25 Contributor
    • Joined on 05-02-2008
    • Oslo, Norway
    • Posts 56
    • Points 605
    • 1_colleague
      Small Business Specialist
      Specialist

    Re: Cab file creation

     There is also another way if you just want to create a cab files that copies some stuff, like a Windows Mobile Standard homescreen theme.

    Create an *.inf file like this: 

     [Version]
    Signature="$Windows NT$"
    CESignature="$Windows CE$"
    Provider="IQ AS"

    [CEStrings]
    Appname="S730 theme"

    [CEDevice]
    ProcessorType=0

    [SourceDisksNames]
    1=,Source1,,"Theme"

    [SourceDisksFiles]
    "IQS730.home.xml"=1
    "IQ-grey-L.bmp"=1
    "IQ-grey-P.bmp"=1

    [CopyFiles1]
    "IQS730.home.xml"
    "IQ-grey-L.bmp"
    "IQ-grey-P.bmp"

    [DestinationDirs]
    CopyFiles1=0,"\Application Data\Home"

    [DefaultInstall]
    CopyFiles=CopyFiles1

     

    The drop the .inf file onto "CabwizSP.exe". Voila Yes

    Now, my problem is that I'm sending this cab file out with a Device Management solution, and I don't just want to automatically install the cab silently on a users smartphone (that bit is easy), but I also want to set this theme as active.

    Anyone got any clues on how to do that? On Professional devices there is a registry key you can edit, but I can't seem to find anything similar on the Standard phones.

     

    http://gauteweb.net/
    • Post Points: 35
  • 05-07-2008 4:52 AM In reply to

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

    Re: Cab file creation

     Gaute,

    I've done this for a deployement before, It was on the blackjack. But i'll see what i can dig up..  

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 5
  • 05-07-2008 5:04 AM In reply to

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

    Re: Cab file creation

     So, Because when the theme is activated in installs itself, some of these settings we need to manual set.  We need to "install" the theme into the registry with this: (These were my settings, but you obviously change them )

    <characteristic type="Registry">
    <characteristic type="HKCU\ControlPanel\Home\Your.home.xml">
    <parm name="COLOR_SOFTKEYBTNFACE" value="6179634" datatype="integer" />
    <parm name="COLOR_SOFTKEYFLATCENTER" value="6179634" datatype="integer" />
    <parm name="COLOR_SOFTKEYSEPARATORMIDDLE" value="6179634" datatype="integer" />
    <parm name="COLOR_TITLEFLATBORDER" value="0" datatype="integer" />
    <parm name="COLOR_TITLEFLATCENTER" value="0" datatype="integer" />
    </characteristic>
    </characteristic>

    Then we actvate it:

    <characteristic type="Home">
    <characteristic type="HKCU\ControlPanel\Home">
    <parm name="Scheme" value="\Application Data\Home\your.home.xml" />
    <parm name="ColorScheme" value="" />
    <parm name="BgImage" value="" />
    </characteristic>

     

    If you have a seperate colorscheme and background image, you would set it here, Byleaving them blank it uses "Default" which i'd already pre-determined in the theme xml.

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 35
  • 05-07-2008 6:37 AM In reply to

    • Gaute
    • Top 25 Contributor
    • Joined on 05-02-2008
    • Oslo, Norway
    • Posts 56
    • Points 605
    • 1_colleague
      Small Business Specialist
      Specialist

    Re: Cab file creation

     Fantastic, just what I was after, thanks Yes

    http://gauteweb.net/
    • Post Points: 10
  • 08-06-2008 1:15 AM In reply to

    • Hamamdi
    • Top 150 Contributor
    • Joined on 08-05-2008
    • Posts 2
    • Points 40
    • 1_colleague

    Re: Cab file creation

    Hi

    .:

     I created the cab file from your info - haven't yet run it on my device

    No need to copy your cab file to your device, you have just to see this demo of Jim wilson to learn how to install it directly from a desktop project.

     

    Regards

    Hammadi Dali

    • Post Points: 5
  • 08-27-2008 10:12 AM In reply to

    Re: Cab file creation

    davidc:

    <?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 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.

     

    Does the characteristic type equal the folder the bookmark is put into?

    Filed under: ,
    • Post Points: 10
  • 08-27-2008 3:14 PM In reply to

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

    Re: Cab file creation

     I'll have a look into the folders sections.  but the code above works like this:

    <characteristic type="BrowserFavorite">  <---- Tells it we want to provision a favorite
       <characteristic type="News AUS"> <---- Tells it what we want the favorite to be called       

    <parm name="URL" value="http://www.news.com.au"/> <---- Tells it the value for that favorite

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 10
  • 08-27-2008 3:28 PM In reply to

    • Bill Fisher
    • Top 10 Contributor
    • Joined on 03-20-2008
    • Portland, OR
    • Posts 664
    • Points 8,836
    • 2_advocate
      SystemAdministrator

    Re: Cab file creation

    Thanks, Davidc! Looks like this post is continuing to prove useful/interesting to people!
    • Post Points: 10
  • 08-27-2008 3:37 PM In reply to

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

    Re: Cab file creation

     From what I can see there isnt support for folders (Thats from the reference material, you've got me interested now so i will try and figure a way!)

    Not sure if i mentioned it initially, but you can use this 

     <parm name="Order" value="0"/>
     
    Which will allow you to decide the order of your favorites (replace 0 with a number for the order ) 

     

    Current Device - HTC Touch Pro- Ask me about this device
    • Post Points: 35
  • 08-27-2008 8:05 PM In reply to

    Re: Cab file creation

    I would love to be able to e-mail a .cab with my huge list but broken into folder for navigation.That's why I'm interested in this, or else I'm overwhelming my customers with 300+links in one huge list.

    Filed under: , ,
    • Post Points: 5
Page 2 of 3 (33 items) < Previous 1 2 3 Next >
  * WANT TO LET SOMEONE KNOW ABOUT THE CONNECTION? SEND AN INVITATION! *