/build/static/layout/Breadcrumb_cap_w.png

Backup and Restore using MSI

Hi All,

I am planning to do backup and restoration of certain files. I have created two custom actions, one for backup and the other one restore. both the CA's are working fine manually.

But i would like to include those two CAs in my MSI. I am placing the problem where to put my Backup CA and Restore CA.

One more thing is that, i am doing upgrade also using the msi only.

I have kept backup CA in Execute Immediae section before the RemoveExistingProducts and the condition is "If Not Intstalled".

Regarding Restore CA, I have kept it in Execute Deffered section before the InstallFinalise and the condition is "if Not Installed then".

Please suggest me how can my backup works before the upgrade and my restore CA will work before the installaion completes.

Thanks in Advance.
Ramu

0 Comments   [ + ] Show comments

Answers (3)

Posted by: ramu_ch 14 years ago
Orange Belt
0
can someone help me, please.
Posted by: pjgeutjens 14 years ago
Red Belt
0
Since you are trying to use Backup-Restore functions inside one MSI install, I'm going to assume you're trying to avoid overwriting/changing existing files on a target system with your installer's files.

Can i suggest using the Never Overwrite attribute for the components that contain these files. this will ensure that if that component's keypath file already exists on a system,it will NEVER be overwritten by your new MSI.

PJ
Posted by: ramu_ch 14 years ago
Orange Belt
0
I found the solution.

Since my CAs are working fine manually, i looked in the sequences/conditions in MSI.

I modified my CA action , to "Execute program from Installation", earlier i have used "Run WiseScript from Installation".

I did the same with Restore also...it worked fine for me.

Thanks,
Ramu
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ