Jump to content

Progress


Legolash2o

Recommended Posts

Firstly, if you have any suggestions about the improvements below or questions, let me know :)

  • WIM Manager

This is currently in progress. It now reads WIM files and currently mounted directories.

  • Error Handling and Logs

Today I have been working exception handling, this will allow finally catching any errors you experience within WTK 2.x. At the minute, any error will just crash the entire application.

 

Another change is that the log file will now be in XML format to allow easier reading.

 

<Error Type="Normal" Date="22 May 2015 19:23" WTK="2.0.5620.34850" DLL="2.0.5620.34850" Lang="en-US" Name="WIN-4588D1S56VL"><!-- Test Error -->An error has occured on purpose.<!--System.Exception: An error has occured on purpose.   at WinToolkitv2.FrmMain.BtnTestISO_OnClick(Object sender, RoutedEventArgs e) in d:\WinToolkit_v2\WinToolkit\frmMain.xaml.cs:line 456--><Software Arc="x64" Name="Windows 10 Enterprise Insider Preview" Build="10122.0.amd64fre.fbl_impressive.150513-1845"><Directory>C:\WINDOWS\system32</Directory><Anti-Virus>false</Anti-Virus><Browser>C:\Program Files (x86)\Google\Chrome\Application\chrome.exe</Browser><DISM Version="10.0.10122.0" Type="System" Location="C:\WINDOWS\System32\\Dism.exe"/></Software><Hardware><CPU Name="Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHzMhz" Speed="2001Mhz" Cores="8" Load="1%" Status="OK"/><RAM Used="4,519 MB" Free="3,654 MB" Total="8,173 MB"/><Display Width="1600" Height="900" Depth="32"/><Display Width="1920" Height="1080" Depth="32"/><Drive Letter="C:\" Type="Fixed" Used="98.76 GB" Free="10.90 GB" Size="109.66 GB" Label="Windows 10"/><Drive Letter="D:\" Type="Fixed" Used="131.48 GB" Free="66.56 GB" Size="198.04 GB" Label="WinToolkit"/><Drive Letter="F:\" Type="Fixed" Used="351.53 GB" Free="46.60 GB" Size="398.13 GB" Label="Misc"/><Drive Letter="G:\" Type="Removable"/><Drive Letter="H:\" Type="CDRom"/></Hardware><Options><GetMD5>False</GetMD5><MainMenuAdvanced>False</MainMenuAdvanced><MainMenuAutoHeight>True</MainMenuAutoHeight><MainMenuAutoWidth>False</MainMenuAutoWidth><MaxThreads>7</MaxThreads></Options><StackTrace><Stack>GetStackTrace</Stack><Stack>.ctor</Stack><Stack>Save</Stack><Stack>Save</Stack><Stack>BtnTestISO_OnClick</Stack><Stack>InvokeHandlersImpl</Stack><Stack>RaiseEventImpl</Stack><Stack>OnClick</Stack><Stack>OnClick</Stack><Stack>OnClick</Stack><Stack>OnMouseLeftButtonUp</Stack><Stack>InvokeHandler</Stack><Stack>InvokeHandler</Stack><Stack>InvokeHandlersImpl</Stack><Stack>ReRaiseEventAs</Stack><Stack>OnMouseUpThunk</Stack><Stack>InvokeHandler</Stack><Stack>InvokeHandler</Stack><Stack>InvokeHandlersImpl</Stack><Stack>RaiseEventImpl</Stack></StackTrace><MessageHistory><L1 Value="Global-2"/><L2 Value="FrmMSPExtractor-0"/><L3 Value="Global-2"/><L4 Value="FrmLangPackConverter-0"/><L5 Value="Global-2"/><L6 Value="FrmLangPackConverter-0"/><L7 Value="FrmStartup-6"/><L8 Value="FrmStartup-5"/><L9 Value="FrmStartup-4"/><L10 Value="FrmStartup-2"/><L11 Value="FrmStartup-3"/></MessageHistory><Processes><Process Name="AESTSr64" Desc="Andrea filters APO access service (64-bit)" RAM="2.86 MB"/><Process Name="ApplicationFrameHost" Desc="Application Frame Host" RAM="23.34 MB"/><Process Name="atieclxx" Desc="AMD External Events Client Module" RAM="9.71 MB"/><Process Name="atiesrxx" Desc="AMD External Events Service Module" RAM="4.85 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="82.29 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="31.99 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="130.08 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="89.27 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="76.57 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="72.88 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="60.68 MB"/><Process Name="chrome" Desc="Google Chrome" RAM="66.00 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.75 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.45 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.77 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.71 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.78 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.45 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.80 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.68 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.77 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.76 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.75 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.72 MB"/><Process Name="conhost" Desc="Console Window Host" RAM="3.76 MB"/><Process Name="dasHost" Desc="Device Association Framework Provider Host" RAM="11.02 MB"/><Process Name="devenv" Desc="Microsoft Visual Studio 2013" RAM="645.94 MB"/><Process Name="devenv" Desc="Microsoft Visual Studio 2013" RAM="935.90 MB"/><Process Name="dllhost" Desc="COM Surrogate" RAM="13.08 MB"/><Process Name="dwm" Desc="Desktop Window Manager" RAM="35.44 MB"/><Process Name="explorer" Desc="Windows Explorer" RAM="133.71 MB"/><Process Name="FCUpdateService" Desc="Foxit Cloud Safe Update Service" RAM="4.76 MB"/><Process Name="fontdrvhost" Desc="Usermode Font Driver Host" RAM="2.96 MB"/><Process Name="FortiSSLVPNdaemon" Desc="FortiClient SSLVPN daemon" RAM="4.71 MB"/><Process Name="IntelliTrace" Desc="IntelliTrace.exe" RAM="41.27 MB"/><Process Name="IntelliTrace" Desc="IntelliTrace.exe" RAM="46.02 MB"/><Process Name="IpOverUsbSvc" Desc=" " RAM="11.89 MB"/><Process Name="KMS-R@1n" RAM="3.33 MB"/><Process Name="lsass" Desc="Local Security Authority Process" RAM="15.20 MB"/><Process Name="Microsoft.Alm.Shared.Remoting.RemoteContainer.dll" Desc="Microsoft.Alm.Shared.Remoting.RemoteContainer.dll" RAM="180.81 MB"/><Process Name="Microsoft.Alm.Shared.Remoting.RemoteContainer.dll" Desc="Microsoft.Alm.Shared.Remoting.RemoteContainer.dll" RAM="127.68 MB"/><Process Name="MpCmdRun" Desc="Microsoft Malware Protection Command Line Utility" RAM="12.16 MB"/><Process Name="MSASCui" Desc="Windows Defender User Interface" RAM="19.12 MB"/><Process Name="MSBuild" Desc="MSBuild.exe" RAM="36.71 MB"/><Process Name="MSBuild" Desc="MSBuild.exe" RAM="30.73 MB"/><Process Name="MSBuild" Desc="MSBuild.exe" RAM="27.30 MB"/><Process Name="MSBuild" Desc="MSBuild.exe" RAM="41.26 MB"/><Process Name="MSBuild" Desc="MSBuild.exe" RAM="37.63 MB"/><Process Name="msvsmon" Desc="Visual Studio Remote Debugging Monitor" RAM="68.16 MB"/><Process Name="msvsmon" Desc="Visual Studio Remote Debugging Monitor" RAM="51.12 MB"/><Process Name="OfficeClickToRun" Desc="Microsoft Office Click-to-Run" RAM="29.07 MB"/><Process Name="PresentationFontCache" Desc="PresentationFontCache.exe" RAM="27.91 MB"/><Process Name="RuntimeBroker" Desc="Runtime Broker" RAM="35.92 MB"/><Process Name="SearchIndexer" Desc="Microsoft Windows Search Indexer" RAM="46.48 MB"/><Process Name="SearchUI" RAM="121.32 MB"/><Process Name="SettingSyncHost" Desc="Host Process for Setting Synchronization" RAM="6.34 MB"/><Process Name="ShellExperienceHost" Desc="Windows Shell Experience Host" RAM="58.39 MB"/><Process Name="sihost" Desc="Shell Infrastructure Host" RAM="20.64 MB"/><Process Name="splwow64" Desc="Print driver host for applications" RAM="10.80 MB"/><Process Name="spoolsv" Desc="Spooler SubSystem App" RAM="15.23 MB"/><Process Name="sqlwriter" Desc="SQL Server VSS Writer - 64 Bit" RAM="7.36 MB"/><Process Name="stacsv64" Desc="IDT PC Audio" RAM="10.25 MB"/><Process Name="sttray64" Desc="IDT PC Audio" RAM="10.47 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="21.28 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="29.99 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="8.28 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="26.32 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="23.75 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="16.75 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="27.71 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="17.34 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="57.58 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="29.03 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="15.98 MB"/><Process Name="svchost" Desc="Host Process for Windows Services" RAM="42.26 MB"/><Process Name="SynTPEnh" Desc="Synaptics TouchPad 64-bit Enhancements" RAM="960.00 KB"/><Process Name="SynTPHelper" Desc="Synaptics Pointing Device Helper" RAM="460.00 KB"/><Process Name="taskeng" Desc="Task Scheduler Engine" RAM="5.71 MB"/><Process Name="taskhostw" Desc="Host Process for Windows Tasks" RAM="15.66 MB"/><Process Name="taskhostw" Desc="Host Process for Windows Tasks" RAM="16.91 MB"/><Process Name="TeamViewer_Service" Desc="TeamViewer 10" RAM="16.82 MB"/><Process Name="TSVNCache" Desc="TortoiseSVN status cache" RAM="13.23 MB"/><Process Name="TSVNCache" Desc="TortoiseSVN status cache" RAM="12.75 MB"/><Process Name="VsEtwService" Desc="Visual Studio Debugger ETW Service" RAM="6.57 MB"/><Process Name="VsEtwService" Desc="Visual Studio Debugger ETW Service" RAM="7.16 MB"/><Process Name="vstest.discoveryengine.x86" Desc="vstest.discoveryengine.x86.exe" RAM="51.88 MB"/><Process Name="vstest.discoveryengine.x86" Desc="vstest.discoveryengine.x86.exe" RAM="51.16 MB"/><Process Name="vstest.executionengine.x86" Desc="vstest.executionengine.x86.exe" RAM="31.70 MB"/><Process Name="vstest.executionengine.x86" Desc="vstest.executionengine.x86.exe" RAM="31.80 MB"/><Process Name="winlogon" Desc="Windows Logon Application" RAM="9.23 MB"/><Process Name="WinToolkit.vshost" Desc="vshost-clr2.exe" RAM="28.17 MB"/><Process Name="WinToolkitv2.vshost" Desc="vshost.exe" RAM="105.69 MB"/><Process Name="WmiPrvSE" Desc="WMI Provider Host" RAM="16.25 MB"/><Process Name="WSHost" Desc="Store Broker" RAM="23.85 MB"/><Process Name="WUDFHost" Desc="Windows Driver Foundation - User-mode Driver Framework Host Process" RAM="7.83 MB"/><Process Name="XDesProc" Desc="Microsoft Visual Studio XAML UI Designer" RAM="232.84 MB"/></Processes></Error>

  • Update Cache

The update cache is also getting re-worked. I've noticed in the current cache that some entries are invalid and contain erroneous values so from now on they will automatically NOT be included.

 

The update cache is also being done in XML to allow easier reading and just better in general :P

 

<Updates Count="746" GDR="398" LDR="356" Unknown="0" Date="22 May 2015 20:23"><Update Name="Microsoft-Windows-Agent-Package-TopLevel" Size="2774122" Type="GDR" Version="6.1.7600.16426" Filename="Windows6.1-KB969168-x64.msu" Arc="X64" MD5="FA4CD893B10D14F9317F85EC1F670D39" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=969168" CreatedDate="2009-09-21T00:00:00"/><Update Name="Microsoft-Windows-Agent-Package-TopLevel" Size="2476894" Type="GDR" Version="6.1.7600.16426" Filename="Windows6.1-KB969168-x86.msu" Arc="X86" MD5="8C3DE17BC80CC676EDE6A14CD7365015" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=969168" CreatedDate="2009-09-21T00:00:00"/><Update Name="Microsoft-Windows-DirectoryServices-ADAM-Package-Client-TopLevel" Size="16192401" Type="GDR" Version="6.1.7600.16521" Filename="Windows6.1-KB975541-x64.msu" Arc="X64" MD5="EF56AA02414D56165DE20A0CA0C97F4D" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=975541" CreatedDate="2010-02-08T00:00:00"/><Update Name="Microsoft-Windows-DirectoryServices-ADAM-Package-Client-TopLevel" Size="15255380" Type="GDR" Version="6.1.7600.16521" Filename="Windows6.1-KB975541-x86.msu" Arc="X86" MD5="586337CA47C1B3B8FB2DAD59F38AEEA8" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=975541" CreatedDate="2010-02-08T00:00:00"/><Update Name="Microsoft-Windows-EnterpriseClientSync-Host-Win7-Package-TopLevel" Size="1745758" Type="GDR" Version="7.2.7601.17021" Filename="Windows6.1-KB2891638-x64.msu" Arc="X64" MD5="832643A54E1D7069263C893B49E663B2" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=2891638" CreatedDate="2014-04-08T00:00:00"/><Update Name="Microsoft-Windows-EnterpriseClientSync-Host-Win7-Package-TopLevel" Size="1519687" Type="GDR" Version="7.2.7601.17021" Filename="Windows6.1-KB2891638-x86.msu" Arc="X86" MD5="E0952BC2D95BCF351A2D83DA7B415B3A" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=2891638" CreatedDate="2014-04-08T00:00:00"/><Update Name="Microsoft-Windows-Identity-Foundation-Package-TopLevel" Size="1545666" Type="GDR" Version="6.1.7600.16394" Filename="Windows6.1-KB974405-x64.msu" Arc="X64" MD5="D32F981DCD0CDF647B704C9F53173ABC" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=974405" CreatedDate="2010-02-25T00:00:00"/><Update Name="Microsoft-Windows-Identity-Foundation-Package-TopLevel" Size="1440483" Type="GDR" Version="6.1.7600.16394" Filename="Windows6.1-KB974405-x86.msu" Arc="X86" MD5="F61D16723D14E3C541A7797BC8DE8E26" Desc="Hotfix" Lang="ALL" AppliesTo="6.1" Support="http://support.microsoft.com?kbid=974405" CreatedDate="2010-02-25T00:00:00"/><Update Name="Microsoft-Windows-IE-Hyphenation-Parent-Package-English" Size="451824" Type="GDR" Version="11.2.9412.0" Filename="IE11-Windows6.1-KB2849697-x64.msu" Arc="X64" MD5="FC16AFE5A002262277CEB173DF1F3023" Desc="Hotfix" Lang="ALL" AppliesTo="6.3" Support="http://support.microsoft.com?kbid=2849697" CreatedDate="2013-05-24T00:00:00"/><Update Name="Microsoft-Windows-IE-Hyphenation-Parent-Package-English" Size="450707" Type="GDR" Version="10.2.9200.16437" Filename="IE10-Windows6.1-KB2764913-x64.msu" Arc="X64" MD5="731067B0B4B90010B0B7B85F181FDCE5" Desc="Hotfix" Lang="ALL" AppliesTo="6.2" Support="http://support.microsoft.com?kbid=2764913" CreatedDate="2012-10-18T00:00:00"/><--- etc --></Updates> 

 

Link to comment
Share on other sites

  • 2 weeks later...

I want the WIM Manager to be done by the end of the week. It's the hardest part. I need to design it in a why where you could run AIO Integrator twice so you can update x64 and an x86 image at the same time. Or an Windows 7 x64 and Windows 8 x64 at the same time. As much as you want as long as you can't select the same image twice.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...