开发者

How to install a program to the non-volatile memory on Windows CE?

开发者 https://www.devze.com 2022-12-16 14:05 出处:网络
I created a CAB setup for Windows CE using Visual Studio 2008. Everything was installed fine but all my files went to the volatile memory (\\Program Fil开发者_开发问答es). Is there a way to install th

I created a CAB setup for Windows CE using Visual Studio 2008. Everything was installed fine but all my files went to the volatile memory (\Program Fil开发者_开发问答es). Is there a way to install them to the non-volatile memory (\Hard Disk\Program Files)? I could write to the \Hard Disk\Program Files directly but I'm not sure whether this path is the same for all wince devices.

Any help is appreciated.


The path is definitely not the same. It can be things like "Hard Disk" or "Storage Card" and een across devices, that folder name is often localized. You have to create a custom installer DLL that will determine what the name of the non-volatile store is and then unpack the files to that location. A basic template for the DLL can be found here.

0

精彩评论

暂无评论...
验证码 换一张
取 消