I’m tweaking the Instauser package for my needs, changing the admin’s username, making it copy in an already-hashed password, and adding the local admin to the admin group. Unfortunately, when I add the Instauser-created user to the admin group, OS X offers to register OS X with Apple upon login. This is not the usual pre-login Setup Assistant (which includes the Migration Assistant, date and time, time zone, etc), but rather the last few steps where you are asked for your name, address, and email address. It’s as if Leopard believes that I’ve performed an upgrade installation from a previous major release of OS X.
I’ve tested using an unmodified Instauser package with the exception of adding the user “instadmg” to the admin group by hand since the NetInfo-based commands in the example package don’t work in Leopard. The Registration doesn’t run unless the user logging in is an admin.
Does anyone know where the file which controls this? I don’t believe it’s .AppleSetupDone.