How to make BACKUP before instalation begins - 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!

patrickmast
Posts: 25
Joined: Fri Apr 17, 2009 4:16 pm

How to make BACKUP before instalation begins

Hello,

I have an existing folder "C:\myApp\..." with a bunch of files in it. When the user wants to install the new app into that exact folder, the installer should FIRST make a backup of "C:\myApp\..." to "C:\Backup of myApp\..." before the instalers starts to copy the newer fies to "C:\myApp\...".

How can I do this?

Thanks!

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

Re: How to make BACKUP before instalation begins

Hello,

You can use our backup/restore script to back up your folder. For more information on how to achieve this please consult our guide on how to prevent a file/folder from being overwritten.

Attached is an example that backs up the Fonts folder to "X:\MyBackup" where X is the drive on which your windows copy is installed.

Regards,
Gabriel
Attachments
BackupFileFolder.zip
(4.83 KiB) Downloaded 375 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”