# Mapped Drive Installer

Network drive mapping tool with credential management for GE Aerospace legacy domain servers.

## Overview

This tool helps users connect to GE Aerospace network shares by:
- Providing a server selection interface
- Managing credentials for legacy domain authentication
- Handling common connection errors (ghost drives, credential conflicts)
- Supporting backup and recovery of drive mappings

## Versions

| File | Description |
|------|-------------|
| `MappedDrive.iss` | Full-featured version with all options |
| `MappedDrive_Enhanced.iss` | Enhanced error handling and recovery |
| `MappedDrive_Simplified.iss` | Streamlined version for basic use |

## Target Servers

| Server | Description |
|--------|-------------|
| `tsgwp00525.rd.ds.ge.com` | Shared drive server |
| `win.cighpeifep036.logon.ds.ge.com` | Engineering server |

## Features

- **Server Selection** - Checkbox interface for selecting drives to map
- **Credential Prompt** - Secure password entry for legacy domain
- **Connectivity Test** - Verify server reachability before mapping
- **Ghost Drive Handling** - Detect and fix disconnected drive mappings
- **Error 1219 Recovery** - Handle credential conflict errors
- **Backup/Restore** - Save drive configurations for recovery

## Files

```
MappedDrive/
├── MappedDrive.iss           # Main installer script
├── MappedDrive_Enhanced.iss  # Enhanced version
├── MappedDrive_Simplified.iss # Simplified version
├── gea-logo.ico              # Setup icon
├── patrick.bmp               # Wizard banner
└── patrick-sm.bmp            # Wizard small image
```

## Usage

1. Compile desired `.iss` file with Inno Setup
2. Run the generated executable
3. Select servers to connect
4. Enter your legacy domain password
5. Drives will be mapped automatically

## Common Errors

| Error | Cause | Solution |
|-------|-------|----------|
| 53 | Network path not found | Check Zscaler/VPN connection |
| 86 | Invalid password | Verify password is correct |
| 1219 | Multiple credentials | Tool handles automatically |
| 85 | Drive letter in use | Choose different letter |

## Comparison with NetworkDriveManager

| Feature | MappedDrive | NetworkDriveManager |
|---------|-------------|---------------------|
| Server Selection | Checkbox UI | Menu-based |
| Backup/Restore | Basic | Full JSON backup |
| Credential Testing | Implicit | Explicit option |
| Server Migration | No | Yes |
| Predefined Drives | No | Yes (S:, V:, Y:) |

For more advanced drive management, see the [NetworkDriveManager](../NetworkDriveManager/) project.

## Building

1. Install [Inno Setup 6.x](https://jrsoftware.org/isdl.php)
2. Open desired `.iss` file
3. Compile (F9)
4. Output in `Output/` folder

## Author

WJDT / GE Aerospace
