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.
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)
Please log in to answer
Posted by:
mekaywe
14 years ago
Posted by:
spartacus
14 years ago
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
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
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
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
Posted by:
spartacus
14 years ago
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
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
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
Posted by:
vishwanath_x
14 years ago
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.
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
Posted by:
vishwanath_x
14 years ago
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
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
Posted by:
vishwanath_x
14 years ago
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.
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
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
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.
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
14 years ago
Posted by:
NACM
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.