JLM
Posts: 6
Joined: Mon Oct 04, 2021 8:53 am

Update the reserved space for a component

Hello,
Happy new year.

I would like to know if it is possible to reserve additional disk space for a component from the command line (ReserveLocal filed in aip project).
On my project, a "zip" file is included and extracted by a custom action. Some time the content of this zip changes.
I want to update the project automatically with the updated space before building the installer..

I can probably use a script to calculate and modify the aip file, but maybe there is a native operation to do this.

Thank you for your help.
--Jean-Luc
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Update the reserved space for a component

Hello Jean-Luc,

Happy new year to you, too!

I'm afraid I do not fully understand your question here.

The disk costing is done during the "FileCost" standard action, during the installation.

Perhaps it is something else you are trying to achieve here? If so, then please give me some more details.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JLM
Posts: 6
Joined: Mon Oct 04, 2021 8:53 am

Re: Update the reserved space for a component

Hello Catalin,
I am attaching a screenshot to complete my explanation.
In my project, there is a third part Zip file that is installed, extracted and deleted at the end of the installation by a custom task.
I reserved additional disk space (400MB) to take into account extract and zip deletion.

When the Zip file changes, I have to manually update my project with the new additional disk space.

I would like to know if it is possible to pass this new size as a parameter during the build (using "/edit")

Best Regards
---JL
Attachments
AI_zipFile.jpg
AI_zipFile.jpg (55.79 KiB) Viewed 17416 times
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Update the reserved space for a component

Hello Jean-Luc,

Thank you very much for the followup on this, I now understand what you are trying to achieve.

Unfortunately, I'm afraid we do not support doing that from the command line (mostly because that is not a widely used feature and nobody requested it so far).

However, I will add this on our TODO list of improvements and hopefully it will be added in a future version of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JLM
Posts: 6
Joined: Mon Oct 04, 2021 8:53 am

Re: Update the reserved space for a component

Thanks a lot Catalin

have a nice day
-JL
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Update the reserved space for a component

You're always welcome, Jean-Luc!

You have a nice day, too!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Update the reserved space for a component

Hello,

This improvement has been added in version 21.0 of Advanced Installer, released on September 5th, 2023.

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

Return to “Building Installers”