I am working through the same issue right now. I don't know if you
is installed. Select OK to continue or Cancel to quit."
manually. I want to prevent these dialogs from posting too. So, far,
The phrase to include in your search is "silent install". I'll keep
Guus Davidson wrote:
> Hi I was wondering if anyone could help me out with an annoying issue I am
> having when installing my application onto a device.
>
> Firstly I want to install three Cab Files as part of the installation, these
> being.
> 1.The new CF2.0 cab file, if it is not present on the target device.
> 2. My Application
> 3 A separate data file for my application.
>
> I have written a windows installer application using the NSIS scripting
> language. This currently installs the CAB files sequentially.
>
> My issue is that on Windows Mobile 5 devices (I have a Dell Axim and a
> PDA-N) once I install one of the individual cab files the PDA displays a
> "Installation Successful" Dialog.
> If the user starts to install the next Cab file before they press the 'OK'
> button, then my installation process breaks down as the first cab file is not
> installed.
>
> I have tested this on PPC 2003 devices, (I have a Garmin M4 and a O2 mini)
> and there is no "Installation Successful" dialog, so the process works
> seamlessly.
>
> I am at a loss on how to proceed.
>
> I have tried to install the three Cab files in one cab file that then places
> these in the startup folder, but on my windows mobile 5 devices only one cab
> file is ever run on boot up (and it always happens to be my Data cab file).
> This process however works on the PPC 2003 device.
>
> I have also tried putting in a registry check so that I only allow the
> sequence of cab installs to proceed when the previous one has completed, but
> this isn't reliable as the registry is created before the "installation
> success" dialog.
>
> We have also tried the pocket PC Installer creator application
> (
http://www.pocketpctoolkit.com/), and this is capable of doing a complete
> install without the user having to press ok on the "Installation Successful"
> Dialog. "
>
> Please can someone help me out here, my boss is going mental every time he
> breaks the installation, and I want to get back onto developing the rest of
> the application.
>
> Surely someone has encountered and solved this already. I am new to doing
> PPC development so I hope I've not missed something trivial here.
>
> Thanks in advance
>
> Guus Davidson