NoUninstall option in Smart Device project

  • Thread starter Thread starter Victor Espina
  • Start date Start date
V

Victor Espina

Hi.

I have a Windows Mobile application and a Deploy Project, using
VS2008. When I compile the deploy project with NoUninstall property in
True, the generated cab works great at the device but I cannot
uninstall the app from Remove Programs options, as expected due to the
NoUninstall option.

But when I change the NoUninstall option to False and recompile the
deployment project, the resulting cab fails with the message "The
installation was unsucessfull", and the generated setup.log looks like
this:


<wap-provisioningdoc>
<characteristic-error type="Install"><parm name="InstallPhase"
value="install"/>
<parm name="OSVersionMin" value="5.0"/>
<parm name="OSVersionMax" value="6.99"/>
<parm name="BuildNumberMin" value="0"/>
<parm name="BuildNumberMax" value="-536870912"/>
<parm name="AppName" value="TMI / BCS BBOX"/>
<parm name="InstallDir" value="\Program Files\BBOX"
translation="install"/>
<parm name="NumDirs" value="4"/>
<parm name="NumFiles" value="17"/>
<parm name="NumRegKeys" value="0"/>
<parm name="NumRegVals" value="0"/>
<parm name="NumShortcuts" value="1"/>
</characteristic-error><characteristic type="FileOperation">
<characteristic type="%InstallDir%" translation="install">
<characteristic type="MakeDir"/>
<characteristic type="System.Data.SqlServerCe.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="SYSTEM~1.001"/>
</characteristic>
</characteristic>
<characteristic type="System.Data.SqlClient.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="SYSTEM~1.002"/>
</characteristic>
</characteristic>
<characteristic type="System.Data.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="SYSTEM~1.003"/>
</characteristic>
</characteristic>
<characteristic type="System.Runtime.Serialization.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="SYF5A0~1.004"/>
</characteristic>
</characteristic>
<characteristic type="System.ServiceModel.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="SYD4CB~1.005"/>
</characteristic>
</characteristic>
<characteristic type="System.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="00System.006"/>
</characteristic>
</characteristic>
<characteristic type="mscorlib.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="mscorlib.007"/>
</characteristic>
</characteristic>
<characteristic type="Resco.AdvancedComboBox.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOA~1.008"/>
</characteristic>
</characteristic>
<characteristic type="Resco.AdvancedList.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOA~2.009"/>
</characteristic>
</characteristic>
<characteristic type="Resco.CommonControls.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOC~1.010"/>
</characteristic>
</characteristic>
<characteristic type="Resco.CustomKeyboard.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOC~3.011"/>
</characteristic>
</characteristic>
<characteristic type="Resco.DetailView.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOD~1.012"/>
</characteristic>
</characteristic>
<characteristic type="Resco.ImageBox.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOI~1.013"/>
</characteristic>
</characteristic>
<characteristic type="Resco.OutlookControls.CF3.dll"
translation="install">
<characteristic type="Extract">
<parm name="Source" value="RESCOO~1.014"/>
</characteristic>
</characteristic>
<characteristic type="Loader.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="00Loader.015"/>
</characteristic>
</characteristic>
<characteristic type="TRCommonLib.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="TRCOMM~1.016"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE15%" translation="install">
<characteristic type="MakeDir"/>
<characteristic type="ARIALN.TTF" translation="install">
<characteristic type="Extract">
<parm name="Source" value="00ARIALN.017"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE11%" translation="install">
<characteristic type="MakeDir"/>
<characteristic type="BarcodeBox.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%InstallDir%\Loader.exe"
translation="install"/>
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
</characteristic>
</wap-provisioningdoc>

Any ideas?

Regards

Victor Espina
 
Back
Top