How about these questions

1) a way to see if the dll is already registered
2) a way to see if a drive is already mapped
need an answer on both of these if possible