Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to enable "Auto Repair" for com add-in
 

How to enable "Auto Repair" for com add-in

Hello There

I have created a setup project for Microsoft Office 2003 using VS 2005 tools for office runtime. All is fine with this except Auto Repair functionality is not working. Application is using one XML file. I want that if that XML file is deleted then setup will again install that file automatically. I have added that file into setup project also.


I am using VS 2005 Setup project for creating setup.

Thanks

Vipul

Vipul2  Tuesday, September 26, 2006 10:24 AM
Basically you just add the xml file to your setup. The issue might be that there is nothing (like use of a shortcut) to cause repair to kick in. Does it repair if you remove the file and then go to Add/Remove Programs and use Repair?
PhilWilson  Wednesday, September 27, 2006 12:28 AM

The repair should kick in if (and only if) you are usinga Windows Installer shortcut. If you create the shortcut in the File System Editor of a setup project, then that will create the special Windows Installer shortcut.

David Guyer MSFT  Wednesday, September 27, 2006 5:37 AM
Thanx PhilWilson

Yes it’s fine if I repair manually. Is there any other way to achieve this?






Vipul2  Thursday, September 28, 2006 4:52 AM
It might depend how your add-in works. I have seen an Excel add-in repair missing files when Excel was launched and loaded the add-in.
PhilWilson  Sunday, October 01, 2006 6:30 PM

You can use google to search for other answers

Custom Search

More Threads

• Setup and Deployment
• how to update windows application using dotnet
• Change the product name during installation
• beta2 deploy web application
• Application deployment to a device
• Creating installation setup
• Setup Project Problem (MsiInstallProduct returned '1638')
• MSI to check flash availability
• System.Environment.SpecialFolder.CommonProgramFiles
• Configuring a ClickOnce deployment within a setup project