Click here to Skip to main content
15,922,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have an MSI set up for an application, which is created using NAnt.
This set up creates SSIS packages on the SQL server and also creates a virtual directory on the IIS.

While uninstalling the program it does not delete both of these.

What can I do to delete the Virtual Directory from ISS and remove the SSIS packages while uninstalling the product?

Is that something that I can do on the NAnt build script? Or do I need to do this on the C# Installer Project

Many thanks
Deeps
Posted
Updated 21-Jul-14 6:02am
v2

1 solution

 
Share this answer
 
Comments
Deepu Sreedhar 21-Jul-14 6:09am    
Thanks for coming back on this so quickly. But where/how can I add a custom action for uninstalling on a NAnt script? Or do I need to add this on the Installer Project (Visual Studio C#)?
mcdubey 21-Jul-14 6:31am    
You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a command-line window, by editing configuration files directly,
or by writing WMI scripts. please go through below link

http://technet.microsoft.com/en-us/library/cc753247(v=ws.10).aspx
Deepu Sreedhar 21-Jul-14 10:33am    
Sorry, But I am not getting it. My challenge is while uninstalling the product it should remove the SSIS packages created on SQL Server and the Virtual Directory created in IIS.

Will I do that in the build script of NAnt or the C# Installer Project? What I need to do to handle this situation?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900