
Best Answer deramor , 18 February 2015 - 17:43
The reason the files end up in c:\CMEQDB is because the [DBDrive] property is undefined. Windows installer catches these undefined values and assigns them a value of the c:\ drive or another root drive on your pc. Its better than causing an exception or error. It also provides a hint as to what is going on. Your property value isn't getting set to a directory value.
First I would use a public property to receive the data from your dialog. A public property is one that is all in CAPS.
Next I would author a CA (setdirectory) that takes the property and set a directory to that value after the dialog has finished.
Go to the full post