Backup of the folders - 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!

sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Backup of the folders

Hi Support,

Iam creating a patch for the existing installer.I want to create a backup of the old version folders before installing the patch. how can I do it...

Regards
Sony
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Backup of the folders

Hi Sony,

In your upgraded package add a custom action that will copy old files and folders in different location.

Here are the steps:
-go to the "Search" page and create a New Search and configure the folder you want to find.
The property used by the search will contain the path to the folder (if it has been found).
-after AppSearch standard action create a custom action that will copy your old files and folders to your location.
In the Custom Action Properties page's Execution Condition section, set the Expression field to PATCH.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Backup of the folders

Hi Ciprian,

Thanks for the suggestion.

I want to search for the application directory path of the previous installed version msi. If I use the APPDIR in the search option in the upgraded package, it displays the default location instead of the installed location, How can i find the APPDIR path location in the upgraded package?

Regards
Sony
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Backup of the folders

Hi Sony,

Here is a similar thread that can help you.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”