-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.ps1
380 lines (354 loc) · 21.4 KB
/
setup.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
# AutoRenamePDF Installation/Uninstallation Script
# Check if running as administrator
if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
Write-Warning "You do not have Administrator rights to run this script!`nPlease re-run this script as an Administrator!"
Break
}
# Function to find the autorename-pdf.exe
function Find-AutoRenamePDF {
$scriptPath = $PSScriptRoot
$exePath = Join-Path $scriptPath "autorename-pdf.exe"
if (Test-Path $exePath) {
return $exePath
}
else {
Write-Error "autorename-pdf.exe not found in the script directory. Please ensure it's in the same folder as this script."
exit
}
}
# Function to install Chocolatey
function Install-Chocolatey {
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
}
# Function to install a package using Chocolatey
function Install-ChocoPackage {
param($packageName)
choco install $packageName -y
}
# Function to read OCR_LANGUAGES from .env file
function Get-OCRLanguages {
$envPath = Join-Path $PSScriptRoot ".env"
if (Test-Path $envPath) {
$envContent = Get-Content $envPath -Raw
if ($envContent -match "OCR_LANGUAGES=(.+)") {
return $matches[1].Split(',')
}
}
return @("eng", "deu") # Default languages if not specified
}
# Function to download and install language data for Tesseract
function Install-TesseractLanguageData {
$tessdataPath = "C:\Program Files\Tesseract-OCR\tessdata"
$languages = Get-OCRLanguages
if (-not (Test-Path $tessdataPath)) {
Write-Error "Tesseract tessdata directory not found. Make sure Tesseract is installed correctly."
return
}
foreach ($lang in $languages) {
$langCode = $lang.Trim().ToLower()
$dataUrl = "https://github.com/tesseract-ocr/tessdata/raw/main/$langCode.traineddata"
$dataFile = Join-Path $tessdataPath "$langCode.traineddata"
Write-Host "Downloading $langCode language data for Tesseract..." -ForegroundColor Yellow
try {
Invoke-WebRequest -Uri $dataUrl -OutFile $dataFile
if (Test-Path $dataFile) {
Write-Host "$langCode language data installed successfully." -ForegroundColor Green
}
else {
Write-Error "Failed to download $langCode language data."
}
}
catch {
Write-Error "Error downloading $langCode language data: $_"
}
}
}
# Function to add registry entries for AutoRenamePDF
function Add-RegistryEntries {
param($exePath)
# For PDF files
New-Item -Path "HKLM:\SOFTWARE\Classes\SystemFileAssociations\.pdf\shell\AutoRenamePDF" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\SystemFileAssociations\.pdf\shell\AutoRenamePDF" -Name "(Default)" -Value "Auto Rename PDF"
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\SystemFileAssociations\.pdf\shell\AutoRenamePDF" -Name "Icon" -Value "shell32.dll,71"
New-Item -Path "HKLM:\SOFTWARE\Classes\SystemFileAssociations\.pdf\shell\AutoRenamePDF\command" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\SystemFileAssociations\.pdf\shell\AutoRenamePDF\command" -Name "(Default)" -Value "`"$exePath`" `"%1`""
# For Folders
New-Item -Path "HKLM:\SOFTWARE\Classes\Directory\shell\AutoRenamePDFs" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Directory\shell\AutoRenamePDFs" -Name "(Default)" -Value "Auto Rename PDFs in Folder"
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Directory\shell\AutoRenamePDFs" -Name "Icon" -Value "shell32.dll,71"
New-Item -Path "HKLM:\SOFTWARE\Classes\Directory\shell\AutoRenamePDFs\command" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Directory\shell\AutoRenamePDFs\command" -Name "(Default)" -Value "`"$exePath`" `"%1`""
# For Directory Background
New-Item -Path "HKLM:\SOFTWARE\Classes\Directory\Background\shell\AutoRenamePDFs" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Directory\Background\shell\AutoRenamePDFs" -Name "(Default)" -Value "Auto Rename PDFs in This Folder"
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Directory\Background\shell\AutoRenamePDFs" -Name "Icon" -Value "shell32.dll,71"
New-Item -Path "HKLM:\SOFTWARE\Classes\Directory\Background\shell\AutoRenamePDFs\command" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Directory\Background\shell\AutoRenamePDFs\command" -Name "(Default)" -Value "`"$exePath`" `"%V`""
}
# Function to remove registry entries
function Remove-RegistryEntries {
Remove-Item -Path "HKLM:\SOFTWARE\Classes\SystemFileAssociations\.pdf\shell\AutoRenamePDF" -Recurse -ErrorAction SilentlyContinue
Remove-Item -Path "HKLM:\SOFTWARE\Classes\Directory\shell\AutoRenamePDFs" -Recurse -ErrorAction SilentlyContinue
Remove-Item -Path "HKLM:\SOFTWARE\Classes\Directory\Background\shell\AutoRenamePDFs" -Recurse -ErrorAction SilentlyContinue
}
# Main routine
$exePath = Find-AutoRenamePDF
$choice = Read-Host "Do you want to (I)nstall or (U)ninstall AutoRenamePDF? (I/U)"
if ($choice -eq "I" -or $choice -eq "i") {
Write-Host "Starting AutoRenamePDF installation..." -ForegroundColor Green
# Install Chocolatey if not already installed
if (!(Get-Command choco -ErrorAction SilentlyContinue)) {
Write-Host "Installing Chocolatey..." -ForegroundColor Yellow
Install-Chocolatey
refreshenv
}
else {
Write-Host "Chocolatey is already installed." -ForegroundColor Green
}
# Install Tesseract
Write-Host "Installing Tesseract..." -ForegroundColor Yellow
Install-ChocoPackage "tesseract"
# Install Tesseract language data
Install-TesseractLanguageData
# Install Ghostscript
Write-Host "Installing Ghostscript..." -ForegroundColor Yellow
Install-ChocoPackage "ghostscript"
# Add registry entries
Write-Host "Adding AutoRenamePDF to context menu..." -ForegroundColor Yellow
Add-RegistryEntries -exePath $exePath
Write-Host "Installation completed successfully!" -ForegroundColor Green
Write-Host "Please restart your computer to ensure all changes take effect." -ForegroundColor Yellow
}
elseif ($choice -eq "U" -or $choice -eq "u") {
Write-Host "Starting AutoRenamePDF uninstallation..." -ForegroundColor Green
# Remove registry entries
Write-Host "Removing AutoRenamePDF from context menu..." -ForegroundColor Yellow
Remove-RegistryEntries
Write-Host "Uninstallation completed successfully!" -ForegroundColor Green
Write-Host "The registry entries for AutoRenamePDF have been removed." -ForegroundColor Yellow
Write-Host "Tesseract and Ghostscript have not been uninstalled. If you wish to remove them, please use Chocolatey or the Windows Control Panel." -ForegroundColor Yellow
}
else {
Write-Host "Invalid choice. Please run the script again and choose 'I' to install or 'U' to unin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