Fix postinstall for pywin32

This commit is contained in:
twangboy 2017-12-06 09:10:02 -07:00
parent da239bda24
commit d199ef5da0
No known key found for this signature in database
GPG Key ID: 93FF3BDEB278C9EB
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ DownloadFileWithProgress $url $file
Start_Process_and_test_exitcode "$($ini['Settings']['Scripts2Dir'])\pip.exe" "install $file " "pip install PyWin32"
# Run the postinstall script
Start_Process_and_test_exitcode "$($ini['Settings']['Python2Dir'])\python.exe" "$($ini['Settings']['Python2Dir'])\pywin32_postinstall.py -install" "PyWin32 Post Install Script"
Start_Process_and_test_exitcode "$($ini['Settings']['Python2Dir'])\python.exe" "$($ini['Settings']['Scripts2Dir'])\pywin32_postinstall.py -install" "PyWin32 Post Install Script"
# Move DLL's to Python Root
Write-Output " - $script_name :: Moving PyWin32 DLLs . . ."

View File

@ -246,7 +246,7 @@ DownloadFileWithProgress $url $file
Start_Process_and_test_exitcode "$($ini['Settings']['Scripts3Dir'])\pip.exe" "install $file " "pip install PyWin32"
# Run the postinstall script
Start_Process_and_test_exitcode "$($ini['Settings']['Python3Dir'])\python.exe" "$($ini['Settings']['Python3Dir'])\pywin32_postinstall.py -install" "PyWin32 Post Install Script"
Start_Process_and_test_exitcode "$($ini['Settings']['Python3Dir'])\python.exe" "$($ini['Settings']['Scripts3Dir'])\pywin32_postinstall.py -install" "PyWin32 Post Install Script"
# Move DLL's to Python Root
Write-Output " - $script_name :: Moving PyWin32 DLLs . . ."