cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Have installation detect a drive for installation

We have a requirement for a C drive or D drive installation for one of our programs. What I need the installation to do is if the installation detect a D drive that has a certain folder structure like so:

D:\AppData

If it finds it, it will install it there. If it doesn't find it, it will install it here:

C:\AppData

It is a .NET 3.5 program
Labels (1)
0 Kudos
2 Replies
Highlighted
Not applicable

Re: Have installation detect a drive for installation

ExistsDir("D:\\AppData");
0 Kudos
Highlighted

Re: Have installation detect a drive for installation

Thank you.
0 Kudos