PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro 2 (http://forum.ppcgeeks.com/forumdisplay.php?f=97)
-   -   Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15} (http://forum.ppcgeeks.com/showthread.php?t=113189)

b4u2 07-01-2010 02:48 PM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
What if I use a REG file to make the shortcut. Would this line work?

"\\Windows\\Start Menu\\Programs\\Tools\\7zFM.lnk"="\\Storage Card\\Program Files\\7zFM.exe"

What would be a good way to not have it install the shortcut if the app is not installed???

I made a reg file but how do I run it without installing everything in my XDAUC folder?

NinjaDuck 07-01-2010 10:10 PM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
Quote:

Originally Posted by b4u2 (Post 1847588)
What if I use a REG file to make the shortcut. Would this line work?

"\\Windows\\Start Menu\\Programs\\Tools\\7zFM.lnk"="\\Storage Card\\Program Files\\7zFM.exe"

What would be a good way to not have it install the shortcut if the app is not installed???

I made a reg file but how do I run it without installing everything in my XDAUC folder?

Reg files cannot create shortcuts to my knowledge...

b4u2 07-01-2010 11:10 PM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
Serfer222 over at XDA told me about this.

with XDA_UC you can create shortcuts by using registry commands:

for example - create reg file and put it to XDA_UC folder. (edit it for your needs)

Code:
---------
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"\\Windows\\Start Menu\\Programs\\GPS"="Makedir"
[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"\\Windows\\Start Menu\\Programs\\GPS\\SeaSGEE.lnk"="\\Windows\\SeaS GEE.exe"
"\\Windows\\Start Menu\\Programs\\GPS\\Clean GPS Data.lnk"="\\Windows\\CleanGPSData.exe"
"\\Windows\\Start Menu\\Programs\\GPS\\HTC GPS Tool.lnk"="\\Windows\\HTCGPSTool.exe"
"\\Windows\\Start Menu\\Programs\\PPCPimBackup.lnk"="\\Windows\\PPCP imBackup.exe"
"\\Windows\\Start Menu\\Programs\\FDC Task Manager.lnk"="\\Windows\\FS_TaskMgr.exe"
---------

NinjaDuck 07-02-2010 12:08 AM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
Quote:

Originally Posted by b4u2 (Post 1848353)
Serfer222 over at XDA told me about this.

with XDA_UC you can create shortcuts by using registry commands:

for example - create reg file and put it to XDA_UC folder. (edit it for your needs)

Interesting. I did not know you could do this, but I would probably still gravitate to built in functionality like XML over specific implimentations.

Anyway, thanks for sharing the info..

b4u2 07-02-2010 08:11 AM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
NinjaDuck Will the XML example you posted install the shortcut even if the program/app is not installed?

When I make this XML file how do I run it to test it out? I made an XML file that should create a link to a app on the storage card.

NinjaDuck 07-02-2010 10:05 AM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
Quote:

Originally Posted by b4u2 (Post 1848664)
NinjaDuck Will the XML example you posted install the shortcut even if the program/app is not installed?

When I make this XML file how do I run it to test it out? I made an XML file that should create a link to a app on the storage card.

It will create the shortcut no matter what. There are registry entries for customizing the icon that can be included in the XML as well (search). You can import XML using dotFred task manager, advanced configuration utilitiy, or just by running XDA_UC with that as the only file in the folder.

Best of luck.

b4u2 07-02-2010 11:22 AM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
I can't get this to work. I have it in the XDA_UC and when I run XDA UC the link does not get created.

<wap-provisioningdoc>
<characteristic type="FileOperation">

<!--Create “7zip” shortcut from exe on storage card and copy it into Tools folder-->

<characteristic type="%CE2%\Start Menu\Programs\Tools" translation="install">
<characteristic type="MakeDir" />
<characteristic type="7zFM.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Storage Card\Program Files\7-Zip\7zFM.exe" translation="install"/>
</characteristic>
</characteristic>
</characteristic>

</characteristic>
</wap-provisioningdoc>

kgb247 07-02-2010 12:58 PM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
Quote:

Originally Posted by kgb247 (Post 1847091)
that page is one of my fav's. have the rom dumped, there is no windows folder to put it in, thus my inquiry about oemmapps. i believe that i found the location for the regedit to lax security

Quote:

Originally Posted by NinjaDuck (Post 1846213)
Are you cooking your own ROMs? If not, then your question is not valid and you should check out Sashimi.

If you are, you should check out this thread:

http://forum.xda-developers.com/showthread.php?t=562568

i am and you haven't responded, so i guess you are not valid

bsarlo 07-02-2010 01:31 PM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
Quote:

Originally Posted by b4u2 (Post 1847588)
...
I made a reg file but how do I run it without installing everything in my XDAUC folder?

XDA_UC will only install what has not been installed yet. When you run it the first time, it creates a reg file that lists all of the completed tasks. When you manually run it again, it checks the reg file and only installs/runs what has not been completed the first time.

Quote:

Originally Posted by kgb247 (Post 1849020)
i am and you didnt haven't responded, so i guess you are not valid

You are in the wrong thread. NajaDuck has more validity in his ESC key than you have in this thread. Watch who you insult because this is a pretty close community. People are glad to help, but not rude, ungrateful posters who ask irrelevant, off-topic questions in the wrong threads. Since you have posted nothing of use to anyone at PPCGeeks, other than holding the door and saying hello, I'd refrain from insulting the members who could actually be helpful to you.

To quote someone you may think is valid :

Quote:

Originally Posted by kgb247 (Post 1830291)
... There's no need to clutter the forums with useless rubbish.

Stop posting useless rubish.

kgb247 07-02-2010 02:27 PM

Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}
 
get his schlong out your front or back wherever you keep it. didnt really see how my question was invalid when i provided detail and it does pertain to the thread. and by your di-- riding comment, you are as useless as the answer provided and the search you performed to keep up with what i been doing. dont talk about insults when you are quick to dish, how valid is that? and fyi, no one helped.


All times are GMT -4. The time now is 10:06 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0