How to uninstall Database - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

How to uninstall Database

Hi

I want to uninstall the Database at time of un-installation for my product.

I want to know on which even and where I need to call the vbscript file.

Please help me if any one have any idea about it.

Regards,
Amit Rajput
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to uninstall Database

Hi,

I'm not sure I understand what you need. Can you please give me more details about this? Are you referring to an SQL Database?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: How to uninstall Database

HI,

Thanks for your response.

Yes, I am using Sql Server 2005.

I know that some script file and SQL script will be required to uninstall the database. but i am not sure where i need to call it.

Thanks,
Amit
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to uninstall Database

Hi Amit,

You can use SQL Scripts in your package through the SQL Scripts page. Please note that the User Guide contains a tutorial which may help you. After adding the install scripts, you can also add an uninstall SQL Script which removes the database. Please note that you can choose when the script will run (install or uninstall) by using the "Script Execution" section of the SQL Script page.

Another approach would be to use sqlcmd.exe as a custom action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”