Re: Can I force a restart after install from a command line build package?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com <key>IFPkgFlagRestartAction</key> <string>RequiredRestart</string> On Oct 16, 2008, at 3:50 PM, OSullivan, Steve wrote: Greg, Thanks again, Steve O'Sullivan -Greg On Oct 16, 2008, at 3:17 PM, OSullivan, Steve wrote: Good afternoon all, I am resubmitting this question in the hopes that some more people may get a gander at it. I have been googling and looking at the man pages, but have not found any kind of answer through those methods. Thanks for any and all assistance! I am building a package from the command line, without using a pmdoc. I am using PackageMaker 3.0.2. Is it possible for me to configure the resulting package to force a restart at the end of the installation process when building the package from the command line? Thanks for any and all assistance! Regards, Steve O'Sullivan _______________________________________________ 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/greg.neagle%40disney.co... _______________________________________________ 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... Thanks for your reply! I have been looking (since your response) for an example of the syntax for what you describe and can find none. Can you point me in the right direction? I have googled on " IFPkgFlagRestartAction RequiredRestart" On 10/16/08 3:26 PM, "Greg Neagle" <Greg.Neagle@disneyanimation.com> wrote: If by this you mean can you set the option to RequireRestart after installation, then yes. You need to use the --info option to pass the path to a properly constructed Info.plist that has this key set. Alternately, you could add the key to generated plist in the resulting package built by packagemaker (assuming you're building bundle-style packages, and not flat packages). This email sent to greg.neagle@disney.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle