Re: launching app post-install in leopard
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:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=3RBlzpIFxDhS4AXip4+PHmQL/BQ5sYA+vpf+ss/RYF0=; b=EDGofJO44Ea+JLA2pQtofawMwqanraoRHKKMelBVdrG8ErsN81kQeQOpOvFAgQdp2ilWgIg0SEEjrCt4XMTlicB0OhB+4KLpF4MYOMzrj/6+GsSMEOBF4HxXzzly6T2mkeO2NfkNWQOfbKRk5PvNHQwNJWPFqmmrF8+jLVLuNsU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=llbQ50gAyoiz74hpZxO2G1HCu4iOW+CvBlk5G3Nl65wKFQoF71YrIrjj3rhn4FlRU4ba5Th6LS08y2mAezKard36ip5bhNpDrMzoCYL3c3Np9HzQ5ZDTnUBCCAhRMR72lqnEf3Wa4ijAcorZL/A0Ld6kCdNItqSC9d3p5ddcSfA= Interesting. Sounds very promising, Martin -- thanks. I'll give it a try. -Adam On Nov 28, 2007 7:41 PM, Martin Bestmann <martin@poleposition-sw.com> wrote:
On 27.11.2007, at 13:16, Adam Fisk wrote:
Someone mentioned the issue with not being able to call "open myApp.app" in a postflight script because Leopard notices it's downloaded from the Internet. I'm seeing the same thing with launchctl.
Anyone know a way to launch your program after the install on Leopard?
Thanks very much.
The problem is that Apple attaches to those files coming from the internet an extended attribute. Run this from terminal to see it
xattr -l myApp.app
Once attribute is removed with
xattr -d com.apple.quarantine myApp.app
You can launch it without user interaction.
Hope this helps,
Martin
PS.: Apple heavily uses now extended attributes for various things in Leopard.
-- http://www.littleshoot.org Open Source, Open Standards, Open Data _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Adam Fisk