App Installed is not visible in Remove Programs List

Pergunta App Installed is not visible in Remove Programs List

  • sexta-feira, 3 de fevereiro de 2012 01:06
     
     

    I've created two .cab files using VS2005 smart device cab project. Let us say CAB1 and CAB2 after installing CAB1 it is visible in Remove Programs List where CAB2 is will installed under sub folder of CAB1 but CAB2 is not visible in remove programs list this issue am facing only with Windows CE 5.0 it is working fine in 6.1 and 6.5 OS.

    In Windows OS 5.0 after installing CAB2 I am not able to uninstall it from remove programs list.

    Below is my two inf files.

    CAB1.inf

     

    [Version]

    Signature="$Windows NT$"

    Provider="A Inc"

    CESignature="$Windows CE$"

     

    [CEStrings]

    AppName="CAB1"

    InstallDir=%CE1%\%AppName%

    SourceDir="$binout$"

     

    [Strings]

    Manufacturer="A Inc"

     

    [CEDevice]

    VersionMin=4.0

    VersionMax=5.99

    BuildMax=0xE0000000

     

     

    [DefaultInstall]

    CEShortcuts=Shortcuts

    CopyFiles=Files.Common1,Files.Common2,Files.Common3,

    CESelfRegister=PrCE_NetCF.dll

    AddReg=AddRegistryEntries

    CESetupDLL="AtparSetUp.dll"

     

    ==============================================================================

    CAB2.inf

     

    [Version]

    Signature="$Windows NT$"

    Provider="A Inc"

    CESignature="$Windows CE$"

     

    [CEStrings]

    AppName="CAB1\CAB2"

    InstallDir=%CE1%\%AppName%

     

    [Strings]

    Manufacturer="A Inc"

     

    [CEDevice]

    VersionMin=4.1

    VersionMax=6.0

    BuildMax=0xE0000000

     

    [DefaultInstall]

    CEShortcuts=Shortcuts

    AddReg=RegKeys

     

     

    I can able to install both CABS(CAB1 and CAB2) but I am not able to uninstall CAB2 because it is not visible in remove programs list. Please suggest what I need to do.


    • Editado Naga559 sexta-feira, 3 de fevereiro de 2012 01:07
    • Tipo Alterado Naga559 sexta-feira, 3 de fevereiro de 2012 01:07
    •  

Todas as Respostas

  • segunda-feira, 6 de fevereiro de 2012 07:57
    Moderador
     
     

    Hello,

     

    I would suggest you to follow the sample codes in SDK to make a multiple CAB install.

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

     

    I guess some incorrect script in your project, caused this problem.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
  • segunda-feira, 6 de fevereiro de 2012 08:56
     
     

    Jesse,

    Thanks for your reply but it didnt solved my issue.

    For your information I am building two cab files separately everything is working fine in Windows OS 6.1 and 6.5.

    My installation process will be like this after installing CAB1 and will install CAB2 will creates a sub folder in CAB1 folder and installs CBA2. this is what my scenario is I need help in solving this. Only I am having issue with Windows mobile OS 5.0.

    Regards,

    Naga.


    Naga Shankar J
  • terça-feira, 7 de fevereiro de 2012 04:27
    Moderador
     
     

    I would sugget removing "\" character from the application name: 

    AppName="CAB1CAB2"


    This posting is provided "AS IS" with no warranties, and confers no rights.

  • terça-feira, 7 de fevereiro de 2012 09:55
     
     

    I would sugget removing "\" character from the application name: 

    AppName="CAB1CAB2"


    This posting is provided "AS IS" with no warranties, and confers no rights.

    If I remove "\" charater from Application Name it will install as seperate program in program files and the files accessing path will be changes and application will not work. CAB2 should be a subfolder of CAB1.

    Thanks


    Naga Shankar J

  • quarta-feira, 8 de fevereiro de 2012 07:32
    Moderador
     
     

    That is how applications are suppose to be installed - into separate folders. If it's a single application then make it one CAB instead of two.

    Anyways, I woild not recommend doing what you're doing as it's a rather nasty hack whoich already created a problem. However if you must do it then consider changing the installation path by adjusting InstallDir macro and not by hacking application name.


    This posting is provided "AS IS" with no warranties, and confers no rights.

  • quarta-feira, 8 de fevereiro de 2012 15:11
     
     

    That is how applications are suppose to be installed - into separate folders. If it's a single application then make it one CAB instead of two.

    Anyways, I woild not recommend doing what you're doing as it's a rather nasty hack whoich already created a problem. However if you must do it then consider changing the installation path by adjusting InstallDir macro and not by hacking application name.


    This posting is provided "AS IS" with no warranties, and confers no rights.

    IIya,

    I dont agree with you it is working fine in Windows OS 6.1 and 6.5 If you dont aknow regarding this please dont give waste advices this can be done there will be a way. Here we are not hacking application name as CAB2 is a part of CAB1.

    Please dont involve in any discussions if you dont have Idea on them it would be better.

    Thanks


    Naga Shankar J

  • quarta-feira, 8 de fevereiro de 2012 19:54
    Moderador
     
     

    You seem to assign high degree of negativity to the word “hack”. You should not. Here’s the definition:

    “In modern computing terminology, a kludge (or often a "hack") is a solution to a problem, doing a task, or fixing a system that is inefficient, inelegant, or even unfathomable, but which nevertheless (more or less) works.” 

    Anyways, if you don’t want my help that's fine. You can alyays reread my post for a possible solution if needed.


    This posting is provided "AS IS" with no warranties, and confers no rights.

  • quarta-feira, 8 de fevereiro de 2012 20:16
     
     

    You seem to assign high degree of negativity to the word “hack”. You should not. Here’s the definition:

    “In modern computing terminology, a kludge (or often a "hack") is a solution to a problem, doing a task, or fixing a system that is inefficient, inelegant, or even unfathomable, but which nevertheless (more or less) works.” 

    Anyways, if you don’t want my help that's fine. You can alyays reread my post for a possible solution if needed.


    This posting is provided "AS IS" with no warranties, and confers no rights.

    Ilya,

    Thats ok sorry for my comments.

    Please provide if you have any clue or solution with this rather than creating the CAB seperately.

    My question is when it is working fine in Winodws OS 6.1 and 6.5 why it is not working with Windows OS 5.0. Please advice.

    Regards,

    Naga.


    Naga Shankar J