We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Pooya
Posts: 1
Joined: Mon Oct 07, 2013 8:49 pm

Allow only NTFS drive

is there a way to only accept NTFS drive as the installation partition?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Allow only NTFS drive

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Unfortunately we don't have predefined support for this to accept only NTFS drive as the installation disk.

However you can validate the user selection through your own custom action for the installation folder. Case the related location is on a NTFS drive you can continue with the installation otherwise inform the user that the related disk drive is not NTFS and the installation cannot proceed further.

In order to display a message to the user you can go in the “Custom Actions” page and add a Display message box predefined custom action without sequence. Then you can go in the “Dialogs” page, select the "FolderDlg" and add a new published event. You can select Execute custom action control event, for the Argument: you can select the MessageBox. Also you should condition the execution of this custom action to be executed only if the selected drive is not NTFS.

You should also add a condition for the existing Display a specific – public event because you only want the user to continue with the installation if the disk driver for the installation process is a NTFS one.

You can take a look on the Detect whether a path points to an NTFS partition or not article which may be useful to you.

If you have other questions, please let us know.

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

Return to “Building Installers”