Closed Bug 14345 Opened 25 years ago Closed

[feature] Support for Mac alias creation in Install object

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P2)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dougt, Assigned: samir_bugzilla)

References

Details

Installer needs to create shortcut/alias to exe after install on desktop.
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
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.
Blocks: 11020
Status: NEW → ASSIGNED
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.
For an example see http://puma/xpinstall/test/trigger.html [select testcase Mac Alias] -or- http://puma/xpinstall/test/macalias.xpi
Fix checked in.
Status: RESOLVED → VERIFIED
Build 1999-10-14-08-M11 Looks good.
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.