Currently Being ModeratedNov 5, 2011 4:56 PM (in response to dfwmicro)
what is the script your using in your custom installer?
Currently Being ModeratedNov 5, 2011 6:53 PM (in response to TeenTitan)
This is a custom installer created inside of Apple Remote Desktop administrator. I told it to create a local user for use in managing the clients and everything installs fine but no user is created. No errors, just doesn't create the user.
Currently Being ModeratedNov 5, 2011 10:37 PM (in response to dfwmicro)
have you tried running the installer manually on a client computer? If so, when you did so, did the installer work? if no, did look at the installer log to see what error messages popped up? (there a log option in the installer, under the window menu)
Currently Being ModeratedNov 7, 2011 5:48 AM (in response to TeenTitan)
Yes, I have run it manually on the client computer and it does not create the account although there are no error messages on the screen or in the Installer Log.
Currently Being ModeratedNov 7, 2011 7:10 AM (in response to dfwmicro)
I've got the same problem.
It seems to be caused by the makeuser binary tool used by the installer not working on 10.7.
If you look at the installer log in the all messages section you can see lines like:
ERROR: Unable to determine OS version: 10.7.2.
usage: which [-as] program ...
ERROR: "" not found.
ERROR: --longname not provided.
ERROR: Flag --shortname not provided.
Looks like we'll have to wait for Apple to fix that.
Currently Being ModeratedNov 7, 2011 8:00 AM (in response to Dan Burgess)
Is Apple aware of the problem? I assume someone at Apple montors these forums??? I'm getting 65 new MacMinis on Friday and really need to be able to use ARD to configure them. I may have to create the admin account first and then install the client. Really inconvenient and much more time consuming.
I've heard that there are also problems joining Lion machines to Active Directory. Another BIG problem here. I haven't seen this many bugs in an Apple product in years.
Apple are you listening???
Currently Being ModeratedNov 7, 2011 10:27 AM (in response to dfwmicro)
Is Apple aware of the problem?
We're all just fellow users here, so unless someone has contacted Apple tech support on the issue and been told that Apple is aware of the issue, we don't know.
I assume someone at Apple montors these forums???
That would be an incorrect, or at least risky, assumption. The Communities Hosts try to scan for problem trends, but with thousands of posts to have to sift through, they usually can spot only a fraction. So no, Apple is not listening, at least not here in these forums in any way you can depend. The best way to comment to Apple is via their feedback pages:
or by their bug reporter if you have an Apple developer account.
ARD is clearly very low in Apple's priority list, so it's probably not a tool on which to depend for enterprise-quality management.
Regards.iMac, Mac OS X (10.7), Core i7 Radeon 4850 8GB
Currently Being ModeratedNov 8, 2011 3:16 AM (in response to dfwmicro)
I've done a bit more digging, and the error is caused by there not being a case for 10.7 in the makeuser file. I have reported it to Apple on the feedback page, but in the meantime I managed to fix it for myself.
It's a little tricky to correct this because the package is a flat package so you can't right-click and choose show package contents to edit it, you have to use pkgutil to expand the package, edit the makeuser file and then flatten it again.
Copy the Custom Remote Desktop Installer.pkg to your Desktop.
Use pkgutil to expand the package, open Terminal and enter:
pkgutil --expand ~/Desktop/Custom\ Remote\ Desktop\ Installer.pkg ~/Desktop/Custom\ Remote\ Desktop\ Installer
Open the Custom Remote Desktop Installer folder that has been created on the Desktop, and right-click on RemoteDesktopClient.pkg and choose Show Package Contents. Then open Scripts and then Tools. Then open makeuser with a text editor.
Find the section in makeuser where the cases for the different OS versions are set. Add a condition for 10.7, the section in question should look something like this after you have changed it:
Save makeuser (making sure that the name and permissions are preserved).
Now flatten the package:
pkgutil --flatten ~/Desktop/Custom\ Remote\ Desktop\ Installer ~/Desktop/Custom\ Remote\ Desktop\ Installer\ 2.pkg
You will have a new package on your Desktop, Custom Remote Desktop Installer 2.pkg which you can test on your client Macs.
This worked for me, as always, YMMV. Good luck.
Currently Being ModeratedNov 8, 2011 10:34 AM (in response to Dan Burgess)
Sounds like you've figured it out. I found the pkgutil utility on the web. How do I install the utility on OS X, or do I just put the package in a folder with the pkgutil and run it that way? I'm anxious to try this. It will be a life saver.
Currently Being ModeratedNov 8, 2011 10:56 AM (in response to dfwmicro)
pkgutil seems to be already installed on Lion in /usr/sbin. Open a Terminal and type pkgutil and you should see the help options for that tool.
Currently Being ModeratedNov 8, 2011 11:03 AM (in response to dfwmicro)
Never mind my previous question. I just ran it from the folder where I unzipped the pkgutil files. Worked fine. Now to test the patched installer. Will let you know if it works. Thanks for your help!
Currently Being ModeratedNov 8, 2011 1:19 PM (in response to Dan Burgess)
Your solution seems to work here as well. Is there a way to have the Custom Installer to give the created account administrative permissions on the computer?
Currently Being ModeratedNov 8, 2011 3:40 PM (in response to dfwmicro)
From what I recall, the account created does not have local administrator rights when examined in the accounts preference pane even if you specify it to have all privileges when created with the custom installer creator.
You can perform administrator level actions through ARD when authorised as that user though, such as running UNIX commands as root.
You could script the user to be a local admin using something like:
dscl . -append /Groups/admin GroupMembership username
Glad I could help you to get your installer working on Lion. If you think I have answered your question please set it as the answer so I can get some points. Thanks.
Currently Being ModeratedNov 8, 2011 7:46 PM (in response to Dan Burgess)
I'm new to these discussions. How do I set it as the answer?