PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue > HTC Vogue Development
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2010, 01:44 PM
mikledw's Avatar
PPCGeeks Regular
Offline
Pocket PC: vogue
Carrier: bell
 
Join Date: Nov 2008
Posts: 69
Reputation: 75
mikledw is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: ProvXML Reference for Developers

Quote:
Originally Posted by boggsie View Post
So, arranging start menu items via provxml, as you are experiencing, is a very challenging thing to pull off.

When you are executing the cab file, you know exactly ... exactly where every shortcut is located, because you stage the cab file to execute a precise point in the post-flash process. you do this either manually, via SDconfig or sashimi.

The same cannot be said of the provxml execution. It is entirely possible, and likely, that you are trying to move items via provxml, that don't exist yet in their source location. One thing to consider is that other provxml is also executing to do exactly the same thing that you are doing. The creation of Microsoft Office shortcuts are a perfect example as they are copied via provxml. Your provxml is trying to move them, when the Microsoft Office provxml hasn't copied them to thier source location, yet.

So in order to avoid this with provxml, you need to give your provxml oem file a name which helps to ensure that it will execute as the last provxml in your flash process.

However, if you are looking for a less painful approach, I can tell you that after working on this for a long, long time, I have come to learn that doing this particular task is so much easier via mortscript. One of the very nice things about mortscirpt, is that each copy/move can be setup as a elseif statement, whereby if the items doesn't exist, the script just proceeds to the next command. As you are learning, provxml is very unforgiving. If one statement for a copy or move cannot be executed, the script will die.

Best regards,
-boggsie
alright so you mean if i named the provxml file itself or the OEM folder its in starting with the letter z it will be executed last? Also for mortscript how would you get it to run at start up im very new to this as well lol?
  #2 (permalink)  
Old 04-04-2010, 04:04 PM
boggsie's Avatar
b00nsquad
Offline
Pocket PC: Touch PRO 2
Carrier: Sprint SERO
Location: Central Ohio
 
Join Date: Mar 2008
Posts: 1,359
Reputation: 2295
boggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: ProvXML Reference for Developers

I'd try leaving the OEM alone and then use this as your file name for the provxml:

mxipupdate_zzzOrganizeStartMenu_100.provxml

Best regards,
-boggsie
__________________
Mine has theft deterrent!
HOPE
Closed Thread

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue > HTC Vogue Development


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 -4. The time now is 11:56 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com