I want to install my application into E drive if not exists then D drive, if D also doesn't exist then I want to install in C drive. Which variable should I use to check this ? Can anyone help me?
<?if E Drive exists ?> <?define RootDrive = "E:\" ?> <?elseif ?> <?define RootDrive = "D:\" ?> <?else ?> <?define RootDrive = "C:\" ?> <?endif ?> <?endif ?> <Property Id="TARGETDIR"> RootDrive </Property> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-check-the-existence-of-D-and-E-drives-in-WIX-tp7583102.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

