Home Forums Software InstaDMG I would like to change the English.lproj

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #372215
    cooperkevind
    Participant

    in User Template. or at least the Library folder. I know the whole purpose for InstaDMG is for “clean” installs but it would be nice to have control over user settings. Anyone know how to accomplish this?

    by the way I’m not an expert so all the posts and submitted packages have really helped get a handle on this. So Thanks

    Kevin

    #372217
    mavin
    Participant

    Check out Mike Bombich’s lab deployment tutorial. It’s dated, but he alludes to what you’re asking for at the bottom of page 10. Should be a good starting point.

    http://www.bombich.com/mactips/files/workshop.pdf

    #372218
    cooperkevind
    Participant

    Most of what I want done will be done with WGM.. But we are using Macbooks in a business environment using Microsoft Terminal server.. I have used Mike Bs tutorial many times. I would like to just replace the English.lproj folder on completion and I would be happy the problem I have is actually replacing the English>lproj file in the image created. The DmG is not editable. I was just wondering if anyone out there has used a post flight script or managed to accomplish this some how. Or am I barking up the wrong tree?

    Thanks

    #372220
    akinspe
    Participant

    What particular settings are you looking to change?

    Depending on what you’re trying to accomplish, you could either do it using DSLocal policies, or yes, you could replace /S/L/User Templates. But before you go down that route, let’s find out what you’re trying to manage. Also if it this is going to be a one user system, you could get creative and have a script that takes a variable for the shortname (like createUser) and auto populate the home folder with some settings. I’ve already gotten a request for something like that. I have some ideas to make it work.

    But MCX is generally the better choice if you have a central server.

    #372226
    Patrick Fergus
    Participant

    One item that (AFAIK) doesn’t understand MCX is Adobe CS3. We’re going to be dropping standard preferences into /S/L/UT/E.lproj via FileWave, but there are programs where MCX unfortunately isn’t a good fit. But where MCX works, it is awesome.

    – Patrick

    #372235
    knowmad
    Participant

    can’t MCX be used even if you DON’T have a central Mac server? ie use WGM to create MCX settings and a package to install them?

    EDIT:
    (meant as continuation of conversation, not answer to the ‘MCX does not cover everything’ comment)

    #372238
    cooperkevind
    Participant

    All that I would like to change is dock prefs. Get rid of the Office 2008 first run. Add a shortcut for Remote Desktop Connection. So what I am hearing is I need to research how to do it with MCX settings?

    Forgive me if I’m wrong here but isn’t using MCX after the fact? I would love to have my image coming from InstaDMG to have the settings in place on output. I already have my users set up with instauser…. and no more setup screens using clearreg. Now if i can have it already set up for my users (1 admin and either a lab or staff login) to have the settings already set up this would really answer my need.

    Thanks for the help.

    #372244
    Patrick Fergus
    Participant

    cooperkevind, how much structure (if any) do you have for updating the computers today? Radmind, FileWave, etc? Asked differently, how do you implement a change to all of your machines simultaneously? That information may help people on the forum give you more relevant answers.

    – Patrick

    #372247
    cooperkevind
    Participant

    ” how much structure (if any) do you have for updating the computers today?”

    None. In the lab we use images we don’t really have a policy for users.

    what I would really like to know is: After creating my image in InstaDMG. can I open up that image and copy in a new English.lproj ? If so how? I

    If not I guess I will work on a script to copy it in before its imaged.

    Thanks

    Kevin

    #372257
    knowmad
    Participant

    [QUOTE][u]Quote by: cooperkevind[/u][p]

    what I would really like to know is: After creating my image in InstaDMG. can I open up that image and copy in a new English.lproj ? If so how? I

    If not I guess I will work on a script to copy it in before its imaged.

    Thanks

    Kevin[/p][/QUOTE]

    The answer you are looking for is yes, the caveat is ‘good god, don’t do it!’

    If I understand your request, the ‘simple’ series of steps you are looking for are:

    1) Create a new image the InstaDMG way
    2) After it has completed, put the resulting image into DiskUtility and convert it to read/write (thsi will take a while)
    3) Then either log in as root or continue by using sudo
    4) mount the read/write image
    5) If logged in as root, navigate to the preferred English.lproj and drag copy it to the correct place on the read/write image
    5a) If not logged in as root than open terminal and [code]sudo cp -R -P /System/Library/User\ Template/English.lproj /Volumes/{IMAGE}/System/Library/User\ Template/English.lproj[/code] (please double check my syntax and path… this is done on the fly and I don’t do this by command line often even though I should know how).
    6) convert the newly edited image file back to compressed and then
    7) scan it for restore

    While these 7 (or so) steps seem simple, this is hugely time consuming as all the scanning and converting takes a VERY long time, more dependent on hard drive speed than CPU. I would seriously suggest looking into a script or installer package.
    I am currently working on avoiding the use of an installer package but until I have alternatives perfected, I have created (using IceBerg and LanRevInstallEase) a package that puts my pre-configured English.lproj in place during the IDMG process. The two caveats I offer are:
    1) build the package as root so you can see your English.lproj without issue
    2) Use a preflight script to change the name of the existing English.lproj on the image before you try to put the new one in place.

    My pre flight script is super simple and says:
    [code]mv $3/System/Library/User\ Template/English.lproj $3/System/Library/User\ Template/English.OLD[/code]
    thats all.
    (small admission, I could not find the full path to the MV command, but I did not look hard, if anyone knows it I would be grateful for its posting, thanks.)

    I hope all of this helps at least a little bit.

    #372259
    cooperkevind
    Participant

    Thanks Knowmad that helps a lot

    Kevin

    #372261
    Patrick Fergus
    Participant

    The User Template is pretty empty already. You probably wouldn’t need to remove the existing template before dropping files into it (we aren’t–darn you Dymo!).

    Using an installer package would probably be the easiest way. You can install/place files directly into the User Template as a CustomPKG, and then you don’t have to touch the image creation process–your files will end up in the right place automatically. As long as you’re ok with your users changing the settings/files after you’ve put them in the User Template, you should be ok.

    – Patrick

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

Comments are closed