Hello John et al,

First let me preface with some background information about the way that
conduits are installed on the Macintosh.  During a HotSync(R), the Install
conduit looks in the user's "Files to Install" directory and installs the files
that are located there.  The Install conduit will then delete the files after
they have been installed.   Therefore, by simply placing the files in the user's
folder, they will be automatically installed during the next sync.
PltRemoveInstallFile() would be used to remove the files that you placed there
using PltInstallFile() or PltInstallFileFS() during your installation program.
Perhaps one case would be when an installation fails for some reason and the
files need to be removed.

Here is a description of the PltRemoveInstallFile function:

PltRemoveInstallFile(TCHAR *pUser, TCHAR *pFilename)
     pUser - a pointer to  the user's name
     pFilename - the filename to remove (without full path information) Note:
This will work because the library will make a filespec using the path [Palm
Installation Folder]:[pUser]:Files to Install:[pFilename].

If you would like to specifically identify the file, you can also use
PltRemoveInstallFileFS(TCHAR *pUser, FSSpec *fsSpec).
I hope this helps you resolve your problem.

David Wilson
Sr. Software Engineer
Palm Computing, Inc.






John D Boyd <[EMAIL PROTECTED]> on 10/20/99 03:46:20 PM

Please respond to [EMAIL PROTECTED]

Sent by:  John D Boyd <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:    (David L Wilson/C/HQ/3Com)
Subject:  Macintosh Install Aid Library Q




Hey everyone ...

Please feel free and direct me elsewhere if this isn't the best place
for this type of question:

I'm building an installer for some software we've written.  The Mac
installer uses the Install Aid Library included with the Palm CDK.
I'm having some trouble using the PltRemoveInstallFile(TCHAR *pUser,
TCHAR *pFileName) routine.  I seem to be complete unable to pass in a
valid file name.  It consistently returns a -506, a bad filename
error.

What does this routine expect in the pFileName paramter?  A simple c
string with the name of the file I want to have removed from the
user's install folder?  Or does it expect a path?

Thanks for any insight!

John

---
[EMAIL PROTECTED]






Reply via email to