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:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=+DuxCuDBeE+3cRTBRSqrDmxW8Uleg8eXJYES8P2SRvQ=; b=sybpdt34UlpzC+87MQRnXq1zdUu5mpJKVsEVo4bpAup2aSVzQFS6/CSrAWgCqznXto16ZrIbuUJT3iykUIweSOFLUCnYFTGVVXy2tJdxfVGccy6pjc1q1inTAQY+1xPF5/eP4J+D3pnj8OXiesihoIbAEX3J+mnMvMG8nSKM++I= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=jalFqHFmmI0EU13VyElKlTgLmBtDYj08rmOvcP9fZi777tUji+5yHDNC+jGYJC1Di8BfAXoZcnL7XKZ5nKqBDPGYGkxeA7sZjTbLGPz67reFcPx7TNtVLl0JRCSqWNKpWLD4TzK0K5GohSb6IY8OFhvxdZMdM0Nco+VcuRTOsDs= User-agent: Thunderbird 2.0.0.9 (Windows/20071031) Does this sound like the "quarantined app" issue? Thanks in advance! - Rick 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? 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 This email sent to rcohen.lists@gmail.com _______________________________________________ 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... I am trying to test this. I downloaded a copy of my installer from the internet, and ran it on a Leopard machine. The app I launched from the installer crashed. But the 2nd time I run the installer (or just run the app from the hard drive), the app launches and runs fine. Is that the expected behavior? I then tried downloading the installer again, and the app again launches fine. What do I need to change to force the system to view this as a new app, so that I can test the effect of adding "xattr -d com.apple.quarantine myApp.app" to my scripts? On 11/28/2007 9:11 AM, Martin Bestmann wrote: 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 PS.: Apple heavily uses now extended attributes for various things in Leopard. _______________________________________________ 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/rcohen.lists%40gmail.co... This email sent to site_archiver@lists.apple.com
participants (1)
-
cohen.rick@gmail.com