Re: How to open a folder after installation?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Try cd $2/foldername open . PM On Jun 1, 2005, at 6:56 PM, Derrick Griffel wrote: Thanks, Derrick This email sent to pavol.markovic@centrum.sk _______________________________________________ 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 haven't tried it in Installer, but I was able to do this in situations where open folder didn't work. I am trying to open a specific folder after installation. I have a postflight script that contains the following line: open $2/foldername. I would expect this to open the directory named foldername located at the install location returned by the $2 variable. Unfortunately, the directory does not open. However, if I change this to: open -a $2/foldername/application.app, The postflight script WILL launch my application located inside the folder. Does anyone have any ideas on why I can get the script to launch an application after install, but not open a folder? _______________________________________________ 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/ pavol.markovic%40centrum.sk This email sent to site_archiver@lists.apple.com
participants (1)
-
Pavol Markovic