File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717Cleanup Uninstallation Junction:
1818 cmd.run:
19- - name: ' Start-Sleep -Seconds 5; if (Test-Path "{{ junction }} ") { rmdir {{ junction }} }'
20- - onlyif: ' test-path {{ junction }} '
19+ - name: ' Start-Sleep -Seconds 5; if (Test-Path "{{ junction }} ") { Remove-Item -Path " {{ junction }} " -Force }'
20+ - onlyif: ' Test-Path " {{ junction }} " '
2121 - require:
2222 - cmd: ' Run NoSQL Booster Uninstaller'
2323 - shell: powershell
2424
2525Create Uninstallation Junction:
2626 cmd.run:
27- - name: ' mklink /J {{ junction }} "{{ install_root }} "'
28- - onlyif: ' test-path "{{ install_root }} "'
27+ - name: ' New-Item -ItemType Junction -Path " {{ junction }} " -Value "{{ install_root }} "'
28+ - onlyif: ' Test-Path "{{ install_root }} "'
2929 - require:
3030 - cmd: ' Kill Running NoSQL Booster Instances'
3131 - shell: powershell
@@ -51,7 +51,8 @@ NoSQL Booster Registry Removal:
5151
5252Run NoSQL Booster Uninstaller:
5353 cmd.run:
54- - name: ' start /wait "" " {{ uninstaller }} " /S /allusers'
55- - onlyif: ' test-path "{{ uninstaller }} "'
54+ - name: ' Start-Process -FilePath " {{ uninstaller }} " -ArgumentList "/S", " /allusers" -Wait '
55+ - onlyif: ' Test-Path "{{ uninstaller }} "'
5656 - require:
5757 - cmd: ' Create Uninstallation Junction'
58+ - shell: powershell
You can’t perform that action at this time.
0 commit comments