How do I change ROOTDRIVE with a CustomAction?
问题 Normally, you can change the default root drive to install your application to using: <Property Id="ROOTDRIVE">D:\</Property> But now, I wish to change it using a CustomAction that gets called on a next button click in my install wizard: [CustomAction] public static ActionResult SetFullInstallRootDrive(Session session) { session["ROOTDRIVE"] = session["DRIVE_NAMES"].ToString(); } DRIVE_NAMES represents the drive selected, using a combo box, and ROOTDRIVE gets properly set to either whatever