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!

h353655
Posts: 47
Joined: Wed Jun 21, 2017 2:51 pm

Choosing the right drive

We prefer to install our product on the D drive, if it exist. Is there a way to choose that drive if it exists, or otherwise either C or perhaps the "maximal" local drive (someone might have, say C, F and T). At the moment, things are "hardcoded" to D, which causes an error if no D drive is present. Maybe there's a [MAXDRIVE] property?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Choosing the right drive

Hi,

I'm afraid that there is no property that stores the number of the drives present on the machine. In order to search if a drive is available, you can implement the solution described in the "Setting APPDIR to dir on a drive which may not exist" thread.

Let me know if this helped, otherwise give me more details about your scenario.

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

Return to “Building Installers”