locked
Multiple cab installation RRS feed

  • Question

  • Hi experts,

    I have developed application in VS2005 WM5 sqlce.

    I want to install my applcation , with insatll .NET CF and SQL CE cab files.

    currently i m installing these files manually :(


    1) sqlce30.dev.ENU.ppc.wce5.armv4i,

    2) sqlce30.ppc.wce5.armv4i
    3) NETCFv2.wm.armv4i


    How can i install all files through single cab files?


    Thanks in advance






    sandhya
    Tuesday, May 19, 2009 8:34 AM

Answers

  • Hi Sandhya,

    If you installed WM 5.0 or 6.0 SDK, you will get sample of multple cab with win 32. Where you need to build a setup32.dll and need to use while building CAB file with multiple CABs.

    you can even find a document with step by step information MultiCab Whitepaper.doc

    This is the path if you are using WM 6.0 SDK

    C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\Win32\multicabinstall

    I feel its simple way compartively to others.


    Please follow this one as well.
    http://channel9.msdn.com/wiki/mobiledeveloper/installingmultiplecabfiles/


    Please let me know if you have any queries regarding this.


    Regards,
    Malleswar
    • Marked as answer by warrentang Monday, May 25, 2009 1:32 AM
    Wednesday, May 20, 2009 1:25 PM

All replies

  • There is single Cab file. We have to install them individually. We dont have any other alternative.
    Tuesday, May 19, 2009 9:31 AM
  • Hi Sandhya,

    To add the dependency CABs along with your application CAB, refer the following link.

     

    Multiple Cab Install(we can add multiple cabs to the single cab)

    http://msdn.microsoft.com/en-us/library/bb158796.aspx


    Please let me know if you have any queries regarding this.


    Regards,
    Malleswar

    Tuesday, May 19, 2009 9:46 AM
  • Hi Malleswar,

    Thanks for ur reply.

    I had tried the above link , but didnot found the Code Samples for Windows Mobile. :(

    I have developed application in VS2005 and deploying it on PPC2003 Emulator.

    Can u please give me any good link for samples.?



    Thanks in advance.
     
    sandhya
    Wednesday, May 20, 2009 12:44 PM
  • Hi Sandhya,

    If you installed WM 5.0 or 6.0 SDK, you will get sample of multple cab with win 32. Where you need to build a setup32.dll and need to use while building CAB file with multiple CABs.

    you can even find a document with step by step information MultiCab Whitepaper.doc

    This is the path if you are using WM 6.0 SDK

    C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\Win32\multicabinstall

    I feel its simple way compartively to others.


    Please follow this one as well.
    http://channel9.msdn.com/wiki/mobiledeveloper/installingmultiplecabfiles/


    Please let me know if you have any queries regarding this.


    Regards,
    Malleswar
    • Marked as answer by warrentang Monday, May 25, 2009 1:32 AM
    Wednesday, May 20, 2009 1:25 PM
  • Hi malleswar,

    Thanks for ur reply.

    I had tried to find that "MultiCab Whitepaper.doc" but i don't have :(

    i have only two folders there  C:\Program Files\Windows Mobile 6 SDK\PocketPC and Tools.

    i don't have sample folder .

    can u please give me details step-by-step guide to do "MultiCab installation in mobile" ????



    Thanks in advance.


    Thursday, May 21, 2009 6:41 AM
  • Hi Sandhya,

    I surprised that you dint get samples along with WM 6.0 SDK.

    Try to reinstall WM 6.0 SDK so that you may get that samples.

    Windows Mobile 6.0 SDK :

    http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en


    Any way please check this sample for Multiple cab. Its ready made.

    http://jwhh.com/downloads/MuiltipleCabInstall.zip

    Please let me know if you have any queries regarding this.

    Regards,
    Malleswar

    Thursday, May 21, 2009 7:45 AM
  • Hi Malleswar,

    Thanks for ur reply.

    Thanks a lot for the ready made sample. I know i m asking a lot :(.
    but could u please tell me that how can i use this sample for my application???? , as i have not much time and i have to deliver my application to the client.
    how can i modified it for my application cab & sqlcecab ,.netcf cab file ??


    Thanks in advance
    Thursday, May 21, 2009 8:19 AM
  • Hi Sandhya,

    No Problem. You can ask till find the solution. Dont worry about that.

    Please refer to this. They gave the steps to use that sample (Once the master CABfile, Program and DLL are complete, the install process goes like this:).

    http://channel9.msdn.com/wiki/mobiledeveloper/installingmultiplecabfiles/

    Provide me you mail id, I can send MultiCab Whitepaper.doc

    Please let me know  if you still  face the problem After reading these both, I will try to write the steps.

    Regards,
    Malleswar
    Thursday, May 21, 2009 8:57 AM
  • Hi Malleswar,

    Thanks a lot Malleswar for ur quick Reply.Thanks again for ur patience.

    I had  download files http://jwhh.com/downloads/MuiltipleCabInstall.zip according to you,but i don't able to execute here :(.

    The application close VS2005 while executing. :(

    my emailid is sarinariyan@yahoo.com please kindly send MultiCab Whitepaper.doc here . may b that will b helpfull for me .

    i don't have time to  reinstall WM 6.0 SDK :(

    Thanks in advance.



    Thursday, May 21, 2009 10:16 AM
  • Hi Sandhya,

    I droped a mail with Multiple Cab white paper. Please go through that and let me knwo if you have any queries.

    Sorry that mail id is wrong.


    Regards,
    Malleswar
    Thursday, May 21, 2009 10:24 AM
  • No Problem. I droped the mail to this.

    Please check and let me know.


    Regards,
    Malleswar
    Thursday, May 21, 2009 10:58 AM
  • Hi Malleswar,

    Thanks a lot for the doc. That is very helpful.The doc have mention some sample code
    1. Build MCSetup.dll from MultiCab.sln in this sample
    2. Build Multicab.exe  from MultiCab.sln
    which i don't have :(.

    can u please kindly send me the sample code also.

    Thanks a lot for ur all reply & support.

    Thanks in advance.
    Thursday, May 21, 2009 11:38 AM
  • Hi Sandhya,


    Please build the solution from this link. So that you can find MCSetup.dll file.


    http://www.microsoft.com/downloads/details.aspx?FamilyID=3C0CBBF3-80BD-44C7-83AD-CF5E75A8538E&displaylang=en

    After installing the above 

    I have found MCSetup.dll,  in this path on my system


    C:\Program Files\Windows Mobile Developer Samples\12_2005_Install Multi Cab Files From Single Container Cab\mcsetup\Pocket PC 2003 (ARMV4)\Debug

    MultiCAB

    C:\Program Files\Windows Mobile Developer Samples\12_2005_Install Multi Cab Files From Single Container Cab\multicab



    Please let me know if you have any queries regarding this.

    Regards,
    Malleswar

    Thursday, May 21, 2009 12:23 PM
  • Hi Malleswar,

    thanks for ur reply.

    With ur help i m able to make a multicab file , but it only installed my application in device and not the others three files.
    1) sqlce30.dev.ENU.ppc.wce5.armv4i,

    2) sqlce30.ppc.wce5.armv4i
    3) NETCFv2.wm.armv4i

    Under HKEY_CURRENT_USER I Have two folder

    HKEY_CURRENT_USER
    MultiCAb
    mycab

    under mycab four values

    1) "Program Files\myCab\sqlce30.ppc.wce5.armv4i.CAB"

    2) "Program Files\myCab\sqlce30.dev.ENU.ppc.wce5.armv4i.CAB"

    3) "Program Files\myCab\MYCAB.CAB"

    4) "Program Files\myCab\NETCFv2.wm.armv4i.cab"

    it only installed MYCAB to device and not the other cabs files.

    I just  a novice. May be i need a good Tutorial for that.

    Thanks a lot for ur all help & support.
    bye & takecare
     

    Friday, May 22, 2009 8:09 AM
  • Hi Sandhya,

    I think you did not copy all your dependencies

    1) sqlce30.dev.ENU.ppc.wce5.armv4i,

    2) sqlce30.ppc.wce5.armv4i
    3) NETCFv2.wm.armv4i


    to your Multi CAB setup. Because it works perfectly.

    Please let me know, If you added them already to your MultiCAB setp file and if its not installing. So that I can explain you.

    Regards,
    Malleswar

    Friday, May 22, 2009 8:14 AM
  • Hi Malleswar, Thanks for ur reply. yes i had added all the sqlce cab files. Thanks in advance.
    Friday, May 22, 2009 1:16 PM