Schillings / SwordPhish

Schillings SwordPhish empowers organisations and engages its employees to establish the key component of any cyber security strategy: the Human Firewall.
https://cyber.schillingspartners.com
Apache License 2.0
107 stars 22 forks source link

msiexec error #3

Closed passwordleak closed 6 years ago

passwordleak commented 6 years ago

"This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package. "

I've used the following commands as admin, and they result in the same error: msiexec /i Schillings.SwordPhish.Installer.msi RECIPIENTPROPERTY="reports@mysoc.com" ACTIONPROPERTY=2 msiexec /i .\Schillings.SwordPhish.v1.0.x86.msi RECIPIENTPROPERTY="reports@mysoc.com" SUBJECTPROPERTY="Phishing Report" ACTIONPROPERTY=1

However, I have been able to install it and use it using the GUI, so I know it works.

eth0izzle commented 6 years ago

If the GUI works this should work. What system are you on?

Sounds silly but try removing the .\, i.e. msiexec /i "Schillings.SwordPhish.v1.0.x86.msi" RECIPIENTPROPERTY="reports@mysoc.com" SUBJECTPROPERTY="Phishing Report" ACTIONPROPERTY=1

passwordleak commented 6 years ago

OK, It works in CMD, but not powershell for some reason. However, in powershell, I got it to work by using cmd /c 'msiexec /i "Schillings.SwordPhish.v1.0.x86.msi" RECIPIENTPROPERTY="reports@mysoc.com" SUBJECTPROPERTY="Phishing Report" ACTIONPROPERTY=1'

eth0izzle commented 6 years ago

Interesting- thanks @passwordleak!