How does folderedit include windowsvolume (upper or lower case)? - Advanced Installer Community
retinsoft
Posts: 2
Joined: Thu Jun 11, 2015 8:00 am

How does folderedit include windowsvolume (upper or lower case)?

How does folderedit include windowsvolume (upper or lower case)?
C: or c:
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How does folderedit include windowsvolume (upper or lower case)?

Hello and welcome to Advanced Installer forums,

The installer sets the WindowsVolume property to the volume of the windows folder. The property always ends with a backslash.
You should use the upper case (capital letter) for this property (e.g. C:\).

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
retinsoft
Posts: 2
Joined: Thu Jun 11, 2015 8:00 am

Re: How does folderedit include windowsvolume (upper or lower case)?

When users change the disk letter in install path to lowercase letter (user habits), how to juge the path does not contain the system drive?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How does folderedit include windowsvolume (upper or lower case)?

Hello,

Since you know the value of the WindowsVolume, you can create a custom action and see if the user selected the same drive for installation. For this, you can create a custom action. For details, please check the Options to integrate and debug custom actions article with related information for hints and guidance.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

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

Return to “Common Problems”