Removing previous version from mobile device

  • Thread starter Thread starter flyingwhiz
  • Start date Start date
F

flyingwhiz

We moved into .NETCF from eVB.Many of my users are having eVB
appliation on their devices.I want to remove the eVB application from
remove programs when they are installing the .NETCF application.Is
there any way to remove the eVB application ? Do i need to change the
..ini file.

Can any one help me how to resolve this problem ??

Thanks
Whiz
 
You can launch "unload.exe" with the display name of the install package
(the text that appears in the remove programs tool) e.g. fron .NETCF code
with the SDF

Process.Start("Unload.exe", "ACME Supertool v1.0")

If you want to remove it during the installation itself you will need to
write a native setup dll (with evc++) and call CreateProcess to launch
unload in your Install_Init method

Peter
 
Peter,

Thanks for the reply. I am VB guy and dunno how to work on eVC++. Is
there any other way to remove the program while installing.

Thanks
Whiz
 
Back
Top