本文介绍了CAB安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

我们的应用程序CAB内置于.NET CF 3.5中。它安装在摩托罗拉MC55上,但在MC65和Windows Mobile 6.5上显示出一些奇怪的行为。当我安装CAB时,它会导致重新启动。此外,我无法从"删除程序"中删除该程序。
它什么都不做。该程序不会卸载。我不确定是什么导致了这个问题。有人可以建议如何解决这个问题吗?我在CAB文件中添加_setup.xml以供参考

We have our application CAB built in .NET CF 3.5. It installs fine on Motorola MC55 but on MC65 with Windows mobile 6.5 it shows some odd behavior. When I install the CAB it results in a re-boot. Also I can not remove the program from "Remove Programs". It does nothing. The program does not un-install. I am not sure what is causing this issue. Can someone suggest how to fix this? I am adding the _setup.xml inside the CAB file for reference

<wap-provisioningdoc>
  <characteristic type="Install">
    <parm name="InstallPhase" value="install" />
    <parm name="OSVersionMin" value="4.0" />
    <parm name="OSVersionMax" value="6.99" />
    <parm name="BuildNumberMin" value="0" />
    <parm name="BuildNumberMax" value="-536870912" />
    <parm name="AppName" value="SM" />
    <parm name="InstallDir" value="%CE1%\SM" translation="install" />
    <parm name="NumDirs" value="8" />
    <parm name="NumFiles" value="15" />
    <parm name="NumRegKeys" value="0" />
    <parm name="NumRegVals" value="0" />
    <parm name="NumShortcuts" value="1" />
  </characteristic>
  <characteristic type="FileOperation">
    <characteristic type="%InstallDir%\en-CA" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="SM.resources.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SALEST~1.008" />
        </characteristic>
      </characteristic>
    </characteristic>
    <characteristic type="%InstallDir%\en-US" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="SM.resources.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SALEST~1.009" />
        </characteristic>
      </characteristic>
    </characteristic>
    <characteristic type="%InstallDir%\es-MX" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="SM.resources.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SALEST~1.010" />
        </characteristic>
      </characteristic>
    </characteristic>
    <characteristic type="%InstallDir%\fr-CA" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="SM.resources.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SALEST~1.011" />
        </characteristic>
      </characteristic>
    </characteristic>
    <characteristic type="%CE2%" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="Symbol.Barcode.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SYMBOL~1.001" />
        </characteristic>
      </characteristic>
      <characteristic type="Symbol.Imaging.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SYMBOL~1.002" />
        </characteristic>
      </characteristic>
      <characteristic type="Symbol.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="00Symbol.003" />
        </characteristic>
      </characteristic>
      <characteristic type="Symbol.ResourceCoordination.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SYMBOL~1.004" />
        </characteristic>
      </characteristic>
      <characteristic type="InstallBase.GAC" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="INSTAL~1.012" />
        </characteristic>
      </characteristic>
      <characteristic type="Microsoft.WindowsMobile.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="MICROS~2.013" />
        </characteristic>
      </characteristic>
      <characteristic type="Microsoft.WindowsMobile.Forms.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="MICROS~3.014" />
        </characteristic>
      </characteristic>
      <characteristic type="Microsoft.WindowsMobile.Status.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="MI4263~1.015" />
        </characteristic>
      </characteristic>
    </characteristic>
    <characteristic type="%InstallDir%" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="BackgroundWorker.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="BACKGR~1.005" />
        </characteristic>
      </characteristic>
      <characteristic type="ServiceForce.MergeRep.dll" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SERVIC~1.006" />
        </characteristic>
      </characteristic>
      <characteristic type="SM.exe" translation="install">
        <characteristic type="Extract">
          <parm name="Source" value="SALEST~1.007" />
        </characteristic>
      </characteristic>
    </characteristic>
    <characteristic type="%CE17%" translation="install">
      <characteristic type="MakeDir" />
      <characteristic type="SM Mobile.lnk" translation="install">
        <characteristic type="Shortcut">
          <parm name="Source" value="%InstallDir%\SM.exe" translation="install" />
        </characteristic>
      </characteristic>
    </characteristic>
  </characteristic>
  <characteristic type="Registry">
  </characteristic>
</wap-provisioningdoc>




推荐答案

 


这篇关于CAB安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 18:47