Developing a pictures cab

I am working on developing a cab file that will deploy all of the pictures that the system uses. This will allow the user to put the pictures on the storage card as required. The only thing i am adding to this cab file is a bunch of .jpg images. I am getting an error

Windows CE CAB Wizard

Error: File c:\docume~1\u4eevjas\locals~1\temp\wiz853.inf contains DirIDs, which are not supported

ERROR: The Windows CE CAB Wizard encountered an error. See the output window for more information.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========



I have looked and the qiz853.inf file does not exist. Can anyone inform me of what is happening and/or how to fix it.




Answer this question

Developing a pictures cab

  • Praveen Dayanithi

    Working on it, thanks

  • Vikash Sharma

    Sure you can search for anything from your application. But what it has to do with CAB CAB can deploy files and create registry entries, that's about it.



  • Vagif

    Just make picture CAB create a registry entry with it's location and read it from the application.



  • VivekGupta2812

    As I've explained on several occasions there's no way to do it except to let user install on to the storage CAB.

    There’s no macro for storage card and name can’t be hard coded because it can vary from device to device. You can’t even create several CABs with hard coded names because there are too many variations of the storage card name which can be localized.



  • Vladimir Chtepa

    "Is there a way to bundle a directory and it's subdirectories"
    Yes, zipping, using one of many algorithms (GZip, for instance) to make a zip of the files.

    "
    move them over to the PDA/SD Card depending on where the user wants them."
    The files will be copied to the output directory, the root of which is selected by the user (storage card or main memory, then \Program Files\App name)

    "
    I would like to do this all at once if possible."
    In the Install_Exit section of the setup.dll you could put some code that would extract the images from the zip to anywhere. Additionally, you could then trigger the uninstall process of the project, which would delete everything that was copied over, including the .zip file but excluding the images.

  • curtKauf

    That is not what I am trying to do. I am allowing the user to choose whether they install it to the PDA or to the SD Card. But right now I am just developing a cab file to move the pictures over. in the development of the cab file, I am getting this error.

    B/C the pictures can be anywhere now.  is there a way to search for a particular file folder that the images are contained in.  Such as search for the folder "APISMobile"



  • Nilton Pinheiro - MVP

    I am wanting to just move a large number of pictures over to an SD card if present while maintaining the file structure. Is there a better way to do this.

  • Prashweenet

    How do you unzip a file in VB or C++ (for install_exit) on a PDA. is it possible.

  • Michael BBB

    I think I have learned that there is a limit on the number of files a single CAB file can install. Unfortunately, I have more files than the limit. so my options are create multiple cab files or some other way I do not know of yet.

    Is there a way to bundle a directory and it's subdirectories and move them over to the PDA/SD Card depending on where the user wants them. I would like to do this all at once if possible. Using multiple cab files to do it will require the user to click install and choose location to many times. Any one ever had this problem

  • WPF Fan

    I dont guess searching for a file has anything to do with a cab. but you pointed out something I didnt think of or realize. Some devices have mutliple storage card slots or storage devices. Therefore the user can install the pictures to any of a number of places. Due to this fact, I have to search for a directory folder and set it as a global variable to let the rest of the system know where the pictures for the system are.  The actuall exe wont necessarily be with the pics. 

  • Developing a pictures cab