Re: Postflight action (create alias) not working
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:x-priority:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; bh=bhS6+Df4Bk6bHvjsEhkOLbLpqaCXpHBEpxpe2sBWZtM=; b=rE1z2BAjssA5Qe1+/8n2jF+xzn0LTBj4mBxqV6qwruU2DPuM04YjHpKk6LsCVsqhFi MMGOntHTah3pIVZHZkrx5TGOKnBYi6PviPQAExEWGtpB105nXUcfbG//wDl62O82aGYF /3arijwSKrSO5ZmSUYrUkGnsQAGAlmKAH/Ino= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:x-priority:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; b=oLjidQT1cIiwckCriqkq54dBlvEtJ9qffCaDOA7SoxfVvlHmwjQKlNlXz19uYXZr+e 7vntNBpZ3AKSLBX7uVSO3Z8CVKArMocy5o6LfAIuEm3yOhq11//1c71RC4PBost8wryM I4CcaQJyamnb1ZiuScrZmUh3cN67BNW6raIbI= On Apr 21, 2009, at 2:29 AM, Andrew Peckover wrote: Hi, I'm using OS 10.5.6 and PackageMaker 3.0.3 (174). Could you tell us what path you set for the alias? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... In the Distribution --> Actions tab, I have specified two Postinstall actions, "Show file in Finder" and "Create Alias". For Create Alias, I am pointing to "component" and have selected "MyProgram.app". I have also tried specifying the "absolute path". There are no warnings or errors when I build the package, but the postinstall actions don't work. As a test, I tried the Open URL postflight action, and that *did* work.
From what I see, PackageMaker uses an AppleScript script that communicates with the Finder to create the alias. This is not a good solution IMHO as this assumes too much regarding the environment. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev