Posted: Mon Mar 23, 2009 3:37 pm
I saw that in the help, but the wording of it rather clearly suggests that it would not work for installations where the MSI is run manually. "If setup has not been deployed through Group Policy, this variable is empty." This says that the variable is empty if the MSI is run manually; it is only populated if you use Group Policy to deploy the setup from an Active Directory server. However, I just tested it out and found the variable is actually populated if you run the MSI manually. Now I wish I'd have ignored the wording of the help file and tried it out anyways before coming up with a workaround...MichaelNesmith wrote:GPOPATH: If an uncompressed directory layout is used, this variable is empty. If setup has not been deployed through Group Policy, this variable is empty. Otherwise set to the full path of the folder containing the Single File MSI that started the current installation.
Pasted verbatim from the help file, pre-defined variables section.