Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Error: CAB file "..\Debug\SetupMapiRule.CAB" could not be created

Error: CAB file "..\Debug\SetupMapiRule.CAB" could not be created

Scheduled Pinned Locked Moved Mobile
helpc++windows-admindebugging
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rahul Vaishnav
    wrote on last edited by
    #1

    Hello all, I am new to windows CE programming. I have compiled MAPIRULE sample which is provided in Windows mobile 6 SDK at path "C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\Win32\MapiRule". dll code get compiled properly but after compilation of SetupMapiRule project i am getting error. Below is the content of cabwiz.log Warning: Section [RegKeys] registry value "" has an empty string for the data. Warning: Section [RegKeys] registry value "" has an empty string for the data. Warning: Section [Shortcuts] has no data Error: CAB file "D:\Win CE\MapiRule\SetupMapiRule\Debug\SetupMapiRule.CAB" could not be created Please help me. beacuse without cab file i can not install any project in device. Thanks & Regards, Rahul Vaishnav

    H 1 Reply Last reply
    0
    • R Rahul Vaishnav

      Hello all, I am new to windows CE programming. I have compiled MAPIRULE sample which is provided in Windows mobile 6 SDK at path "C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\Win32\MapiRule". dll code get compiled properly but after compilation of SetupMapiRule project i am getting error. Below is the content of cabwiz.log Warning: Section [RegKeys] registry value "" has an empty string for the data. Warning: Section [RegKeys] registry value "" has an empty string for the data. Warning: Section [Shortcuts] has no data Error: CAB file "D:\Win CE\MapiRule\SetupMapiRule\Debug\SetupMapiRule.CAB" could not be created Please help me. beacuse without cab file i can not install any project in device. Thanks & Regards, Rahul Vaishnav

      H Offline
      H Offline
      heiitx
      wrote on last edited by
      #2

      Hi, I'm working on windows mobile too recently, and come across the same problem I haven't found a solution yet. However, for temperately, you can wrote an additional exe to wrote the exact registry value into the registry. you can look up into file “regext.h" and the Windows API RegEnumKeyEx RegOpenKeyEx etc. hope this would help

      R 1 Reply Last reply
      0
      • H heiitx

        Hi, I'm working on windows mobile too recently, and come across the same problem I haven't found a solution yet. However, for temperately, you can wrote an additional exe to wrote the exact registry value into the registry. you can look up into file “regext.h" and the Windows API RegEnumKeyEx RegOpenKeyEx etc. hope this would help

        R Offline
        R Offline
        Rahul Vaishnav
        wrote on last edited by
        #3

        Hi , Thank you for your reply. I actually I have solved that problem. Actually the problem was that the Primary output file(the mapirule.dll) which I am adding in file system of my cab file was kept at (C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\Win32\MapiRule\Windows Mobile 6 Professional SDK (ARMV4I)\Debug) whic is too much long path & having spaces also. So I just kept my mapirule.dll at shortest path (d:\mapirule.dll) :) and added this dll to my setup workspace.. and now I have compiled my workspace,cab file got created. I hope this will help you also. This worked for me. Thank you

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups