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!

Arvandus
Posts: 2
Joined: Tue Oct 23, 2007 3:09 pm

Quick question

I'm not sure if this is the place to ask this question but I have a bit of a technical problem. I'm new to advanced installer and there is something I want to try. I want to install a upgrade to a program, a side by side upgrade, but how do I copy the configuration and other types of files from the old version to the new version so the user can keep his settings. I want to do side by side so I can go back to the old version if there is a massive error. Will I have to write my own extra code or is there functionality in advanced installer that I missed.
Thanks in advance,
Arvandus
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to copy files from the old installation to the new one you can use the "File Copy/Move" operation. You can read more about this feature here:
http://www.advancedinstaller.com/user-g ... ialog.html

Note that this works only if in the installation folder there isn't a file with the same name (the file copy operation will not overwrite an existing file).

If you need to overwrite files in the new installation then you can create a custom action which is scheduled after the files are installed (for example under the "InstallFInalize" standard action).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”