Installation Help

G

Guest

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
 
M

mland3s

I am working through the same issue right now. I don't know if you
noticed, but once you open a CAB on the device (whether through the GUI
or a desktop installer), WM5 will subsequently warns:

"The previous version of <AppName> will be removed before the new one
is installed. Select OK to continue or Cancel to quit."

This occurs even if the files that the CAB installed have been deleted
manually. I want to prevent these dialogs from posting too. So, far,
the best I've been able to find on the subject resides here:

<http://microsoft1.groupbrowser.com/t287703.html>

which will undoubtedly lead you to:

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/wmsecurity.asp>

The phrase to include in your search is "silent install". I'll keep
looking - if you find something, I hope you'll post it back.

Thanks, Mike Landis <http://pnmx.com/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top