Hi,

I wonder if some of you would be good enough to give some recommendations
for a way of having a 'nice' installer. Users of my Pocket PC software are
forever complaining that the installation routine is too complex, so I'd
like to address it on the basis that a bad first impression is not good for
business...

Basically, it needs to do the following for the first installation:

1. Install the basic program components to the PPC (supporting the three
different processor types), and register the controls etc. It's written in
eVB, and a future version will be written in eVC.

2. Connect to a service on our web site, pass some information from the PPC
to the site, then accept another file back (generated on the fly at the
site) and install it on the PPC.

That's about it for the initial installation. As the data file changes I
guess I can write some kind of ActiveSync add-on to periodically check the
web site for changes and download them if required. However the installer is
the main thing I have problems with.

I looked at Wise Installer very briefly. A search on their site for 'pocket
pc' seems to indicate that it's nothing more than a fancy way of creating
the CAB file. I want to customise more than that - not least because the
service on the web site is one that we will write from scratch, not a
standard server.

I have a small VB program, thanks to the guys at devbuzz, which is capable
of copying the file from the users PC, via ActiveSync, onto the Pocket PC.
Would the best way be a more comprehensive version of that program which
also copies the various CAB files and runs them? I couldn't see anything
obvious in the MSDN RAPI documentation that dealt with this part of the
installation cycle, though I can see how to get the file over to the PDA of
course as I already do this.

As I write this, it sounds like the way forward is with VB and the RAPI, but
any comments would be most appreciated.

Mike.

Re: Recommendations for installer program? by r_z_aret

r_z_aret
Wed Apr 27 12:08:40 CDT 2005

On Wed, 27 Apr 2005 12:49:16 +0100, "Mike" <test@test.com> wrote:

>Hi,
>
>I wonder if some of you would be good enough to give some recommendations
>for a way of having a 'nice' installer. Users of my Pocket PC software are
>forever complaining that the installation routine is too complex, so I'd
>like to address it on the basis that a bad first impression is not good for
>business...
>
>Basically, it needs to do the following for the first installation:
>
>1. Install the basic program components to the PPC (supporting the three
>different processor types), and register the controls etc. It's written in
>eVB, and a future version will be written in eVC.
>
>2. Connect to a service on our web site, pass some information from the PPC
>to the site, then accept another file back (generated on the fly at the
>site) and install it on the PPC.
>
>That's about it for the initial installation. As the data file changes I
>guess I can write some kind of ActiveSync add-on to periodically check the
>web site for changes and download them if required. However the installer is
>the main thing I have problems with.
>
>I looked at Wise Installer very briefly. A search on their site for 'pocket
>pc' seems to indicate that it's nothing more than a fancy way of creating
>the CAB file. I want to customise more than that - not least because the
>service on the web site is one that we will write from scratch, not a
>standard server.
>
>I have a small VB program, thanks to the guys at devbuzz, which is capable
>of copying the file from the users PC, via ActiveSync, onto the Pocket PC.
>Would the best way be a more comprehensive version of that program which
>also copies the various CAB files and runs them? I couldn't see anything
>obvious in the MSDN RAPI documentation that dealt with this part of the
>installation cycle, though I can see how to get the file over to the PDA of
>course as I already do this.

If you invoke help for the RAPI function(s) you see in your code, then
you can use the Locate button/menu item/??? in the Help dialog to open
the table of contents in the relevant place. That should get you a
list of related functions. I use CeCreateProcess. I don't use eVB or
VB, but I believe DevBuzz is a good source of info:
www.devbuzz.com

>
>As I write this, it sounds like the way forward is with VB and the RAPI, but
>any comments would be most appreciated.

If you're comfortable with VB and your ability to do most of the stuff
in VB, then it is surely the way to go.

>
>Mike.
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com

Re: Recommendations for installer program? by Mike

Mike
Thu Apr 28 05:39:29 CDT 2005

Thanks for your reply.

> If you invoke help for the RAPI function(s) you see in your code, then
> you can use the Locate button/menu item/??? in the Help dialog to open
> the table of contents in the relevant place. That should get you a
> list of related functions.

Locate is only useful if you know what you're looking for. I was looking for
'Run' or 'execute' or something like that when I scanned the MSDN function
list.

> I use CeCreateProcess. I don't use eVB or
> VB, but I believe DevBuzz is a good source of info:
> www.devbuzz.com

Thanks for that - I didn't think of 'cecreateprocess' as this isn't
something I've done before. I do keep an eye on Devbuzz and have found it
very useful. My database installer for example is based on sample code in
one of their articles, as I think I mentioned.

Mike.


>
>>
>>As I write this, it sounds like the way forward is with VB and the RAPI,
>>but
>>any comments would be most appreciated.
>
> If you're comfortable with VB and your ability to do most of the stuff
> in VB, then it is surely the way to go.
>
>>
>>Mike.
>>
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
> please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com



Re: Recommendations for installer program? by r_z_aret

r_z_aret
Thu Apr 28 15:19:42 CDT 2005

On Thu, 28 Apr 2005 11:39:29 +0100, "Mike" <test@test.com> wrote:

>Thanks for your reply.
>
>> If you invoke help for the RAPI function(s) you see in your code, then
>> you can use the Locate button/menu item/??? in the Help dialog to open
>> the table of contents in the relevant place. That should get you a
>> list of related functions.
>
>Locate is only useful if you know what you're looking for. I was looking for
>'Run' or 'execute' or something like that when I scanned the MSDN function
>list.

I may be picking nits, but:
I find Locate useful when I know the name of one function and want the
name of related functions. In this case, I figured you knew the names
of some RAPI functions by looking at the code you have. So you could
look up one of those functions and then use Locate to get the names of
its relatives. I use VC, but assume VB is at least similar. I just
used Help->Index (VC IDE) to look up CeCreateFile, and then used
Locate (Help IDE). And I sure see a list of related files, with
CeCreateProcess right after CeCreateFile. I often _do_ need to check
several functions on the list before I find one that fits. And
sometimes nothing on the list fits. But even then, the extra names
help me search further.


-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com