Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remotely kill the QuickTime pop-up registration window Install
If you administer several Mac OS X 10.3 machines, then like me, you probably ssh in and use the command line to get OS updates like such:
$ sudo softwareupdate -i -a; sudo diskutil repairPermissions /
Briefly, that enters sudo (superuser do) mode, runs softwareupdate (the Apple Software Update Tool) with the -i (Install) and -a (all available active updates) options. It then uses the ; to run another command as soon as the previous command is done. In this case, that command executes Repair Permissions on the boot volume.

But if you're updating QuickTime on a computer that has a user logged in, the QuickTime registration window pops-up and stops the updating process while it waits for user input (from your command line, the install process just stops at about 50%). If you are not at the computer being updated, and you don't have ARD/VNC (graphical remote control) installed on that computer (or you just don't want to bother with it), don't panic. Just open another ssh terminal window to that same machine and then type:
$ sudo killall QT6Install
That should kill only the registration window, and the updating should continue as regularly scheduled. Some notes, to consider...
  1. I believe its called QT6Install, but I don't remember exactly. You can find it by doing top and finding the a command with a higher pid than softwareupdate that looks something like the one I think it is.
  2. My educated guess is that this won't work for any version of Quicktime other than 6.x. :-)
  3. The softwareupdate command for 10.0.x through 10.2.x is different, and it does not use the i and a flags.
[robg adds: I haven't tested this one.]
    •    
  • Currently 2.29 / 5
  You rated: 3 / 5 (7 votes cast)
 
[12,771 views]  

Remotely kill the QuickTime pop-up registration window | 14 comments | Create New Account
Click here to return to the 'Remotely kill the QuickTime pop-up registration window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remotely kill the QuickTime pop-up registration window
Authored by: bdm on Nov 08, '04 09:30:08AM

pids wrap around so later processes might get lower pids.



[ Reply to This | # ]
Another Method
Authored by: DaMacGuy on Nov 08, '04 10:26:26AM

I'm sure someone can wrap this up in a nifty little shell script...

Find out if you have a QT update via softwareupdate -l (the -l option doesn't work in 10.2 and earlier, so don't use it to get a list of available updates).

If you do have one available then first run one of these commands (depending on your OS)

For Jaguar:
setenv COMMAND_LINE_INSTALL 1

For Panther:
export COMMAND_LINE_INSTALL=1

Then have softwareupdate install just the Quicktime update. This will only work for one install at a time, I don't know how or if you can have this execute for all downloaded updates (softwareupdate -i -a). So if you have an iPod update, QuickTime, and anything else that throws up a dialog box, you'll have to do this for each one.

This is real handy if you administer a large environment of machines remotely via ARD and SSH.

---
-DaMacGuy



[ Reply to This | # ]
Another Method
Authored by: ClassicUser on Nov 08, '04 03:41:50PM
Note that the syntax actually varies based on your default shell ('echo $SHELL '), not (necessarily) your OS version:

For /bin/tcsh (the default in Cheetah, Puma, and Jaguar):
 setenv COMMAND_LINE_INSTALL 1

For /bin/bash (the default in Panther and Tiger):
 export COMMAND_LINE_INSTALL=1
  or
 set -e COMMAND_LINE_INSTALL=1

[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: robmorton on Nov 08, '04 10:15:49AM

Growing tired of the really stupid policy for the QuickTime Installer, I decided to see if I could figure out where I need to comment out in order to remove that stupid popup that stops the installer on a remote machine that you can not see. Looking through the preflight file in the package I found this...

# Marketing (aka Amy Fazio) sez we don't need to bring up the registration dialog anymore
# but let's just comment it out for now in case they change their minds. - duano! 3/16/04
# ... see, QT BRB did change their minds on this. Putting it back until Gibson - duano! 3/17/04
# Putting it back in again for Legal reasons (QT5Pro users need to know they're gonna lose functionality).

It is easy to comment out the lines that bring up the window and make the QuickTime installer one of the more retarded installers that Apple makes in my opinion. This may be easier if you have several machines to update.



[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: jtrascap on Nov 08, '04 12:33:39PM

Another solution is to just set QuickTime player to never ask for registration:
* Set clock 10 years into the future
* Open QuickTime Player and then close it
* Reset clock. & enjoy.

QT checks daily for registration...push it forward 10 years and it won't bother you for awhile. This is the first thing I do when I set-up a Mac in our company.

---
DOS? fsck that!!



[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: simonpie on Nov 08, '04 12:44:44PM

In my experience, no one needs to be logged in in-order for that stupid window to pop up. It just set itself behind the login prompt !

Thanks for the hint though.



[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: Anonymous on Nov 08, '04 01:01:15PM

Jordan Hubbard was in town last week to talk about MacOSX for unix people, and I got a chance to raise this very issue. Hopefully he will take back with him and pass it on to the QT people.



[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: ber on Nov 08, '04 02:27:42PM

I'm guessing this works with Mac OS X the same as it does with Mac OS X Server. Setting the environment variable COMMAND_LINE_INSTALL=1 should prevent the popup. So for example the command above would become:

$ COMMAND_LINE_INSTALL=1 sudo softwareupdate -i -a; sudo diskutil repairPermissions /

assuming /bin/sh or other non-csh based shell.



[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: spiff on Nov 09, '04 07:55:04AM

another option to work around this is to skip the brain-dead softwareupdate installer when it comes to Quicktime. This looks longer than it is actually. Once you have the files you need, you can copy the quicktime installer .pkg to whatever computers you're working with.

go to the Quicktime 'Standalone' installers page:

<http://www.apple.com/quicktime/download/standalone/>

Click on the 'download now' button and let the download begin. Download the file to the desktop (and if you're in safari and need to do a remote install ctrl-click on the download progress box to copy the download url... something like this:

<http://a1540.g.akamai.net/7/1540/52/20041101/qtinstall.info.apple.com/pthalo/us/osx/QuickTimeInstallerX.dmg>

then use the 'installer' CLI option

installer -verboseR - pkg /Volumes/QuickTime\ Manual/QuickTime652.pkg -target /

voila, no stupid serial number prompting. Sure saved me a 4000 mile trip to hit 'enter' on the keyboard of the machine I was working with.

Admittedly, this 'workaround' looks longer but it takes all of a few seconds to extract the necessary file once it's downloaded and then the install process can continue without unnecessary user intervention.

FWIW, YMMV



[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: Schamschula on Nov 09, '04 01:48:12PM
Unfortunately the COMMAND_LINE_INSTALL=1 command did not work for QT 6.5.2. I ended up downloading the full installer, which does not pop up the dialog, and installing from the .dmg after mounting it with
hdiutil
using the
installer
command line tool.

[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: webbix on Nov 08, '04 03:32:20PM
This has been a major PIA trying to run the last group of upgrades and caused some issues with my users losing the old iTunes app among other things as I had to quit the UD process. I have been using ARD but not graphically to do this. I select a group to manage and use the CLI/task option. I have saved tasks to run and it allows me to run as 'root' from the ARD task interface.

I was using two separate tasks but reading this hint I have combined the tasks now. Just tried it on a single machine and it works. Not sure if the tip regarding "COMMAND_LINE_INSTALL=1" will work as I did not try that. So, I still have no solution for faulty installers that stop for a confirmation. In ARD you can only run on task/event at a time and subsequent actions are queued. I would have to ssh into every machine to kill the QT confirmation. Defeats the ARD group management option.

BTW, I had no option to dismiss this graphically as viewing from ARD only showed the login screen. I don't think I tried logging in as any user to see if this displayed.

This is what I am trying now that repairs permissions, updates only required' items, repairs permissions post install and then reboots.
diskutil repairPermissions /; softwareupdate -i -r; diskutil repairPermissions /; reboot


[ Reply to This | # ]
Remotely kill the QuickTime pop-up registration window
Authored by: orpy on Nov 08, '04 06:16:11PM

I think you may be better off using:

$ softwareupdate -q

Apple appear to have forgotten to add this modifier to the man page...

Regards

---
--
Martin



[ Reply to This | # ]
softwareupdate -q
Authored by: TigerKR on Nov 08, '04 07:32:42PM

•A
Thanks for the correction about the possibility for PIDs to wraparound.


•B
From http://www.bombich.com/mactips/commands.html

"some updates may require that the user agree to a license agreement or otherwise provide feedback. In a command-line automated environment, this is unnacceptable. To get around this, execute the following command or add this to your script before running softwareupdate:"

"setenv COMMAND_LINE_INSTALL 1    (if using csh or tcsh)
COMMAND_LINE_INSTALL=1 export COMMAND_LINE_INSTALL    (if using bash or sh)"

I guess I could just alter the command I was using to be this (similar to what a user posted in the comments above):

sudo COMMAND_LINE_INSTALL=1 export COMMAND_LINE_INSTALL; sudo softwareupdate -i -a; sudo diskutil repairPermissions /


•C
Regarding the "softwareupdate -q" suggestion, it is my understanding that will suppress command line feedback, such as "Downloading xxxx" and "Installing xxxx....10%...20%" and so on. I don't believe that it will suppress the popup.



[ Reply to This | # ]
softwareupdate -q
Authored by: orpy on Nov 09, '04 12:18:00PM

You wrote: "Regarding the "softwareupdate -q" suggestion, it is my understanding that will suppress command line feedback, such as "Downloading xxxx" and "Installing xxxx....10%...20%" and so on. I don't believe that it will suppress the popup."

Yes, apologies. I knew there was an answer - because I have to do this every time I update our Xserve. But having checked my notes I've realised that I just kill the QTInstaller process as was suggested in the original post :-(

Sorry...

---
--
Martin



[ Reply to This | # ]