/build/static/layout/Breadcrumb_cap_w.png

Uninstalling only 'Infopath' from Office 2007 suite

Hi,

we are installing 'Infopath 2007' on a build which is already installed with 'Office 2007 suite', except aforementioned application.

But, uninstalling 'Infopath 2007' (By using its MSI product code or setup.exe) is breaking Office 2007 and except 'Excel', none of the shortcuts are working.

Kindly let me know is there any way to uninstall only installed 'Infopath 2007', so that it should not break functionality of other office 2007 shortcuts.

Thanks in advance.

0 Comments   [ + ] Show comments

Answers (16)

Posted by: mekaywe 14 years ago
Brown Belt
0
"None of the shortcuts are working"

What do you mean by above statement? Whats the shortcut behaviour ?
Posted by: spartacus 14 years ago
Black Belt
0
You don't menton in your post exactly how you installed InfoPath 2007 onto the build which already contains Office 2007, but the method you used to perform the install could have an effect on the uninstall behaviour you are observing.

The /modify qualifier can be used with setup.exe to add or remove features (including InfoPath) from an existing Office 2007 installation.

The following is an extract from a Technet article

[font="Courier New"]/modify [ProductID]
Used with a modified Config.xml file to run Setup in maintenance mode and make changes to an existing Office installation. For example, you can use the /modify option to add or remove features. Look up the value of [ProductID]in the Setup.xml file for the product you want to modify.

The Setup.xml file is located in the core product folder on the network installation point. In Setup.xml, [ProductID] is equal to the value of the Id attribute of the Setup element. For example:

- <Setup Id="Pro" Type="Product" ProductCode="{30120000-0011-0000-0000-1000000FF1CE}">
Example
\\server\share\Office12\setup.exe /modify Pro /config \\server\share\Office12\AddOutlookConfig.xml

where Office12 is the root of the network installation point.

So all you need is a modified config.xml to instruct setup.exe to either add or remove the InfoPath feature.

To add the InfoPath feature, you would modify the config.xml in the InfoPath.WW folder on the installation point and create an OptionState element in this file as follows :

[font="Courier New"]<OptionState Id=”XDOCSFiles”
State=”Local”
Children=”force”
/>


To remove the InfoPath feature, you would modify the config.xml in the InfoPath.WW folder on the installation point and create an OptionState element in this file as follows :

[font="Courier New"]<OptionState Id=”XDOCSFiles”
State=”Absent”
Children=”force”
/>


Regards

Spartacus
Posted by: vishwanath_x 14 years ago
Senior Yellow Belt
0
Hi Spartacus,

1) I have tried with your suggestion. But while executing command line i am getting error as 'The Setup configuration file <AddInfopath.xml> is not valid. Run Setup again without using a Setup configuration file, or fix the configuration file.'

Below is the format used :

<OptionState Id=”InfoPath.en-us”
State=”Local”
Children=”force”
/>

have tried with various formats, but no luck :-(

2) In addition referring to http://technet.microsoft.com/en-us/library/cc179141.aspx, i have created an MSP and installed it with msiexec /p <path to MSP>. but this patch is un-installing all installed features of 'Office 2007' (like word, excel etc) and installing 'Infopath 2007' only
Posted by: joseph 14 years ago
Orange Belt
0
Hi vishwanath_x

For installing or uninstalling the Infopath from Office 2007 suite we need to use option state Id as XDOCSfiles.

<OptionState Id="XDOCSFiles" State="absent" Children="force" /> //infopath
Posted by: spartacus 14 years ago
Black Belt
0
OK, here are the full contents of the config.xml files for Installing and Uninstalling the InfoPath feature respectively.

Install

[font="Courier New"]<Configuration Product="ProPlus">
<Display Level="Basic" CompletionNotice="No" SuppressModal="No" AcceptEula="Yes" />
<OptionState Id="XDOCSFiles" State="Local" Children="force" />
</Configuration>


Uninstall

[font="Courier New"]<Configuration Product="ProPlus">
<Display Level="Basic" CompletionNotice="No" SuppressModal="No" AcceptEula="Yes" />
<OptionState Id="XDOCSFiles" State="Absent" Children="force" />
</Configuration>

Note that the above examples assume your existing Office 2007 installation is Office 2007 Professional Plus, however if your existing installation is Office 2007 Enterprise, replace the word ProPlus with Enterprise in the examples above.

Regards,

Spartacus
Posted by: Rheuvel 14 years ago
Brown Belt
0
ORIGINAL: vishwanath_x

Hi Spartacus,

1) I have tried with your suggestion. But while executing command line i am getting error as 'The Setup configuration file <AddInfopath.xml> is not valid. Run Setup again without using a Setup configuration file, or fix the configuration file.'

Below is the format used :

<OptionState Id=”InfoPath.en-us”
State=”Local”
Children=”force”
/>

have tried with various formats, but no luck :-(



The thing I notice about your format is the quotes. They aren't normal quotes.... See the difference between yours ” and mine " ?
Posted by: Packagingteam 14 years ago
Orange Belt
0
Create new msp file. In that file disable infopath feature. Except that, enable all the features, and reinstall. It will remove existing Infopath.
Posted by: vishwanath_x 14 years ago
Senior Yellow Belt
0
Hi Spartacus,

Thanks for your great help. Yes, i am using 'Proplus' Office 2007.
I can now successfully 'Modify' installed MS Office 2007 to incorporate 'Infopath 2007'.

While uninstalltion, we are using content of config.xml provided by you and following command :

<Setup.exe> /uninstall proplus /config <path of uninstall_Config.xml>

Problem here is, this is uninstalling entire Office 2007 rather than only 'Infopath 2007' which we have installed.
we were successful to suppress force rebooting by setup at uninstallation.
I know it's too much to ask, but is it possible to uninstall only the feature which we have installed?
If so, please let me know details.

Thanks in advance.
Posted by: Packagingteam 14 years ago
Orange Belt
0
Why are you not trying through msp as well? In msp you can disable the feature.
Posted by: vishwanath_x 14 years ago
Senior Yellow Belt
0
packagingteam,

yes, i have tried with creating MSP and to modify installed 'Office 2007' suite and have faced following problems :

Installation Issue : 'Configuring' installed office 2007 with MSP is uninstalling installed features of Office 2007 like Word, Excel, Outlook etc.

That is why i am following Config.xml path
Posted by: Packagingteam 14 years ago
Orange Belt
0
You should disable only feature which you want to remove. You should keep all other features selected. Just disable Infopath.
Posted by: vishwanath_x 14 years ago
Senior Yellow Belt
0
packagingteam,

scenario for which i am working is :

customer build is already installed with 'Office 2007' except 'Infopath'.
package created by me (be it script etc.), should 'Modify' this Office 2007 and install only 'Infopath 2007'.
Also, while uninstallation we should only uninstall the feature which we have installed, in this case it is 'Infopath 2007'.

Hope this info helps.
Posted by: spartacus 14 years ago
Black Belt
0
ORIGINAL: vishwanath_x

Hi Spartacus,

Thanks for your great help. Yes, i am using 'Proplus' Office 2007.
I can now successfully 'Modify' installed MS Office 2007 to incorporate 'Infopath 2007'.

While uninstalltion, we are using content of config.xml provided by you and following command :

<Setup.exe> /uninstall proplus /config <path of uninstall_Config.xml>

Problem here is, this is uninstalling entire Office 2007 rather than only 'Infopath 2007' which we have installed.
we were successful to suppress force rebooting by setup at uninstallation.
I know it's too much to ask, but is it possible to uninstall only the feature which we have installed?
If so, please let me know details.

Thanks in advance.



I think the problem is that the /uninstall qualifier is only used when you wish to uninstall the whole product (i.e. ProPlus in your case) so don't use the /uninstall qualifier for the uninstallation, use the /modify qualifier instead.

Your uninstall command should read

<Setup.exe> /modify proplus /config <path of uninstall_Config.xml>

Regards,

Spartacus
Posted by: Packagingteam 14 years ago
Orange Belt
0
In your case, still I will say we can do it, but unnecessarily, 1) we have to install whole package, to install infopath, 2) At the time of uninstall of infopath again run the installation but disable Infopath feature.
It is up to you, which logic you should follow. I will suggest in your case go with xml file installation. That will be better.
Posted by: vishwanath_x 13 years ago
Senior Yellow Belt
0
Hi Spartacus,

Thanks for your great help.
Now, i can successfully install and uninstall 'InfoPath 2007' where Office 2007 is installed.
Yes, we have to use /config for installation and uninstallation of single feature.
Posted by: NACM 13 years ago
Senior Yellow Belt
0
Hi Everyone,

I have InfoPath installed in the system with Office 2003. Without using the MPS file. I want to remove Outlook 2003 and Word 2003, install Outlook 2007, Word 2007, and still keep InfoPath 2007 by using MODIFY and CONFIG.XML file. How do I accomplish this task?

Thanks for your help.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ