MSI package fails to install with 0.17.4, extra "None" is inserted into the command
From the salt-users posting:
It seems that 0.17.4 adds "None" to the end of the msiexec command:
From a 0.17.4 minion:
Executing command 'msiexec /i "c:\\salt\\var\\cache\\salt\\minion\\extrn_files\\base\\fileserver.discdrive.bayphoto.com\\installs\\GPOInstalls\\Libreoffice\\LibreOffice_4.1.2_Win_x86.msi" /qn /norestart /l c:\\libreoffice_install.log None' in directory 'C:\\Windows\\system32\\config\\systemprofile'
So msiexec just hangs out in the background.
On a 0.17.2 system, it works as expected:
Executing command 'msiexec /i "c:\\salt\\var\\cache\\salt\\minion\\extrn_files\\base\\fileserver.discdrive.bayphoto.com\\installs\\GPOInstalls\\Libreoffice\\LibreOffice_4.1.2_Win_x86.msi" /qn /norestart /l c:\\libreoffice_install.log' in directory 'C:\\Windows\\system32\\config\\systemprofile'
I don't know where that None is coming from, but here is our win repo sls for libreoffice:
libreoffice:
4.1.2.3:
installer: 'http://fileserver.discdrive.bayphoto.com/installs/GPOInstalls/Libreoffice/LibreOffice_4.1.2_Win_x86.msi'
full_name: 'LibreOffice 4.1.2.3'
install_flags: ' /qn /norestart /l c:\libreoffice_install.log'
msiexec: True
uninstaller: 'http://fileserver.discdrive.bayphoto.com/installs/GPOInstalls/Libreoffice/LibreOffice_4.1.2_Win_x86.msi'
uninstall_flags: ' /qn /l c:\libreoffice_uninstall.log'
@UtahDave I see this was assigned to you, just wanted to make sure you saw this.
I did see it. Thanks, @terminalmage! I started tracking it down just before the end of the day on Friday. I made some decent progress. I think I found where this bug was introduced. Still need to pick apart the commit and fix it.
I'm having the same issue. This problem also seems to be in v0.17.4-3
@UtahDave - please note that this issues practically makes Salt (latest) not usable for Windows as not only it fails to install stuff - but the minion is stuck forever (due to interactive MSI error window)
Thanks
update: This issue remains in Salt-Minion-0.17.4-6
update: still remains in Salt-Minion-0.17.5 x64
update: in Salt-Minion-0.17.5-2-AMD64 it is fixed.
Thanks, @todesregen !