Joel Berger
-
2009-05-12
Attached is a patch for the installer to allow an MSI property [SUDOERSPATH] to set the path to sudoers.xml to something other than the target directory. This allows admins to use a transform for large deployments with a central sudoers.xml file.
After applying the attached patch, edit the custom actions in the Setup project. Under the properties for "Install\Primary output from Setup.CustomActions", change the CustomActionData to read:
/TargetDir="[TARGETDIR]\" /ClientUILevel=[CLIENTUILEVEL] /SudoersPath="[SUDOERSPATH]"
NB: When using UNC paths with this patch, it's necessary to prefix the host with FOUR backslashes (e.g. \\\\SERVER\path\to\sudoers.xml) due to escaping issues.