> you can get the version 3.xx hotsync manager to
> install a PRC file by just copying the file to the <pilot
> base>\<user>\install folder. The file is installed at the next hotsync.

It's not quite as simple as this. There are some more steps than this. To make
things easier for you and to give us more flexibility to change installation
methods without breaking everyone's installers, we provide the Install Aide
library with the Conduit Developers Kit. Please use the function
PltInstallFile() for installing applications to the handheld.

> You can get the <pilot base> path from the registry (under Windows). (I
> think it is something like HKEY_CURRENT_USER\Software\U.S.
> Robotics\Pilot Desktop\Core)

Once again, there is an API for you to get this information. We would be very
happy if you use the PltGetPath() function in the Install Aide API. This way,
the the location and format of where this information is stored can be changed
without breaking everyone's installer.


> Getting the name of a user's folder is a little trickier.  For an
> inhouse util, I look at the file <pilot base>\users.dat to get the
> default user name.  I don't know if the format of this file is
> documented or not.  There might even be a conduit API to access the data
> in it (I've never done a conduit).

There is a UserData API supplied with the CDK that is intended for these
functions. The format of the users.dat file is not a fixed format.


-Geoff Richmond
Palm Developer Support





"Fitzpatrick, Joe" <[EMAIL PROTECTED]> on 01/26/2000 07:38:37 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Fitzpatrick, Joe" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Geoff Richmond/HQ/3Com)
Subject:  RE: Installers for Palm applications?




Unless I am mistaken, you can get the version 3.xx hotsync manager to
install a PRC file by just copying the file to the <pilot
base>\<user>\install folder. The file is installed at the next hotsync.

You can get the <pilot base> path from the registry (under Windows). (I
think it is something like HKEY_CURRENT_USER\Software\U.S.
Robotics\Pilot Desktop\Core)

Getting the name of a user's folder is a little trickier.  For an
inhouse util, I look at the file <pilot base>\users.dat to get the
default user name.  I don't know if the format of this file is
documented or not.  There might even be a conduit API to access the data
in it (I've never done a conduit).

Either way, conduit SDK or looking at the file directly, it would be
pretty easy to put this in a simple DLL to include with Installshield.
It is very easy to call a custom DLL during both install and uninstall.

Good Luck
-jjf

-----Original Message-----
From: B. Flaumenhaft [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 26, 2000 4:19 PM
To: Palm Developer Forum
Subject: Installers for Palm applications?



Hello -

Has anyone used any installers for installing both .prc files and
conduits?
I'm wondering how I could put together something InstallShield-like that
would run the Palm Install Tool (allow me to HotSync .prc on to the
device)
as well as register conduits for me.

Thoughts?

Thanks,
Ben Flaumenhaft

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html

--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palm.com/devzone/mailinglists.html






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to