udonmez
Posts: 16
Joined: Thu Feb 14, 2013 12:06 pm
Location: Ankara

check disk size before install prerequisities

Hi,

Is it possible to check disk size before prerequisites installation start?
I have intended to write a dll or vbscript but I could not able to find a Install Execution Stage before prerequisites(.net framework, sql etc.) installation start.
What can we do? I need a checking procedure when user double click the msi/exe and stop installation if it has insufficient disk size.

Regards,
Unsal
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: check disk size before install prerequisities

Hello,

Unfortunately, it is not possible to check disk size before prerequisites installation starts.

The prerequisites can be added in multiple ways, depending on the moment you want to execute them:
The Pre-install prerequisites are installed by an EXE bootstrapper before your MSI is launched
The Feature-based prerequisites and Post-install prerequisites are handled by the installation user interface.

You can write a Win32 DLL or VBScript custom action which determines available size and saves it an installer property; this property can then be used as a custom launch condition.

You can add your prerequisites as a feature based or post install prerequisites.
Also, you can add your custom action in the “Wizard Dialogs Stage” under the “Search” stage.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”