Update SDF component on condition... - 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!

JaedenRuiner
Posts: 12
Joined: Thu Apr 01, 2010 4:12 am

Update SDF component on condition...

I have a project which contains a SQL Server Compact SDF file. I am currently updating the application, and now need to re-build my Installation project for the update. How would I set it up so that the SDF file is included in the update install for "new installs only", where as if the file exists in a previous installation it does not overwrite or remove it to preserve the data.

Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Update SDF component on condition...

Hi Jaeden,

This can easily be done by backup-restoring the file.
I also recommend you read our updates tutorial to aid you with releasing your updates.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”