B
Brian
Hi all,
I'm still searching for an answer on how to do this correctly: I'm trying to
edit my INF file to deploy images and sounds within my project to their
corresponding folders, that is, /images and /sounds in the project folder.
Peter Foot said in another thread:
When you build a CAB file installer for your application you can edit the
INF file (created in the /obj/ sub-folder of your project on disk) and place
content files in more logical subfolders on the device.
This makes sense, but I cannot get the files to deploy correctly. This is
an example from the INF (I've tried a few different ways, but I thought
adding a destinationDirs entry would make the most sense):
[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
Files.ARMV4=0,%InstallDir%
Files.ARM=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.WCE420X86=0,%InstallDir%
Files.Images=0,%InstallDir%\images
[Files.Common]
app.exe,,,0
settings.xml,,,0
OpenNETCF.WinAPI.dll,,,0
[Files.Images]
Sojourn.jpg,,,0
I added the Files.Images manually thinking this would work, but it doesn't.
I've read through the MSDN docs, but I haven't found anything that addresses
this specifically.
Thanks for your help,
Brian
I'm still searching for an answer on how to do this correctly: I'm trying to
edit my INF file to deploy images and sounds within my project to their
corresponding folders, that is, /images and /sounds in the project folder.
Peter Foot said in another thread:
When you build a CAB file installer for your application you can edit the
INF file (created in the /obj/ sub-folder of your project on disk) and place
content files in more logical subfolders on the device.
This makes sense, but I cannot get the files to deploy correctly. This is
an example from the INF (I've tried a few different ways, but I thought
adding a destinationDirs entry would make the most sense):
[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
Files.ARMV4=0,%InstallDir%
Files.ARM=0,%InstallDir%
Files.SH3=0,%InstallDir%
Files.MIPS=0,%InstallDir%
Files.X86=0,%InstallDir%
Files.WCE420X86=0,%InstallDir%
Files.Images=0,%InstallDir%\images
[Files.Common]
app.exe,,,0
settings.xml,,,0
OpenNETCF.WinAPI.dll,,,0
[Files.Images]
Sojourn.jpg,,,0
I added the Files.Images manually thinking this would work, but it doesn't.
I've read through the MSDN docs, but I haven't found anything that addresses
this specifically.
Thanks for your help,
Brian