Question

In my MSI package I need to set user rights to a directory using cacls.exe. It works fine in an NTFS environment but fails when run on a Fat32 file system. Is there a method to determine the type of file system of the drive the software is installed to?

I'm using WiX 3 to create my MSI package but any hint pointing to the MSI database would help as well.

Many thanks in advance.

Was it helpful?

Solution

You could use a custom action preferably a dll, however a vbscript or bat file will work. in the custom action you can call the wmi root\cimv2\Win32_LogicalDisk\FileSystem property which returns the file system type. then your CA can return the file system type as a installer property.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top