Jump to content

error loading sqmapi.dll during windows install


Recommended Posts

FIXED

Hi, I made a autounattend file and wanted to test. I made this test in virtual pc.

but I got this error: Windows is unable to install to the selected location

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>040c:0000040c</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<Path></Path>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista BUSINESS</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>xxxxx</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>xxx</FullName>
<Organization>xxx</Organization>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>Eastern Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
<DPI>96</DPI>
</Display>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value></Value>
<PlainText>false</PlainText>
</Password>
<Group>Administrators</Group>
<Name>testuser</Name>
<DisplayName>testuser</DisplayName>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<AutoLogon>
<Password>
<Value></Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
</component>
<component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SidebarOnByDefault>false</SidebarOnByDefault>
<SidebarVisible>false</SidebarVisible>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>040c:0000040c</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>f4005</ComputerName>
<ShowWindowsLive>false</ShowWindowsLive>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
</Display>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Help_Page>http://www.google.com</Help_Page>
<Home_Page>about:blank</Home_Page>
<BlockPopups>yes</BlockPopups>
<ShowInformationBar>true</ShowInformationBar>
<PlaySound>true</PlaySound>
<SearchScopes>
<Scope wcm:action="add">
<ScopeDisplayName>Google.com</ScopeDisplayName>
<ScopeKey>Google</ScopeKey>
<ScopeDefault>true</ScopeDefault>
<ScopeUrl>http://www.google.com/search?q={searchTerms}&rls=com.microsoft:{language}&ie={inputEncoding}&oe={outputEncoding}&startIndex={startIndex?}&startPage={startPage}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>IMDb Search</ScopeDisplayName>
<ScopeKey>IMDB</ScopeKey>
<ScopeUrl>http://www.imdb.com/find?q={searchTerms}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>Technet</ScopeDisplayName>
<ScopeKey>Technet</ScopeKey>
<ScopeUrl>http://www.microsoft.com/technet/support/ee/SearchResults.aspx?Type=1&ID={searchTerms}&Language=1033</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>MSDN</ScopeDisplayName>
<ScopeKey>MSDN</ScopeKey>
<ScopeUrl>http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query={searchTerms}</ScopeUrl>
</Scope>
<Scope wcm:action="add">
<ScopeDisplayName>Wikipedia</ScopeDisplayName>
<ScopeKey>Wikipedia</ScopeKey>
<ScopeUrl>http://en.wikipedia.org/wiki/Special:Search?search={searchTerms}</ScopeUrl>
</Scope>
</SearchScopes>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableSR>1</DisableSR>
</component>
<component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CEIPEnabled>0</CEIPEnabled>
</component>
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableWER>1</DisableWER>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:G:/MSDNAA/Windows_Vista/vista_sp1_x64/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

post-172411-1213451131_thumb.jpg

Edited by hannubys
Link to comment
Share on other sites


You have WillShowUI set to OnError, meaning it's going to expect you to have answered all questions - yet I don't see anywhere in your XML unattend where you told Windows what disk/partition to use. So, the error makes sense.

Link to comment
Share on other sites

You have WillShowUI set to OnError, meaning it's going to expect you to have answered all questions - yet I don't see anywhere in your XML unattend where you told Windows what disk/partition to use. So, the error makes sense.

But this because i want to choose manually where to install. so do i have to remove the WillShowUI set to OnError ?

Link to comment
Share on other sites

Thank I fixed this problem. Now I got an other one. I get this message at the end of my installation : error loading sqmapi.dll

Maybe something removed from vlite because i did this in the rush to test my unattended file.

Also with the same file, i get two Administrator account, why ? I have followed the guide and i thought i have to add the Windows-Shell-Setup-Autologon

post-172411-1213554177_thumb.jpg

Edited by hannubys
Link to comment
Share on other sites

Thats great you sorted your problem, however in the future please be more specific in your rerquest for help & if VLite related mention it in the first instance Do not post here. Nuhi has a whole section devoted to VLite so post there....

Edited by MAVERICKS CHOICE
Link to comment
Share on other sites

Thats great you sorted your problem, however in the future please be more specific in your rerquest for help & if VLite related mention it in the first instance Do not post here. Nuhi has a whole section devoted to VLite so post there....

Yeah I know that but i posted here because i thought it was a problem with my autounattend file first. Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...