agvinh
Posts: 6
Joined: Thu May 26, 2016 8:44 am

The AI_AiBackupRollbackImpersonate action takes long time to complete.

I notice that the "Rollback backup" step during the installation process is taking long time to complete.
2025-02-27_17-05-50.png
2025-02-27_17-05-50.png (43.15 KiB) Viewed 7006 times
Upon reviewing the installation log file, I saw that the "AI_AiBackupRollbackImpersonate" and "AI_AiBackupRollback" actions were executed during the "Rollback backup" phase, and these actions are the cause of the slowness.
What do the "AI_AiBackupRollbackImpersonate" and "AI_AiBackupRollback" actions do? What are their purposes?
Is there any way skip these actions during the installation process? Is there any risks when skipping them?
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: The AI_AiBackupRollbackImpersonate action takes long time to complete.

Hello,

Those custom actions are used if you use the "Do not overwrite existing file" option for any of your files:
Screenshot_237.png
Screenshot_237.png (43.75 KiB) Viewed 6969 times

Basically, what this custom action does is copy your files to a new location before they are removed, then the newer files are installed and then this custom action will copy the old files back, ensuring that your files are not updated.

Normally, this should not take that long to execute. However, if you use it for a lot of files, then it might indeed take more time.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”