Getting Location path Wix installation
问题 How to get location path if i want to access mylocation.txt file, this file currently is in E:drive. [CustomAction] public static ActionResult FillList(Session xiSession) { //Can i get store mylocation.txt into application root instead of E location string path = "Mylocation.txt"; // Open the file to read from. string[] readText = File.ReadAllLines(path); foreach (string s in readText) { //Console.WriteLine(s); FillComboBox(xiSession, s, s); } xiSession["COUNTRIES"] = "--Select Location--";