[feature] Support for Mac alias creation in Install object

VERIFIED FIXED in M11

Status

Core Graveyard
Installer: XPInstall Engine
P2
normal
VERIFIED FIXED
19 years ago
3 years ago

People

(Reporter: dougt, Assigned: Samir Gehani)

Tracking

Trunk
PowerPC
Mac System 8.5

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
Installer needs to create shortcut/alias to exe after install on desktop.
(Assignee)

Updated

19 years ago
OS: All → Mac System 8.5
Priority: P3 → P2
Hardware: All → Macintosh
Summary: Installer needs to create shortcut/alias → [feature] Support for Mac alias creation in Install object
Target Milestone: M12
(Assignee)

Comment 1

19 years ago
Rewording summary. Setting milestone to M12. We need support in the Install
object that parallels FileWinCreateShortcut(), maybe FileMacCreateAlias(). The
core .xpi installer's install script needs to take advantage of this feature and
that's a separate task.

Updated

19 years ago
Blocks: 11020
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 2

19 years ago
Two new forms of the FileMacAlias are now supported in the Install object:

   // public int FileMacAlias( String aSourceFolder,
   //                          String aSourceFileName,
   //                          String aAliasFolder,
   //                          String aAliasName );
   // where
   //      aSourceFolder -- the installed file's folder from Get*Folder() APIs
   //      aSourceName   -- the installed file's name
   //      aAliasFolder  -- the folder of the new alias from Get*Folder() APIs
   //      aAliasName    -- the actual name of the new alias
   //
   //      return codes are - Mac OSErr's bubbled up from NewAliasMinimal()
   //                       - Install.SUCCESS if alias was created

and

   // public int FileMacAlias( String aSourcePath,
   //                          String aAliasPath );
   // where
   //      aSourcePath -- the full path to the installed file
   //      aAliasPath  -- the full path to the new alias
   //
   //      return codes are - Mac OSErr's bubbled up from NewAliasMinimal()
   //                       - Install.SUCCESS if alias was created

Will check in when tree reopens for regular development.
(Assignee)

Comment 3

19 years ago
For an example see
    http://puma/xpinstall/test/trigger.html [select testcase Mac Alias]  -or-
    http://puma/xpinstall/test/macalias.xpi
(Assignee)

Comment 4

19 years ago
Fix checked in.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 5

19 years ago
Build 1999-10-14-08-M11

Looks good.

Comment 6

19 years ago
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.