MSI Silent install does not install correctly

• Oct 13, 2015 - 17:45
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
active
Project

We tried to install MuseScore 2.0.1 using MSIexec with the options /i /quiet /norestart. for unattended installation. While it dit place files into the program directory it did not create start menu or desktop items nor did it create an entry in Programs and Features. This occurs on Windows 7 64bit.


Comments

I was having the same trouble with a Windows 10 install and found a solution. I had to use BOTH the ALLUSERS=1 and TARGETDIR arguments. The whole command was:

msiexec /i MuseScore-2.1.msi /qn ALLUSERS=1 TARGETDIR="C:\Program Files\MuseScore"

Probably better (as MuseScore 2.x is 32-bit):
msiexec /i MuseScore-2.1.msi /qn ALLUSERS=1 TARGETDIR="C:\Program Files (x86)\MuseScore"

or even:
msiexec /i MuseScore-2.1.msi /qn ALLUSERS=1 TARGETDIR="%ProgramFiles(x86)%\MuseScore"