eiz / SynchronousAudioRouter

Low latency application audio routing for Windows
http://sar.audio/
GNU General Public License v3.0
1.04k stars 138 forks source link

Error on installing on Windows 10 #114

Open jjnxpct opened 3 years ago

jjnxpct commented 3 years ago

Error: Synchronous Audio Router (64bit) Setup Wizard ended prematurely because of an error. Your system has not been modified.

Any thought on how to get this installed? I am on windows 10.

amurzeau commented 3 years ago

Its probably that you didn't enabled testsigning. See here: https://github.com/eiz/SynchronousAudioRouter/releases

jjnxpct commented 3 years ago

OK, missed that. Thanks ;-)

I tried to run this command (cms as administrator) but I get an error message: "An error has occurred setting the element data."

And also (translated from Dutch) "The value is protected by Secure Boot/policy and can not be changed or deleted'"

Any thought on how to get past that error?

amurzeau commented 3 years ago

secure boot can be disabled in the bios.

jjnxpct commented 3 years ago

I found some info on this. Thats a lot of work to get this going ;-) Also I don't feel very comfortable disabling somethin called ; secure boot' on my laptop. It's probably there for a good reason right?

Can you may (or someone else) maybe elaborate on why SAR needs to disable this stuff? As I said am am pretty hesitant to install something thats needs these kind of actions before it will even install.

amurzeau commented 3 years ago

secure boot is a thing added since EFI so only a signed bootloader can boot. Usually, when installing something like Linux, you need to disable it so the bios allow Linux to be booted.

And SAR requires the testsigning flag because its driver is not signed for various reasons (see here for details: https://github.com/eiz/SynchronousAudioRouter/issues/86#issuecomment-769951998).

zSagey commented 3 years ago

I am having this same issue, but testsigning is enabled (I checked through cmd.) Any tips?

natedsaint commented 3 years ago

Also seeing the error after turning on testsigning.

Here's my event log for that

Log Name:      Application
Source:        MsiInstaller
Date:          3/27/2021 10:55:46 PM
Event ID:      1033
Task Category: None
Level:         Information
Keywords:      Classic
User:          [REDACTED]
Computer:      [REDACTED]
Description:
Windows Installer installed the product. Product Name: Synchronous Audio Router (64 bit). Product Version: 0.13.99.1. Product Language: 1033. Manufacturer: Many Worlds. Installation success or error status: 1603.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1033</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:46.4446451Z" />
    <EventRecordID>11586</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security UserID="S-1-5-21-2089225341-3417602680-3774030937-1001" />
  </System>
  <EventData>
    <Data>Synchronous Audio Router (64 bit)</Data>
    <Data>0.13.99.1</Data>
    <Data>1033</Data>
    <Data>1603</Data>
    <Data>Many Worlds</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
    <Binary>7B31414543443737362D433038452D343139352D414432352D4241443938423937334435427D3030303063323832616638633937616539656132623536633264626164333764316465623030303030393034</Binary>
  </EventData>
</Event>

Log Name:      Application
Source:        MsiInstaller
Date:          3/27/2021 10:55:46 PM
Event ID:      11708
Task Category: None
Level:         Information
Keywords:      Classic
User:          [REDACTED]
Computer:      [REDACTED]
Description:
Product: Synchronous Audio Router (64 bit) -- Installation failed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">11708</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:46.4441472Z" />
    <EventRecordID>11585</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security UserID="S-1-5-21-2089225341-3417602680-3774030937-1001" />
  </System>
  <EventData>
    <Data>Product: Synchronous Audio Router (64 bit) -- Installation failed.</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
    <Binary>7B31414543443737362D433038452D343139352D414432352D4241443938423937334435427D</Binary>
  </EventData>
</Event>

Log Name:      Application
Source:        Microsoft-Windows-RestartManager
Date:          3/27/2021 10:55:41 PM
Event ID:      10001
Task Category: None
Level:         Information
Keywords:      
User:          [REDACTED]
Computer:      [REDACTED]
Description:
Ending session 0 started ‎2021‎-‎03‎-‎28T05:55:40.766725700Z.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-RestartManager" Guid="{0888e5ef-9b98-4695-979d-e92ce4247224}" />
    <EventID>10001</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:41.1224634Z" />
    <EventRecordID>11584</EventRecordID>
    <Correlation />
    <Execution ProcessID="860" ThreadID="20020" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security UserID="S-1-5-21-2089225341-3417602680-3774030937-1001" />
  </System>
  <UserData>
    <RmSessionEvent xmlns="http://www.microsoft.com/2005/08/Windows/Reliability/RestartManager/">
      <RmSessionId>0</RmSessionId>
      <UTCStartTime>2021-03-28T05:55:40.7667257Z</UTCStartTime>
    </RmSessionEvent>
  </UserData>
</Event>

Log Name:      Application
Source:        Microsoft-Windows-RestartManager
Date:          3/27/2021 10:55:40 PM
Event ID:      10000
Task Category: None
Level:         Information
Keywords:      
User:          [REDACTED]
Computer:      [REDACTED]
Description:
Starting session 0 - ‎2021‎-‎03‎-‎28T05:55:40.766725700Z.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-RestartManager" Guid="{0888e5ef-9b98-4695-979d-e92ce4247224}" />
    <EventID>10000</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:40.7670693Z" />
    <EventRecordID>11583</EventRecordID>
    <Correlation />
    <Execution ProcessID="860" ThreadID="5992" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security UserID="S-1-5-21-2089225341-3417602680-3774030937-1001" />
  </System>
  <UserData>
    <RmSessionEvent xmlns="http://www.microsoft.com/2005/08/Windows/Reliability/RestartManager/">
      <RmSessionId>0</RmSessionId>
      <UTCStartTime>2021-03-28T05:55:40.7667257Z</UTCStartTime>
    </RmSessionEvent>
  </UserData>
</Event>

Log Name:      Application
Source:        MsiInstaller
Date:          3/27/2021 10:55:41 PM
Event ID:      1042
Task Category: None
Level:         Information
Keywords:      Classic
User:          SYSTEM
Computer:      [REDACTED]
Description:
Ending a Windows Installer transaction: C:\Users\nated\Downloads\SynchronousAudioRouter_x64.msi. Client Process Id: 2268.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1042</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:41.1262462Z" />
    <EventRecordID>11582</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data>C:\Users\nated\Downloads\SynchronousAudioRouter_x64.msi</Data>
    <Data>2268</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
  </EventData>
</Event>

Log Name:      Application
Source:        System Restore
Date:          3/27/2021 10:55:39 PM
Event ID:      8216
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      [REDACTED]
Description:
Skipping creation of restore point (Process = C:\Windows\system32\msiexec.exe /V; Description = Installed Synchronous Audio Router (64 bit)) as there is a restore point avaliable which is recent enough for System Restore.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="System Restore" />
    <EventID Qualifiers="0">8216</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:39.4403860Z" />
    <EventRecordID>11581</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security />
  </System>
  <EventData>
    <Data>C:\Windows\system32\msiexec.exe /V</Data>
    <Data>Installed Synchronous Audio Router (64 bit)</Data>
    <Binary>00000000550200004B0200000000000022CE28677C6DDA79E28C1C000000000000000000</Binary>
  </EventData>
</Event>

Log Name:      Application
Source:        MsiInstaller
Date:          3/27/2021 10:55:39 PM
Event ID:      1040
Task Category: None
Level:         Information
Keywords:      Classic
User:          [REDACTED]
Computer:      [REDACTED]
Description:
Beginning a Windows Installer transaction: C:\Users\nated\Downloads\SynchronousAudioRouter_x64.msi. Client Process Id: 2268.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1040</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-28T05:55:39.3933869Z" />
    <EventRecordID>11580</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>[REDACTED]</Computer>
    <Security UserID="S-1-5-21-2089225341-3417602680-3774030937-1001" />
  </System>
  <EventData>
    <Data>C:\Users\nated\Downloads\SynchronousAudioRouter_x64.msi</Data>
    <Data>2268</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
  </EventData>
</Event>
ve3meo commented 3 years ago

I haven't delved into logs but I found I had to reboot Windows after setting TESTSIGNING ON as per the instructions on the Microsoft link:

Enable or disable use of test-signed code Run BCDEdit command lines to enable or disable the loading of test-signed code. For a change to take effect, whether enabling or disabling the option, you must restart the computer after changing the configuration.

MaxZak2020 commented 3 years ago

I haven't delved into logs but I found I had to reboot Windows after setting TESTSIGNING ON as per the instructions on the Microsoft link:

Enable or disable use of test-signed code Run BCDEdit command lines to enable or disable the loading of test-signed code. For a change to take effect, whether enabling or disabling the option, you must restart the computer after changing the configuration.

Thank you very much indeed. It helps.

DanLane8 commented 3 years ago

Hi there, I have disabled "secure boot" in the BIOS. I have written "Bcdedit.exe -set TESTSIGNING ON" in the Command Prompt and restarted my PC as above and I'm still being met with "Synchronous Audio Router (32 bit) Setup Wizard ended prematurely because of an error. Your system has not been modified." -- I have attempted to download v0.13.2 (x86).

Any help would be appreciated greatly.

inikishev commented 2 years ago

so this is incompatible with win11?