+ Post New Thread
Results 1 to 9 of 9
How do you do....it? Thread, Create MSI from difference in Technical; I've had enough of trying to deploy office 2007 via group policy, so what i want to do is; 1 ...
  1. #1
    DanW's Avatar
    Join Date
    Oct 2007
    Posts
    246
    Thank Post
    35
    Thanked 12 Times in 12 Posts
    Rep Power
    18

    Create MSI from difference

    I've had enough of trying to deploy office 2007 via group policy, so what i want to do is;

    1 - Clean install of Windows XP
    2 - 'Take Snapshot' of machine
    3 - Install Office 2007
    4 - 'Take Second Snapshot'
    5 - Create MSI from the difference between


    How would i do this?


    Dan

  2. #2

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,137
    Thank Post
    215
    Thanked 1,259 Times in 790 Posts
    Blog Entries
    4
    Rep Power
    507
    you'd use winstall le, which is free on the 2000 server disk i believe.

    However, i've never used it for anything quite as integrated as office - and as such couldn't vouch for it.

  3. #3
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    It would be a bad idea to try and repackage the Office installation into an MSI, as it already is an MSI.

    I haven't had the pleasure of having to deploy Office 2007, do the instructions just not work? Use Group Policy Software Installation to deploy the 2007 Office system
    What's the problem?

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,942
    Thank Post
    886
    Thanked 1,694 Times in 1,472 Posts
    Blog Entries
    12
    Rep Power
    447
    Office 2007 is a pig to deploy via MSI

  5. #5
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,453
    Thank Post
    10
    Thanked 493 Times in 433 Posts
    Rep Power
    111
    It took 40 MINUTES to install Office from files on the local machine today, no way I'm going to inflict that on anyone via gpo

    It's going into the base machine image :P

  6. #6
    StewartKnight's Avatar
    Join Date
    Jun 2005
    Posts
    1,587
    Thank Post
    2
    Thanked 27 Times in 21 Posts
    Rep Power
    30
    you're into a whole world of pain. For whatever reason, microsoft NEVER like to make it easy..... or obvious.

    PLUS.... the upgrade from 2003 to 2007 takes 4 time longer than a clean install.... for whateva reason!!!!

  7. #7
    Osprey's Avatar
    Join Date
    Mar 2007
    Location
    West Yorkshire
    Posts
    65
    Thank Post
    0
    Thanked 6 Times in 4 Posts
    Rep Power
    17
    I have tried this out and it works. I forget where I got it from so apologies and acknowledgements to whoever wrote it. It does have the disadvantage of being a scripted install so if you want to uninstall you will need to use a scripted uninstall, it doesn't uninstall if you remove the machine from the influence of the group policy that you use to install it.

    - Create a folder on the server called Office2007 and share as office2007$ with autheticated users having read access, Domain Admins and Admins have full control. (or use Office12$ or other suitable share)

    - Inside this folder create a folder called logs and set it so that authenticated users have write access

    - Copy the contents of the Office 2007 disc into the folder

    - Go to the \\gateway\office2007$\ProPlus.WW folder (gateway is the name of the server in this case), rename the config.xml file and replace it with the following:


    Code:
    
    
    
    	
    
    	
    
    
    	
    	
    
    	
    
    	
    	
    	
    
    	
    
    	
    	
    	
    
    	
    	
    
    
    - Edit as appropriate ie add pid key and school name, alter location if necessary

    - Use the following script as a startup script (edit the locations) in the top half. This script will work for W2k, XP and Vista, both 32 and 64-bit. It checks to see if Office 2007 is installed by doing a registry query, something you might want to use in scripts in future instead of checking/copying a text file.


    Code:
    setlocal
    
    REM *********************************************************************
    REM Environment customization begins here. Modify variables below.
    REM *********************************************************************
    
    REM Get ProductName from the Office product's core Setup.xml file.
    set ProductName=ProPlus
    
    REM Set DeployServer to a network-accessible location containing the Office source files.
    set DeployServer=\\gateway\Office2007$
    
    REM Set ConfigFile to the configuration file to be used for deployment REM (required)
    set ConfigFile=\\gateway\Office2007$\ProPlus.WW\config.xml
    
    REM Set LogLocation to a central directory to collect log files.
    set LogLocation=\\gateway\Office2007$\Logs
    
    echo %date% %time% Setup started with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    
    REM *********************************************************************
    REM Deployment code begins here. Do not modify anything below this line.
    REM *********************************************************************
    
    IF NOT "%ProgramFiles(x86)%"=="" SET WOW6432NODE=WOW6432NODE\
    
    reg query HKEY_LOCAL_MACHINE\SOFTWARE\%WOW6432NODE%Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
    if %errorlevel%==1 (goto DeployOffice) else (goto End)
    
    REM If 1 returned, the product was not found. Run setup here.
    :DeployOffice
    start /wait %DeployServer%\setup.exe /config %ConfigFile%
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    
    REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
    :End
    
    Endlocal
    - if there are problems with the install then check the logs folder and the %temp% folder on the workstation.

    To restrict which machines Office is installed onto use an AD group and GPO filtering

    I hope this is helpful to someone out there!

  8. #8
    box_l's Avatar
    Join Date
    May 2007
    Location
    Herefordshire
    Posts
    429
    Thank Post
    68
    Thanked 90 Times in 75 Posts
    Rep Power
    61
    try this

    InstallWatch

    makes thing pretty easy.

    only one drawback tho', it makes an exe not an msi.

    BoX

  9. #9

    Join Date
    Aug 2007
    Location
    Houston TX
    Posts
    64
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by box_l View Post
    try this

    InstallWatch

    makes thing pretty easy.

    only one drawback tho', it makes an exe not an msi.

    BoX

    It is much better to repackage to an EXE rather than an MSI. (For self healing purposes) However, I would not do sw deployments through GP unless there is only a few hundred machines in your OU. As for Office 2007, it comes with a nifty automatic deployment tool, maybe you can call it with a batch file in either AD, or let the users self install from a self serve folder on the network.

SHARE:
+ Post New Thread

Similar Threads

  1. Create MSI from a system difference
    By rocknrollstar in forum Windows
    Replies: 3
    Last Post: 20th July 2008, 09:44 PM
  2. [Joke] What's the difference between
    By CHR1S in forum Jokes/Interweb Things
    Replies: 7
    Last Post: 15th April 2008, 10:14 PM
  3. Joomla Form (with a difference)
    By Scotmk in forum Web Development
    Replies: 1
    Last Post: 3rd April 2008, 09:35 AM
  4. What's the difference between Sharepoints?
    By mrforgetful in forum Windows
    Replies: 2
    Last Post: 31st March 2007, 04:49 PM
  5. OpenOffice / StarOffice - any difference?
    By OverWorked in forum Educational Software
    Replies: 4
    Last Post: 16th January 2007, 07:24 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •