Error: CAB file "..\Debug\SetupMapiRule.CAB" could not be created
-
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
-
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
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
-
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
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