Incorporate SQL .bak file.... - 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!

Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Incorporate SQL .bak file....

Incorporate SQL .bak file and then restore it at a remote worksite server

Hello,

What I need is that I can add different bak files into package for deployment. so for example I look after 3 different DB's and need to deploy each of them individually using this deployment package. How can I achieve this in Advanced Installer?

Regards
K
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Incorporate SQL .bak file....

Hello,

Not sure what you mean by "individual deployment". If you mean having the possibility to select which of them can be installed, this can easily be achieved by placing each of them in a separate feature. After this, add the SetupTypeDlg to your install so the user can be able to choose which feature(s) to install.

Let me know if this is what you needed.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Incorporate SQL .bak file....

Hello,

What I need is that I can add different .bak files into package for deployment. So for example I look after 3 different DB's and need to deploy each of them individually using this deployment package.

Regards
K
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Incorporate SQL .bak file....

Hello,

Not sure if I fully understand this. You mean you want to have the msi and one of the .bak files next to it, and the installer simply install it.
If that is the case, our guide on installing a user specific file might be of use.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Incorporate SQL .bak file....

Hello,

I want the installer to be able to create a backup of the DB (to .bak format). When the specific server name is given in the SQL settings, the installer needs to set the SQL settings first (I know that part). And then copy the DB in the server to the localhost machine (as backup file) where the installer is running.

Regards
K
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Incorporate SQL .bak file....

Hello,

I am afraid the installer does not support this behavior. You will have to code it into a custom action and use that.
Let me know if there is anything else I can assist you with.

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

Return to “Common Problems”