Re: xml provisioning using FileCopy operation



Based on the xml file below all I am trying to do is copy a file from a ROM
folder to the Windows directory. We use to use Cpy files to do our copying
but per Microsoft documentation they recommend using provisioning files.

I ran into a permissions issue to modify the registry with using a cpf file.
With much googling I came across this article:
http://blogs.msdn.com/marcpe/archive/2006/01/11/511921.aspx

I modified the value and I no longer had to sign Cpf files. I moved on and
created a provisioning file that would copy files from a ROM folder. Now I
get a permission error with copying a file. Not sure if I need to change a
value to assign a higher role.

After more and more researching I found this artcle related to provisioning
when the device is cold booted. I created the provxml file and it never gets
processed from the ROM folder on a cold boot.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51conbootstrappingsmartphonethroughromconfigurationxmlfile.asp

I am trying many ways of proviosning to some how to either process files on
a cold boot or through a cpf which is like a Cab file.

I relize WM5 is new but the infomration is lacking and some what
frustrating.

I appreciate any information you can help me out with. Thanks again!


"Lochan Pandya" <LochanPandya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:507F7592-3B2A-4839-9D30-36C429F97542@xxxxxxxxxxxxxxxx
Can you just explain what do you mean by file operation? If you r trying
to
deploy/change some exe/dll you'll need the files to be signed too.

Lochan

"Big D" wrote:

I can install other cpf's that use the registry. I had to change a value
in
the registry that i found in the sdk security folder. It's called
secuirtyOff.cpf. Once I applied setting I was able to install cpf's. Now
that I want to do a file operation I am getting a access denied error.




"Lochan Pandya" <LochanPandya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2D0A1F50-1C61-4E9F-A8BF-B1BC31D9A403@xxxxxxxxxxxxxxxx
You need to sign your .cpf file thrhu a trusted certificate or a test
certificate.
WM5 will not allow the .cpf file to execute if it is not signed.
For testing purpose u can sign it thru a test certificate
For test certificate u can use :
1.> SDKFailsafeEmulator.pfx or
2.> SDKSamplePrivDeveloper.pfx or
3.> SDKSampleUnPrivDeveloper.pfx
located at c:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0
Pocket PC SDK\Tools

First u need to have windows mobile 5.0 POcket PC SDK installed with
VS2005

Lochan


"Big D" wrote:

I am in running into a system permission issue with using a cpf file
that
was created from a _setup.xml. I created the cpf file from xml code
below. I
clicked on cpf on the device and the message I get is not enough
permissions.

I ran the one the secuirtyoff.cpf from the PocketPC sdk. I also
modified
the
registry to grant manager policy to 144. I am not sure why/ Or what
policy
is not allowing me to copy files using the provisioning process.

Any help is appreciated.

SampleCpy.xml

<wap-provisioningdoc>

<characteristic type="FileOperation">

<characteristic type="\Windows" translation="filesystem">

<characteristic type="MakeDir"/>

<characteristic type="example.txt" translation="fileystem">

<characteristic type="Copy">

<parm name="Source" value="\Application\example.txt"
translation="filesystem"/>

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>








.



Relevant Pages

  • Re: acorn emulation
    ... > and the boot folder and all the others are what give it all the other ... (you have adequate resources in ROM already!) ... You can set up a HostFS "drive" pointing to the ...
    (comp.sys.acorn.hardware)
  • Re: clrmamepro questions
    ... program torrentzip on the MAME ROM folder. ... Now download your MAME .100 torrent file and save to your MAME ROM directory. ... You will need to verify this with torrentzip, it will not re-do correctly torrentziped zips. ...
    (alt.games.mame)
  • problem simply copying data files to a CD.....
    ... I have Window XP pro edition. ... Quicken) to a CD Rom. ... Then, under File and Folder Tasks, click Copy this file, Copy ... If the files are located in My Pictures, under Picture Tasks, click ...
    (microsoft.public.windowsxp.general)
  • Re: problem simply copying data files to a CD.....
    ... Quicken) to a CD Rom. ... Then, under File and Folder Tasks, click Copy this file, Copy ... If the files are located in My Pictures, under Picture Tasks, click ...
    (microsoft.public.windowsxp.general)

Loading