Help - Search - Members - Calendar
Full Version: Office 2007, Unattended Setup & Fine-tuning
MSFN Forums > Microsoft Software Products - Discussion & Support > Microsoft Office 97/2000/2002-XP/2003/2007
Pages: 1, 2, 3, 4, 5, 6, 7

   


Google Internet Forums Unattended CD/DVD Guide
just_laze
Hey,

I don't use betas.

laze.
MagicAndre1981
QUOTE (Sanjay @ May 21 2007, 05:44 PM) *
v4.45b of 7zip works fine to extract the updates.


I also use this version, but I can't extrac the files blink.gif
just_laze
The "/extract" switch works perfectly.

Just go to start > run > type in the location of the hotfix with the switch on the end and click OK. It will then run, accept the agreement and then select where to save the output. The output will be an *.msp file, place this in your updates folder.

Example - c:\KB123456.exe /extract

laze.
CaNgO
QUOTE (prathapml @ Apr 14 2006, 10:22 AM) *
(updated to reflect final RTM version)

Unattending or silently installing MS Office System, has now become easier than ever. There are two ways to unattend your setup:
--> Option A (use it only if you got Office2007 thru SoftwareAssurance, which comes with activation stripped out).
--> Option B is for all the others (retail/OEM/academic/trial/etc). Both are colored differently below.


Option A:
1. Ensure you have an actual enterprise/corporate disc & product-key.
2. Notably, o2k7 uses setup patches (*.MSP) rather than transforms which previous versions used (*.MST). The below instructions will give you an MSP file, which is not accepted by non-corporate versions of o2k7. If you ignored point1 above, then you will end up wasting 15 minutes of your life which I'm not responsible for.
3. Now at the command prompt, type: setup.exe /admin
4. Choose the product for which you want to make a customization-patch.
5. Then go through all steps in the customization wizard (to install the reqd apps & remove junk & change default settings).
6. Be sure to have "completion notice" turned on & "suppress modals" turned off (this is to get to see errors, if any exist). Once you're done with testing, go thru the customization again to modify the MSP to disable completion notice & enable suppress modals.
7. Save the resulting patch file in the same folder as o2k7 setup files.
8. Now just execute this command (thru any method) for silent install: setup.exe /adminfile CUSTOM.MSP

Or if you have the Office 2007 Enterprise VLK, you could even drop the CUSTOM.MSP file in the "Updates" folder & setup will pick it up automatically (without any switches being used). For this, ensure you have WindowsInstaller 3.1 already installed.

*** For completely silent install, you MUST set the DisplayLevel to "none", either by MSP (accessible from step 6 above) or by xml, otherwise you'll get a confirmation dialog similar to the image shown in attachment below. (do this only AFTER testing, when you're sure it works)
Click to view attachment


................................
just_laze
I hope no-one dignifies your question with a response.

laze.
shald
Hi all, I have read all the replays and have helped me a lot. I have the PROHYBRIDR version of Office 2007 and I need to install various product keys in various computers.

But I have some questions:

- Can I specify the path where the users save all the documents made with Office 2007 by default, like the ork 2003 do.
- I need to make a visual basic script to run the silent installation, introducing each product key by computer.


Thanks a lot. Shald
MagicAndre1981
QUOTE (MagicAndre1981 @ May 21 2007, 10:22 PM) *
QUOTE (Sanjay @ May 21 2007, 05:44 PM) *
v4.45b of 7zip works fine to extract the updates.


I also use this version, but I can't extrac the files blink.gif


7-Zip 4.46 Beta works perfect for extracting the msp files from the exe smile.gif thumbup.gif
prathapml
QUOTE (Sgt_Strider @ Apr 22 2007, 08:02 AM) *
Just wondering if the methods listed on the first page work with Vista?
Yes indeed, same methods for XP,2k3,vista.

QUOTE (Sanjay @ May 21 2007, 09:14 PM) *
v4.45b of 7zip works fine to extract the updates.
Winrar has been correctly extracting MS hotfixes since a long time - its just a self-extracting .CAB archive!



QUOTE (shald @ May 25 2007, 04:44 PM) *
I have the PROHYBRIDR version of Office 2007 and I need to install various product keys in various computers.
But I have some questions:

- Can I specify the path where the users save all the documents made with Office 2007 by default, like the ork 2003 do.
- I need to make a visual basic script to run the silent installation, introducing each product key by computer.
I've never heard of a PROHYBRID version of office.
Yes you can specify the default-save-path for documents, it can be done when you're preparing your MSP file.
As for the VBscript, you might need to make it yourself, as per your customized needs.















QUOTE (eangulus @ Apr 24 2007, 10:18 AM) *
What I would like to be able to do is have a preinstall done (I build computers) for my customers and when you first start an office app it will ask for the serial.
There's a very simple way to do this:
1. First use a key to install.
2. After install, delete this registry key:
QUOTE
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration (on XP & vista 32-bit)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration (on XP & vista 64-bit)
3. You can do the above 2 steps in the normal way, or you can automate both of the above (to do it unattended).
4. Thats all.
ehabgg
is there any method to compress office 2007 installation files
DL.
QUOTE (ehabgg @ Jun 10 2007, 03:14 AM) *
is there any method to compress office 2007 installation files

You can 7-zip it the same way as you can with 2003, search for "office 2003 7-zip" or similar.
DonDamm
@prathapml - As far as I can determine, the setup in O2k7 does not allow for the removal or different placement of the LIS. removal only occurs if Office is not installed for some reason. The MSOcache is created on the same drive and the installation path of the main program. This seems to be by design. Sigh.

In 2003 there was a tool in the Office Resource Kit called LISTool.exe which allowed changing the location of the the LIS or it's removal. More specifically, it dealt with the approriate registry entries. I'm willin gto bet it will work on 2007, though it doesn't appear to be included in the the Resource Kit.

http://office.microsoft.com/en-us/ork2003/...1402361033.aspx
prathapml
The LIStool & and also batch-files can remove the MSOcache, after its created.
But I dont want it to be created at all.



(in office 2003, you could specify that you dont want a local cache at all, and that saved half the install-time)
just_laze
Yes,

At the moment, I delete MSOCache after the installation completes, but this isn't ideal.

If as prathapml suggests, installation time's drastically cut by not creating MSOCache, then I'm for working that much harder to find a solution.

laze.
wallacee
Is there a good (as in easy) way to force any open Office2003 apps to close so SMS can push Offfice 2007 as an upgrade? It seems to be impossible to get the users to close outlook, so the install, naturally, fails. i can't find anything in the OCT that addresses this, but perhaps I'm just not seeing it.

If it can't be done using the OCT or directly editing a config file, is there another tool I can use by linking it to the SMS package?

- Everett
Marsianin
I have another two problems with Office 2007 enterprise vl

1. I made .msp and everything works fine except one thing - it always asks me what I want to install (look at attachment). Because I have two MUI.
So is there a way to select appropriate product automatically (first one) ?

QUOTE
2. I had two separate MUI packages (as you can see in attachment image - russian and spanish). As I know I can merge all MUI folders with .ru-ru and .es-es extensions into main Office 2007 installation and I did it. Original setup.exe (look at the attached image again) recognizes these MUI folders and I can select them from the list. But the problem at the end of the MUI installation is asks for setup.exe and don't accept itself.
Original setup.exe from the worked fine (separately) but now I deleted it sad.gif

This was a beta of Russian MUI. Now works fine.
newuzer
If I unattended try to uninstall Office 2007 Enterprise, it always reboots after completion.
I've tried the following:

msiexec.exe /X{90120000-0030-0000-0000-0000000FF1CE} /quiet /passive /norestart /qb-!
and:
setup.exe /uninstall enterprise /config config.xml

where config.xml includes:

<Configuration Product="Enterprise">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="Reboot" Value="ReallySuppress" />
</Configuration>

Any ideas on how to prevent that from happening?
just_laze
QUOTE (wallacee @ Jun 13 2007, 04:37 PM) *
Is there a good (as in easy) way to force any open Office2003 apps to close so SMS can push Offfice 2007 as an upgrade? It seems to be impossible to get the users to close outlook, so the install, naturally, fails. i can't find anything in the OCT that addresses this, but perhaps I'm just not seeing it.

If it can't be done using the OCT or directly editing a config file, is there another tool I can use by linking it to the SMS package?

- Everett


Hi,

You can use PSKILL.EXE to kill any application.

laze.
newuzer
QUOTE (newuzer @ Jun 21 2007, 02:58 AM) *
If I unattended try to uninstall Office 2007 Enterprise, it always reboots after completion.
I've tried the following:

msiexec.exe /X{90120000-0030-0000-0000-0000000FF1CE} /quiet /passive /norestart /qb-!
and:
setup.exe /uninstall enterprise /config config.xml

where config.xml includes:

<Configuration Product="Enterprise">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="Reboot" Value="ReallySuppress" />
</Configuration>

Any ideas on how to prevent that from happening?


Already found the answer.

config.xml should include:

<Configuration Product="Enterprise">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
JakeLD
QUOTE
I have another two problems with Office 2007 enterprise vl

1. I made .msp and everything works fine except one thing - it always asks me what I want to install (look at attachment). Because I have two MUI.
So is there a way to select appropriate product automatically (first one) ?


I have the same issue. I tried to specified the Product Code in the config.xml file, still not working.

For the problem #2 make sure you added the proper entries in the config.xml filelocated in the Enteprise.WW folder.

Here's my config.xml file:

<Configuration Product="Enterprise">

<!-- Install Office 2007 Enteprise as default product -->
<Setup Id="Enterprise" Type="Product" ProductCode="{90120000-0030-0000-0000-0000000FF1CE}">

<!-- Match GUI language with system language -->
<AddLanguage Id="match" ShellTransform="yes"/>
<!-- Add english language pack -->
<AddLanguage Id="en-us" />
<!-- Add french language pack -->
<AddLanguage Id="fr-fr" />

Any suggestions ?
ripplesouth
QUOTE (prathapml @ Apr 14 2006, 09:22 AM) *
(updated to reflect final RTM version)

Unattending or silently installing MS Office System, has now become easier than ever. There are two ways to unattend your setup:
--> Option A (use it only if you got Office2007 thru SoftwareAssurance, which comes with activation stripped out).
--> Option B is for all the others (retail/OEM/academic/trial/etc). Both are colored differently below.


Option A:
1. Ensure you have an actual enterprise/corporate disc & product-key.
2. Notably, o2k7 uses setup patches (*.MSP) rather than transforms which previous versions used (*.MST). The below instructions will give you an MSP file, which is not accepted by non-corporate versions of o2k7. If you ignored point1 above, then you will end up wasting 15 minutes of your life which I'm not responsible for.
3. Now at the command prompt, type: setup.exe /admin
4. Choose the product for which you want to make a customization-patch.
5. Then go through all steps in the customization wizard (to install the reqd apps & remove junk & change default settings).
6. Be sure to have "completion notice" turned on & "suppress modals" turned off (this is to get to see errors, if any exist). Once you're done with testing, go thru the customization again to modify the MSP to disable completion notice & enable suppress modals.
7. Save the resulting patch file in the same folder as o2k7 setup files.
8. Now just execute this command (thru any method) for silent install: setup.exe /adminfile CUSTOM.MSP

Or if you have the Office 2007 Enterprise VLK, you could even drop the CUSTOM.MSP file in the "Updates" folder & setup will pick it up automatically (without any switches being used). For this, ensure you have WindowsInstaller 3.1 already installed.

*** For completely silent install, you MUST set the DisplayLevel to "none", either by MSP (accessible from step 6 above) or by xml, otherwise you'll get a confirmation dialog similar to the image shown in attachment below. (do this only AFTER testing, when you're sure it works)
Click to view attachment


So once I have created the custom msp file, and put it in the main office2007 install source folder, packed it with nlite addon maker using the command switch /adminfile custom.msp to a huge cab file, put it in nLite patches it should install with windows???
adavi491
Guys an easy way to install the XPS and PDF addin is to do this.

we will assume you know how to do a GPO install.

Install the SaveAsPDFandXPS.exe which you can find here Microsoft Save as PDF or XPS Addin

Then copy the ExPdfXps.msi and the ExPdfXps.cab into the network share that you want to distribute the files from. You can find these two files in C:\Program Files\MSECache\ExPdfXps\1033.

Hope this helps... I tested the install and it works. thumbup.gif
prathapml
Or you can also obtain the ExPdfXps.msi and the ExPdfXps.cab files by making an Administrative-Install-Point of the addin, using this command:
CODE
msiexec /A SaveAsPDFandXPS.exe aipfoldername
shahed26
Can i slipstream my office07 enterprise (silent) into my xp dvd? or it wont work?
prathapml
"Slipstream" defined:
QUOTE
to slipstream is to integrate files from a hotfix or service pack into the original installation media. Microsoft, as well as many other companies, do this as a way of minimalizing the time needed for products to be configured and updated when first installed.
It is designed to reduce the length of a running program by removing the non-essential instructions. Usually, existing components are replaced with an updated version at source itself.


So by definition, you cannot really "slipstream" Office 2007 into your XP dvd as such. What you *CAN* do though, is to include any application you want on your dvd, and use unattended install scripts to have them setup silently without any clicks needed from you.
For more info - The Unattended Guide
shahed26
hi people,
can someone please help me make this an addon please? or has anyone tried slipstreaming it, because i heard that it is possible
shahed26
hi prathapml
please help me here with office 07, am trying to slipstream my office silent installer to my xp dvd, but for some reason half way through installation it fails. please help me slipstream to office 07 to xp please as you know a lot about office 2007

thanks
Marsianin
QUOTE (Marsianin @ Jun 14 2007, 02:59 AM) *
I have another two problems with Office 2007 enterprise vl

1. I made .msp and everything works fine except one thing - it always asks me what I want to install (look at attachment). Because I have two MUI.
So is there a way to select appropriate product automatically (first one) ?


I found the answer thumbup.gif
I'm starting Office 2007 setup with both .xml and .msp files:

CODE
setup.exe /adminfile Enterprise.WW\autoinst.msp /config Enterprise.WW\config.xml


you know how to create .msp and here is my config.xml

CODE
<Configuration Product="Enterprise">
    <AddLanguage Id="en-us" ShellTransform="Yes" />
    <AddLanguage Id="ru-ru" />
</Configuration>


Now it installs everything for me without any questions cool.gif
ITSnedkeren
Hi all

I found this information extremely useful! BUT just one problem.

I have PC's with both Office 2003 + Office 2007 running. The ones having 2003 works fine with the MSP file install, but the ones with the 2007 installed on them just asks if Office 2007 should be modified.

Is there a way for me to uninstall Office 2007 if it exists on the PC, using the MSP or XML file?

Thanks in advance for any reply.
prathapml
Well, there's no easy/direct way that i'm aware of (unless you write scripts to detect & run uninstalls....)

A simple way does exist, provided you know which edition of Office2007 is currently running on the PC. Information relating to this can be found here - http://office.microsoft.com/en-us/excel/HA...aspx?mode=print
Scroll to the bottom where it tells you about "setup.exe /uninstall Pro" - you can get the name/edition of office from setup.xml (see if the productid is pro or basic or enterprise, etc)
QUOTE
/uninstall [ProductID]
Removes the specified product from the user's computer. Look up the value of [ProductID] in the Setup.xml file for the product you want to modify.

Example
\\server\share\Office12\setup.exe /uninstall Pro

where Office12 is the root of the network installation point.



Note that you will have to run that script separately, to remove o2k7 if detected, before installing office. A command-line script for example:
CODE
REM we now remove o2k7 if detected
if exist "%ProgramFiles%\Microsoft Office\Office12" start Office2007\setup.exe /uninstall Enterprise
REM we now install o2k7
start /wait Office2007foldername\setup.exe /yourchoiceofswitches
ITSnedkeren
Thanks very much for the reply, I've tried you solution, it works, apart from that the .bat file is starting the install immediately after starting the uninstall, resulting in an error saying that the product has been damaged and needs re-install.

I'll try it on a fresh machine.

EDIT: Now works, but it comes up with a confirmation box if I wanna uninstall. Any option to make it unattended like the installation??
shahed26
has anybody tried slipstreaming office 2k7 to xp, and did it work? if it did work what configuration did you use to slipstream office 2k7 to xp
ceez
option 'a' is great! we soon will be deploying office 07 in our office...gotta try it out!

thanks for the info!

ceez
thumbup.gif
Thrilla_Vanilla
Hi

I have Office 2007 Enterprise Ed, I work at a University here in South Africa, I need a script to do a silent, customised, full (with all the bells and whistles) unattended install for 400+ PC's currently running Office XP Pro and Office 2003 Pro. It would need to remove all previous Office versions etc. I'm not too concerned about the files that are cached on the local machine, I'll use a batch file to sort that out. I will run the office installation from a network share. I haven't worked with scripts alot as they always seem to need lots of fiddling sad.gif I'm hoping someone has a script already that I could use and edit a few parameters like cd key, company and user details. Any help would be greatly appreciated smile.gif Thanks
Marsianin
Thrilla_Vanilla
Try to start reading this topic from the first page...
Mookey
I used SMS 2003 to push the precache installs to my clients for Office 2007 Enterprise. How do I now use SMS to create a package to run the install from the local precached copy and not have it try to re-create the install cache from the network installation point used to create the precache. Will the setup from the network installation point "see" that the precache exists and skip the copy to the cache and continue on using the source files in the precache??
Timanator
QUOTE (Mookey @ Aug 2 2007, 02:06 PM) *
I used SMS 2003 to push the precache installs to my clients for Office 2007 Enterprise. How do I now use SMS to create a package to run the install from the local precached copy and not have it try to re-create the install cache from the network installation point used to create the precache. Will the setup from the network installation point "see" that the precache exists and skip the copy to the cache and continue on using the source files in the precache??



We have tried this using Livestate Delivery and are getting alot of errors installing from a local copy. Now I call a batch file from our delivery tool.

Still having some errors on uninstall. This has not been the smoothest package project.
ronil
QUOTE (savage1 @ Dec 15 2006, 09:11 AM) *
I go to deploy it to a test machine it starts to install office but quickly comes to the ctrl-alt-del then when I log in to check it only installs the office folder. No word excel etc. jsut like image scanner and one other office tool. any thoughts on this?


I really need some help here... I'm having EXACTLY the same problem. The only difference is that I'm not using .msp files.
Here's what I did:

-copied all the installation files to a shared folder in the DC
-Changed the ProPlus.WW\config.xml to the following:

<Configuration Product="ProPlus">
<Display Level="None" AcceptEula="Yes" />
<Logging Type="standard" Path="%temp%" Template="testing.txt" />
<PIDKEY Value="bla bla bla" />
<USERNAME Value="%USERNAME%" />
<COMPANYNAME Value="Anything" />
<INSTALLLOCATION Value="%programfiles%\Microsoft Office" />
<LIS CACHEACTION="CacheOnly" />
<SOURCELIST Value="\\srvdc01\Office12" />
<DistributionPoint Location="\\srvdc01\Office12" />
<Setting Id="Reboot" Value="IfNeeded" />
</Configuration>


-Then I published the ProPlusWW.msi

Every single time I try to deploy Office 2007 thru GPO, i get only these 2 tools installed:
Microsoft Office Document Imaging
Microsoft Office Document Scanning

And guess what, they dont work...

The Event Viewer says everything is ok and the applications was installed successfully.

-I tried including the following line to test only Excel installation, but still no sucess, only that 2 **** tools appear.
<OptionState Id="EXCELFiles" State="Local" Children="force"/>


Does anyone suspect what's going on?
Mookey
QUOTE (ronil @ Aug 7 2007, 02:42 PM) *
QUOTE (savage1 @ Dec 15 2006, 09:11 AM) *
I go to deploy it to a test machine it starts to install office but quickly comes to the ctrl-alt-del then when I log in to check it only installs the office folder. No word excel etc. jsut like image scanner and one other office tool. any thoughts on this?


I really need some help here... I'm having EXACTLY the same problem. The only difference is that I'm not using .msp files.
Here's what I did:

-copied all the installation files to a shared folder in the DC
-Changed the ProPlus.WW\config.xml to the following:

<Configuration Product="ProPlus">
<Display Level="None" AcceptEula="Yes" />
<Logging Type="standard" Path="%temp%" Template="testing.txt" />
<PIDKEY Value="bla bla bla" />
<USERNAME Value="%USERNAME%" />
<COMPANYNAME Value="Anything" />
<INSTALLLOCATION Value="%programfiles%\Microsoft Office" />
<LIS CACHEACTION="CacheOnly" />
<SOURCELIST Value="\\srvdc01\Office12" />
<DistributionPoint Location="\\srvdc01\Office12" />
<Setting Id="Reboot" Value="IfNeeded" />
</Configuration>


-Then I published the ProPlusWW.msi

Every single time I try to deploy Office 2007 thru GPO, i get only these 2 tools installed:
Microsoft Office Document Imaging
Microsoft Office Document Scanning

And guess what, they dont work...

The Event Viewer says everything is ok and the applications was installed successfully.

-I tried including the following line to test only Excel installation, but still no sucess, only that 2 **** tools appear.
<OptionState Id="EXCELFiles" State="Local" Children="force"/>


Does anyone suspect what's going on?


Your line:

<LIS CACHEACTION="CacheOnly" />

makes the install copy all the cache files necessary for the Office install to c:\MSOCache\All users (hidden). This will "precache" the requirements to a clients local C: drive so when (later) you initiate the install (after you comment out the line) it will initiate then use the local "precache" copy for the source files. This is necessary when you are trying to deploy the Office Suite to clients when network speeds are an issue. It won't actually install the office Suite. if you remove this line and push a setup it will use the local precache to install and save network resources. Office requires this cache to be copied regardless of how you install Office. Comment out this line and try again. This "precaching" will also retain msp customization files as well. If you want to initiate the precache install FROM THE CLIENT DESKTOP, you can also use the setup located at (after the precache of course using the first setup with the <LIS CACHEACTION="CacheOnly" /> flag enabled) at:

From Microsoft:

As an example for Enterprise 2007

C:\MSOCache\All Users\{940120000-0012-0000-0000-0000000FF1CE}-C \setup.exe (no spaces and use quotes "")

You can change the : {940120000-0012-0000-0000-0000000FF1CE}-C to a different reference based on what your installing from the below list

Another example for Normal Professional 2007 Edition (notice the change according to the reference below)

C:\MSOCache\All Users\{940120000-0014-0000-0000-0000000FF1CE}-C \setup.exe

Microsoft Office Enterprise 2007
Enterprise.WW
{940120000-0030-0000-0000-0000000FF1CE}-drive

Microsoft Office Professional Plus 2007
ProPlus.WW
{940120000-0011-0000-0000-0000000FF1CE}-drive

Microsoft Office Standard 2007
Standard.WW
{940120000-0012-0000-0000-0000000FF1CE}-drive

Microsoft Office Professional 2007
Pro.WW
{940120000-0014-0000-0000-0000000FF1CE}-drive

Microsoft Office Access 2007
Access.WW
{940120000-0015-0000-0000-0000000FF1CE}-drive

Microsoft Office Excel 2007
Excel.WW
{940120000-0016-0000-0000-0000000FF1CE}-drive

Microsoft Groove 2007
Groove.WW
{940120000-00BA-0000-0000-1000000FF1CE}-drive

Microsoft Office InfoPath 2007
InfoPath.WW
{940120000-0044-0000-0000-0000000FF1CE}-drive

Microsoft Office OneNote 2007
OneNote.WW
{940120000-00A1-0000-0000-0000000FF1CE}-drive

Microsoft Office Outlook 2007
Outlook.WW
{940120000-001A-0000-0000-0000000FF1CE}-drive

Microsoft Office PowerPoint 2007
PowerPoint.WW
{940120000-0018-0000-0000-0000000FF1CE}-drive

Microsoft Office Project Professional 2007
PrjPro.WW
{940120000-003B-0000-0000-0000000FF1CE}-drive

Microsoft Office Project Standard 2007
PrjStd.WW
{940120000-003A-0000-0000-0000000FF1CE}-drive

Microsoft Office Publisher 2007
Publisher.WW
{940120000-0019-0000-0000-0000000FF1CE}-drive

Microsoft Office SharePoint Designer 2007
SharePointDesigner.WW
{940120000-006E-0409-0000-1000000FF1CE}-drive

Microsoft Office Visio Professional 2007
VisPro.WW
{940120000-0051-0000-0000-0000000FF1CE}-drive

Microsoft Office Visio Standard 2007
VisStd.WW
{940120000-0053-0000-0000-0000000FF1CE}-drive

Microsoft Office Word 2007
Word.WW
{940120000-001B-0000-0000-0000000FF1CE}-drive
tsikma
Hey Everybody,

first time poster, long time lurker...well at least on this subject

I am working on packaging Office 2007 Enterprise and I have gotten the package to install the programs, but there are some small tweaks that I would like to make in order to keep the users from being prompted for things. I have actually done this package with option A, option B and I even tried a combination of A and B to get this to work.

1. Right now all of the Office programs on initial run after install are prompting for username and initials. It has the fields mostly populated, I just would like to suppress this if possible (this is the lowest priority of my issues)

2. Even though this is an Enterprise license and valid I get a prompt to activate Office upon first run. Clicking next a couple times, it finishes right away and says its successful. Is there a way to force this to be done?

3. Privacy options, I noticed this for Outlook but it might have been in other things as well. I get a pop up for a couple Privacy settings that Microsoft would like to do (Enable Customer Experience Improvement Program, Automatically receive small updates to improve reliability, Search online content whenever available) I would like to get this window suppressed with these options disabled.

Any help on getting these options suppressed would be greatly appreciated.
prathapml
Hi tsikma, thats true, I get annoyed by those as well. But I've just not got round to them yet, will post info when I manage to do some testing. But you can try working out a solution using regshot - LINK to tool. Do post your findings smile.gif

1. This is do-able, its an optional PROPERTY setting for the installer which needs to be passed to the MSI (thats how it used to be till office 2003, info on office resource site), but needs to be done thru the MSP now in o2k7.

2. This should NOT be happening at all. Something is wrong with the installer files or some registry keys applied by the installer seem to not be "staying" after setup finishes.

3. Yes, privacy+update options dialogs will appear upon first-run of any office app. You can configure the privacy+update options in the MSP, and then use the above tool to find out which registry key is modified (take 1st shot immediately when the dialog comes up, take 2nd shot after closing that dialog). And then export those registry entries, and apply them yourself (unattendedly) to prevent those dialogs from the next install onwards.
tsikma
QUOTE (prathapml @ Aug 8 2007, 07:49 PM) *
Hi tsikma, thats true, I get annoyed by those as well. But I've just not got round to them yet, will post info when I manage to do some testing. But you can try working out a solution using regshot - LINK to tool. Do post your findings smile.gif

2. This should NOT be happening at all. Something is wrong with the installer files or some registry keys applied by the installer seem to not be "staying" after setup finishes.

3. Yes, privacy+update options dialogs will appear upon first-run of any office app. You can configure the privacy+update options in the MSP, and then use the above tool to find out which registry key is modified (take 1st shot immediately when the dialog comes up, take 2nd shot after closing that dialog). And then export those registry entries, and apply them yourself (unattendedly) to prevent those dialogs from the next install onwards.


In regards to #2:
I am still fighting the Activation Wizard that appears upon bootup, could this be a remnant of the Office 2003 that I have uninstalled prior to installing the Office 2007? This happens even if I install Office 2007 after removing 2003 through Add/Remove Programs manually and restarting, so I dont think the script is the issue in removing office properly...

and for #3:
I have played around with this tool and have narrowed down the registry key to

HKU\S-1-5-21-796845957-1844237615-1801674531-69345\Software\Microsoft\Office\12.0\Common\Internet\UseOnlineContent: 0x00000001

The only problem is that this is a users key and so logging into a machine with another user will cause this screen to pop up again. In fact both the username/initials and this Privacy Options window will appear for the users the first time they open an Office program. I have been digging around but have yet to find a way to add a key for all possible users. something like this...

HKU\%SID%\Software\Microsoft\Office\12.0\Common\Internet\UseOnlineContent: 0x00000001

I found a similar folder at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Common\Internet
and added that key to this location (hoping it will apply to the local machine and supercede the HKU setting) but it doesnt seem to be taking the way I hoped it would.


I am just taking one thing at a time, so the username and initials thing is the last thing I am caring about, and might be resolved in a similar fashion to the issue #3

Thanks for the help so far!!

Tom
Sylvain COUDEVILLE
Hello everybody!

We have to prepare some laptops and desktops for our consumers.
Those laptops & desktop comes with an evaluation of Office 2007.

We have to uninstall this version of Office 2007 and install Office 2003.

I wrote a Batch script to uninstall Office 2007 and install Office 203.
I found this command line to uninstall :
CODE
start /wait MsiExec.exe /X {91120000-0031-0000-0000-0000000FF1CE} /passive /norestart


The uninstall process runs correctly but it seems the "start /wait" command has no effect : the script continues to runs and the Office 2007's uninstall runs in the same time...

Is there any way to ask Msiexec to give back hand to script only when the uninstall process is finish ?

Thank you very much
kal
Use this command line :

CODE
start "Uninstall" /wait MsiExec.exe /X {91120000-0031-0000-0000-0000000FF1CE} /passive /norestart
spinejam
worked great -- thanks OP! smile.gif
TRuLLi
Hi Guys,

I've got a dutch office 2007 enterprise disk and i've made an adminfile with the options:
- display level=none
- suppress modal
- no cancel
- accept eula+serial
- organization name

now when i launch the process with

CODE
setup.exe /adminfile office2007enterprise.msp


i get prompted to select the version of office i want to install ( e.g. enterprise or just visio only ). When i select "enterprise" and hit "Doorgaan"(translated:continue), the setup screen freezes but the install continues with the values located in the MSP file. When the setup is done, the frozen screen disappears. I've read this topic/forum but haven't found someone with the same problem.. Anybody got a clue? Thank you in advance!
prathapml
That is because you have two setup source-directories in the same folder as your setup.exe
So just delete the "Visio.WW"/VisPro.WW/VisStd.WW folder (and keep the "Enterprise.WW" folder).

Please do post back whether this solves it.
TRuLLi
QUOTE (prathapml @ Sep 11 2007, 05:45 PM) *
That is because you have two setup source-directories in the same folder as your setup.exe
So just delete the "Visio.WW"/VisPro.WW/VisStd.WW folder (and keep the "Enterprise.WW" folder).

Please do post back whether this solves it.


Thanks for the reply. tested ant it worked smile.gif
kentk
1. If I want to include "all" available servicepacks for Office2007, is it just to put them as they are in "Updates" dir on cd ? (for instance office2007-kb924884-fullfile-x86-glb.exe)

2. Is there a way to see exactly what updates I should download to be "up to date" ? (except to install and run update..)

Found this list but maybe some updates replace another !?

http://thehotfixshare.net/board/index.php?...pic=97&st=0

Thanks for a great guide smile.gif
prathapml
Well, I'm not sure if exes work, but MSP updates sure do.
A scenario tested & known to work is that when the office2007 SP1 beta is extracted, and the MSP files placed in Update folder, these updates get installed automatically.
kentk
Hm, I tried this file:

<?xml version="1.0" encoding="utf-8" ?>
- <Configuration Product="Enterprise">
- <!-- <Display Level="full" CompletionNotice="yes" SuppressModal="no" AcceptEula="no" />
-->
- <!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Enterprise Setup(*).txt" />
-->
- <!-- <PIDKEY Value="BCDFGHJKMPQRTVWXY2346789B" />
-->
- <!-- <USERNAME Value="Customer" />
-->
- <!-- <COMPANYNAME Value="MyCompany" />
-->
- <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" />
-->
- <!-- <LIS CACHEACTION="CacheOnly" />
-->
- <!-- <SOURCELIST Value="\\server1\share\Office12;\\server2\share\Office12" />
-->
- <!-- <DistributionPoint Location="\\server\share\Office12" />
-->
- <!-- <OptionState Id="OptionID" State="absent" Children="force" />
-->
- <!-- <Setting Id="Reboot" Value="IfNeeded" />
-->
- <!-- <Command Path="msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" />
-->
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<PIDKEY Value="xxxxxxxxxxxxxxxxxxxxxxx" />
<USERNAME Value="." />
<COMPANYNAME Value="." />
<INSTALLLOCATION Value="%programfiles%\Microsoft Office 2007" />
<OptionState Id="ACCESSFiles" State="absent" Children="force" />
//access
<OptionState Id="OUTLOOKFiles" State="absent" Children="force" />
//outlook
<OptionState Id="PubPrimary" State="absent" Children="force" />
//publisher
<OptionState Id="AceRepl" State="absent" Children="force" />
//access db Engine replication
<OptionState Id="CAGFiles" State="Local" Children="force" />
//Clip Organizer
<OptionState Id="MSSOAP3" State="absent" Children="force" />
//SOAP toolkit
<OptionState Id="OsaNonBoot" State="Local" Children="force" />
//new,open office docu lnks
<OptionState Id="WISPFiles" State="absent" Children="force" />
//handwriting
<OptionState Id="DocServicesFiles" State="absent" Children="force" />
//docu update util
<OptionState Id="HTMLSourceEditing" State="absent" Children="force" />
//script editor
<OptionState Id="DocumentImagingUtils" State="absent" Children="force" />
//scanning,ocr,indexing
<OptionState Id="OISFiles" State="absent" Children="force" />
//picture manager
<OptionState Id="OSESupp" State="absent" Children="force" />
//sharepoint support
<OptionState Id="QueryFiles" State="absent" Children="force" />
//msQuery
<OptionState Id="VisioPreviewerFiles" State="absent" Children="force" />
//visio viewer
<OptionState Id="XDOCSFiles" State="absent" Children="force" />
//infopath
- <!-- These are additionals from Enterprise RTM
-->
<OptionState Id="GrooveFiles" State="absent" Children="force" />
//groove
<OptionState Id="OneNoteFiles" State="absent" Children="force" />
//onenote
<OptionState Id="RefIEBarFiles" State="absent" Children="force" />
//research explorer bar
<OptionState Id="WebDriveFiles" State="absent" Children="force" />
//hosted webs
<OptionState Id="VBAFiles" State="absent" Children="force" />
//VB for applications
<OptionState Id="OfficeDigitalSFiles" State="absent" Children="force" />
//vba certificates
</Configuration>



The only thing that was installed was Excel, Powerpoint, Word !? And yes I have enterprise...

Hm, found some errors myself, have made a new file an testing again...




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.