ryjekpl
Posts: 4
Joined: Wed Jan 11, 2017 8:42 am

Sequence of extracting archive

Fri Mar 16, 2018 5:20 pm

Hello, I want to run program in custom action in attached DLL but this program is extracted from archive using "File Operation->Extract archive" option. How to make sure that files are extracted before my custom action is run because now when I put custom action after "Add Resources", archive isn't extracted yet.

Best regards,
Piotrek

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Sequence of extracting archive

Mon Mar 19, 2018 4:39 pm

Hi Piotrek and welcome to our forums.

The extraction of the archive is done on the deferred phase. Can you set the "deferred" with "no impersonation" options for your custom action and see if it works?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

ryjekpl
Posts: 4
Joined: Wed Jan 11, 2017 8:42 am

Re: Sequence of extracting archive

Thu Mar 22, 2018 10:05 am

Hello, I tried running my CA as deferred but still it is run BEFORE files are extracted. How to solve this, any other tips?
Best regards,
Piotrek

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Sequence of extracting archive

Thu Mar 22, 2018 10:46 am

Hi Piotrek,

I'm not sure why this happens. Can you please send me the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so I can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”