Hello,
Thank you for your follwup on this and for sharing the details with me.
Now I understand what you are trying to achieve.
So, in order to achieve that within Advanced Installer, we can proceed as it follows:
- create a new project
- in the
"Files and Folders" page, select the location where you want the ZIP archive to be extracted and add the ZIP there
Path to folders in the Files and Folders page
- you can then go to
"Custom Actions" page and add an
"Inline PowerShell script" custom action after the
"Add resources" action group
- for this custom action, set the
"When the system is being modified (deferred)" and
"Run under the LocalSystem account with full privileges (no impersonation)" options
- input the custom action code
Note: we would need here to either get the path of the ZIP or use Powershell's
Set-Location cmdlet to set the location to the folder where the ZIP resides.
- build&run the setup
Hope this helps!
Best regards,
Catalin