Folders into cab file

C

Cecilia Sánchez

Hi all.

My PPC application (Visual Studio 2003) has several folders and subfolders
with resources (images, data...)

When I copy and execute the cab file in Visual Studio emulator, all the
files appear in the root of the application, and the folders that I have
created in my project are deleted.

I have read the generation cab tools help and file .inf descriptions, but I
believe that the solution must be easier. ???

How I can do that the folders of my project are copied into .cab file?

Thanks
 
C

chris-s

You will need to make several changes to the inf file similar to the
example below where I add a 'Files.User' section...

..
..
[DefaultInstall]
CopyFiles=Files.Common,Files.Windows,Files.User
..
..

[DestinationDirs]
Files.User=0,%InstallDir%\OtherFiles
..
..
[Files.User]
SomeFileName.XYZ,,,0
..
..

Cheers

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top