Author |
Topic |
|
vtk100
40 Posts |
Posted - 05 May 2006 : 09:30:43
|
I am writing a simple program that can automatically reinstall and update third-party applications on BitsyX, however, when I execute the CAB file, the user is prompted with the message "app-name is already installed. Re-install?" Is it possible to suppress this warning so that upgrades and reinstalls can be silent?
|
|
ctacke
877 Posts |
Posted - 05 May 2006 : 09:38:00
|
Have your installer erase the application install's registry entries before installing the CAB. |
 |
|
vtk100
40 Posts |
Posted - 05 May 2006 : 10:08:06
|
I also try with ADScopy but the setup hang when message 'already instaled' popups.
Although, I known that the wceload command has /noui options, it does not suppress the dialog, and intaller must use wceload to execute the file. To suppress the reinstall warnings, can I edit a registry value for the application that indicates whether the application is already installed ? If yes, what registry key I must use ?
Here is the details of my device: - BitsyX , CE 4.20.13 (which supports mono display but not supports WiFi CF card) - Linksys WCF54G cab file (wl420.ARMV4.CAB)
|
 |
|
vtk100
40 Posts |
Posted - 05 May 2006 : 15:13:59
|
I found the registry key :
[HKLM/Software/Apps/Linksys Wireless-G CompactFlash Card] "inst" = 0 ; suppress popup
However I can't install it automatically by using ADScopy. No problem when install manually... Does anyone know why ? |
 |
|
akidder
1519 Posts |
Posted - 05 May 2006 : 17:53:08
|
Thanks for the details. What happens when you use ADSCopy? Does it hang up or just exit? Are there any messages on the debug port? |
 |
|
vtk100
40 Posts |
Posted - 08 May 2006 : 10:29:05
|
It just exit !
This is the debug message :
----- ADSCopy Starting ----- Copying files from Storage CardStartUpADSCopy ADSCopy: Copying from 'Storage CardStartUpADSCopyADSAlloc.exe' ADSCopy: to 'ADSAlloc.exe' ADSCopy: starting app 'ADSAlloc.exe' with command line '0x600' ADSAlloc: Storage Pages = 0x600 ADSCopy: Copying from 'Storage CardStartUpADSCopyARMV4.cab' ADSCopy: to 'ARMV4.cab' ADSCopy: installing CAB 'ARMV4.cab' RaiseException: Thread=81c72d78 Proc=815678c8 'wceload.exe' AKY=00000081 PC=800c0654 RA=800bdea0 BVA=00000001 FSR=00000001 ----- ADSCopy Finished ----- |
 |
|
|
Topic |
|