All Forums
 Microsoft Windows CE
 General CE
 Problem when install automatically CAB file
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

vtk100

40 Posts

Posted - 05 May 2006 :  09:30:43  Show Profile  Email Poster
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  Show Profile  Email Poster
Have your installer erase the application install's registry entries before installing the CAB.
Go to Top of Page

vtk100

40 Posts

Posted - 05 May 2006 :  10:08:06  Show Profile  Email Poster
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)
Go to Top of Page

vtk100

40 Posts

Posted - 05 May 2006 :  15:13:59  Show Profile  Email Poster
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 ?
Go to Top of Page

akidder

1519 Posts

Posted - 05 May 2006 :  17:53:08  Show Profile  Email Poster
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?
Go to Top of Page

vtk100

40 Posts

Posted - 08 May 2006 :  10:29:05  Show Profile  Email Poster
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 -----
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000