Updated Readme

This commit is contained in:
Bobby Abellana 2025-02-24 14:57:02 -08:00
parent b45a6c490a
commit 3b74aba8ed
2 changed files with 24 additions and 4 deletions

View File

@ -53,14 +53,14 @@ catch {
1. Microsoft Excel 2013 or newer 1. Microsoft Excel 2013 or newer
2. PowerShell must run in STA mode 2. PowerShell must run in STA mode
Run the main script like this: Run the main script like this:
powershell.exe -STA -File .\MainForm.ps1 pwsh -STA -File .\MainForm.ps1
"@ -ForegroundColor Red "@ -ForegroundColor Red
exit 1 exit 1
} }
Write-Host @" Write-Host @"
Installation complete! Run the main application with: Installation complete! Run the main application with:
powershell.exe -STA -File .\MainForm.ps1 pwsh -STA -File .\MainForm.ps1
Note: First run might take longer while modules load Note: First run might take longer while modules load
"@ -ForegroundColor Green "@ -ForegroundColor Green

View File

@ -6,9 +6,29 @@ This tool allows you to convert legacy `.xls` files stored in SharePoint to the
### Step 1: Install PowerShell 7.5 ### Step 1: Install PowerShell 7.5
**Option 1: Manual Installation**
1. Visit the [PowerShell GitHub releases page](https://github.com/PowerShell/PowerShell/releases) 1. Visit the [PowerShell GitHub releases page](https://github.com/PowerShell/PowerShell/releases)
2. Download the appropriate installer for your system (e.g., `PowerShell-7.5.0-win-x64.msi` for 64-bit Windows) 2. Download the appropriate installer for your system (e.g., `PowerShell-7.5.0-win-x64.msi` for 64-bit Windows)
3. Run the installer and follow the on-screen instructions 3. Run the installer and follow the on-screen instructions
**Option 2: Install using winget (Windows 10/11)**
1. Open a command prompt or PowerShell window
2. Run the following command:
```
winget install --id Microsoft.PowerShell
```
**Option 3: Install using PowerShell script**
1. Open Windows PowerShell as administrator
2. Run the following commands:
```powershell
# Download the installation script
Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile install-powershell.ps1
# Install PowerShell 7.5
.\install-powershell.ps1 -UseMSI -Quiet
```
4. Verify the installation by opening PowerShell 7 from the Start menu 4. Verify the installation by opening PowerShell 7 from the Start menu
### Step 2: Install Required Dependencies ### Step 2: Install Required Dependencies
@ -17,7 +37,7 @@ This tool allows you to convert legacy `.xls` files stored in SharePoint to the
2. Right-click on PowerShell 7 in the Start menu and select "Run as administrator" 2. Right-click on PowerShell 7 in the Start menu and select "Run as administrator"
3. Navigate to the folder containing the converter files: 3. Navigate to the folder containing the converter files:
``` ```
cd C:\path\to\XLS_to_XLSX cd C:\path\to\SharepointXLS_to_XLSX
``` ```
4. Run the dependency installer script: 4. Run the dependency installer script:
``` ```
@ -37,7 +57,7 @@ This tool allows you to convert legacy `.xls` files stored in SharePoint to the
1. Open PowerShell 7 as administrator 1. Open PowerShell 7 as administrator
2. Navigate to the application folder: 2. Navigate to the application folder:
``` ```
cd C:\path\to\XLS_to_XLSX cd C:\path\to\SharepointXLS_to_XLSX
``` ```
3. Run the application in STA mode: 3. Run the application in STA mode:
``` ```