I always set the ROOTDRIVE property to C:\ for MSIs. However, we have some Citrix users whose local disk is drive M:. So when an MSI is installed it generates a 1327 error (invalid drive). I could change the ROOTDRIVE property to M:\ for Citrix users, but this means one set of MSIs for Citrix users and another for non-Citrix users.

Does anyone know of a simple way of passing the system drive to the ROOTDRIVE property so the MSI automatically installs on drive C: for regular users and drive M: for Citrix users? I tried passing the %SystemDrive% variable to ROOTDRIVE but this didn't work. Any help would be appreciated.

Many thanks.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


evaluate the version or type of the target machine for a Citrix machine.

then use a SetDirectory CA to change the dir conditionally based on the version / type evaluation you did in the first step
Answered 07/26/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment

Just put the ROOTDRIVE property in the commandline with the proper value and you can use the same MSI for multiple targets

Answered 06/26/2013 by: jaybee96
Red Belt

Please log in to comment