backup and restore matter again - 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!

humanangle
Posts: 21
Joined: Tue Jan 20, 2009 7:52 pm

backup and restore matter again

High every body
my question is that I am having a simple project and I want to backup a file in the target machine during installation and I want to restore that file when I uninstall my application ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: backup and restore matter again

Hi,

The User Guide contains the Preserve File on Install how-to which may help you. Since what you need requires custom actions, it can be done only in Professional, Java Application and Enterprise projects.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
humanangle
Posts: 21
Joined: Tue Jan 20, 2009 7:52 pm

Re: backup and restore matter again

Thank you for replying
I used the script supplied with the sample project it works fine in back and restore during installation
but when I used the restore script under uninstall in custom action
( new attached custom action ). I used the backup_restore script supplied with the sample project
condition : (REMOVE="ALL")
nothing happen and no error message I opened the temp directory and I found the temp folder and the file still there
what can I do to perform custom action to restore the back up file during uninstall do I have to change the script please help
thank you very much
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: backup and restore matter again

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the .AIP (project) file you are using and a verbose log of the uninstall with the problem to support at advancedinstaller dot com so we can investigate them?

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

Return to “Common Problems”