Leave data files at uninstall - 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!

RichieRich
Posts: 4
Joined: Wed Nov 16, 2011 5:48 am

Leave data files at uninstall

I have a project that supplies db.mdf and db_log.ldf sqlserver database files. They are attached to sqlserver at install time with a script and all is good.
But when the client uninstalls, I want to leave these files behind rather than delete them. It must be possible but I can't see how to do this.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Leave data files at uninstall

Hello,

Here's an article that answers your question.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
RichieRich
Posts: 4
Joined: Wed Nov 16, 2011 5:48 am

Re: Leave data files at uninstall

Cool Mihai. Thanks for that.
Cheers,
Richard.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Leave data files at uninstall

You're welcome, Richard :)

Return to “Common Problems”