Closed Bug 172844 Opened 24 years ago Closed 24 years ago

Installer for Mozilla Palm HotSync Conduit

Categories

(MailNews Core Graveyard :: Palm Sync, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rdayal, Assigned: rdayal)

References

Details

Attachments

(1 file, 2 obsolete files)

Enabling Mozilla PalmSync in order to allow synchronization of Palm handheld Address Book with Mozilla AB requires to install the Mozilla HotSync Conduit so that it is used by the Palm HotSync Manager when a Palm sync operation is performed. In order to do so a Palm Conduit Installer needs to be developed which will register Mozilla's HotSync Conduit with the HotSync Conduit Manager and the HotSync Manager. This installer will be installed by Mozilla Installer and will be made a Program sub-menu to allow the user to execute this Palm Conduit installer when he wants to start synchronizing his Palm with Mozilla Address Book.
The Palm Conduit Installer will load a copy of Conduit Manager Dll and HotSync Manager API Dll for which Palm provides permission to redistribute. The installer will then call the CondMgr.Dll and HSAPI.Dll functions, the function addresses of which is retrieved using function names from the loaded Dlls, in order to register the Mozilla AB HotSync Conduit and restart the HotSync Manager to enable sync with Mozilla Address Books.
This code for this installer would go in the directory: 'mozilla/xpinstall/wizard/windows/palmsync'. This installer is a standalone executable which will install the Conduit and exit. For this Mozilla is not required to be running. Sean, can u please review this patch.
Summary: Installer for PalmSync → Installer for Mozilla Palm HotSync Conduit
-Code has been added to call the Uninstall function using commandline options. -Changed the Uninstall function to not just uninstall Mozilla HotSync Conduit but reset the default Palm Desktop configuration to allow sync with Palm Desktop. -Changed code to use resource strings for title. -Added Mozilla license plates. Sean can u review this patch, thanks.
Attachment #101872 - Attachment is obsolete: true
Comment on attachment 101882 [details] [diff] [review] updated patch enabling Uninstall of the Conduit 1) looks like the license is an old version in makefile.in. 2) Should try to resource this string too: + if(res > IDS_ERR_MAX || res < IDS_ERR_GENERAL) + res = IDS_ERR_GENERAL; + LoadString(hInstance, res, msgStr, MAX_LOADSTRING); + MessageBox(NULL, msgStr, "Mozilla PalmSync Installer", MB_OK); 3) you can merge: + if( *cPtr == DIRECTORY_SEPARATOR ) + *cPtr = '\0'; into: + while( cPtr >= pPDInstallDirectory ) + { + if( *cPtr == DIRECTORY_SEPARATOR ) + break; + cPtr--; + } 4) don't forget to add the '/s' (silent) option to at least the uninstallation part. I rather see this as part of the install as well as the uninstall.
Attachment #101882 - Flags: needs-work+
takes care of most comments, minor makefile changes to do conditional build, has the silent option for both install and uninstall.
Attachment #101882 - Attachment is obsolete: true
Comment on attachment 102073 [details] [diff] [review] updated patch with silent option the license part in the Makefile.in still doesn't look like it's the right one. I'm comparing it against the ones listed in http://www.mozilla.org/MPL r=ssu once that's fixed
Attachment #102073 - Flags: review+
Comment on attachment 102073 [details] [diff] [review] updated patch with silent option sr=dveditz
Attachment #102073 - Flags: superreview+
thanks Dan.
Blocks: 155417
This has landed, marking as fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA Contact: nbaca → meehansqa
Component: Address Book → Palm Sync
Running the conduit uninstaller on my Win98 system had the very negative effect of deleting my Palm Desktop user profile! (Data was intact, apparently just messed up the registry.) Had to uninstall/reinstall Palm Desktop to repair. Running Palm Desktop 4.1, Mozilla release 1.2 (20021126)
Regarding Larry Lade's comment #10: I got hit by the same problem, which I have reported as bug 182423. See that report for more info, including an easier way to undo the damage by manually editing a registry key.
Trunk build 2003-02-20: WinXP Verified Fixed. This has been fixed for awhile.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
Product: MailNews Core → MailNews Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: