Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Integrate7 script automatically download and slipstream all updates!

2 Weeks Ago   #121
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

You could have look in wk's cmd file for ExtraScripts

Not my project, therefore he will advise.


My System SpecsSystem Spec
.
2 Weeks Ago   #122
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

Quote   Quote: Originally Posted by SIW2 View Post
%WINDIR%\Setup\Scripts\SetupComplete.cmd

If a SetupComplete.cmd file is found, it is executed. Otherwise, installation continues normally.
I'm running a test run of Installer7 right now. Looks like \add_these_files_to_Windows\x64\Windows is conceptually the same idea as your \Import\windows.

So I have copied the chipset utility stuff I had tried in \Import\Windows (but which didn't work because current 7UP version doesn't work because Simplix pack format change, but which will be fixed in next version of 7UP). And I changed my CMD name to be SetupComplete.cmd as required.

For the time being I will ignore trying to understand what \ExtraScripts might be intended for. But I did look in the command and there is only one reference to "extrascripts", in an XCOPY line. I don't have the insight into what this is for or how it works. Anyway, I will try the other "add files to windows" approach for now and see if it gets executed as I would like.

We shall see if this works using Integrate7 when I try my test Win7 install on my Z170 machine.

Quote:
Does this take many hours, or approximately how much time? Are all updates actually downloaded one at a time, as the original MSU files? I just wonder what happens if it is necessary to re-run Intergrate7.cmd again for whatever reason, if the complete set of individual downloads previously performed must be repeated all over again?

As they are downloaded are they being stored directly into the \Hotfixes folder itself, so that if the Integrate7.cmd needs to be re-run the hours spent downloading these updates will not have to be repeated?
The answer here is that it really takes very little time to download the individual updates. Minutes, not hours.

Also, they ARE the actual MSU files. And they ARE downloaded into into \Hotfixes, which if you leave them there then inhibits the download process all over again if you need to re-run the command again. They're already there and will be used directly.

Quote:
And finally, what are the text files provided in \Hotfixes? Does your tool use those lists for optional logic paths (perhaps controlled by other 0/1 switch settings) so that we should not touch them?

Are we supposed to optionally edit (or delete) those lists for some optional reason we might consider? Or must they remain untouched and as-is?
Looking closer at the instructions in the post #1 of this thread:

"Hotfixes download links are located in files hotfixes\hfixes_all.txt and hotfixes\ie11_all.txt, but there is no reason to edit them."


I am now at the "wait, wait, wait" point, as each of the MSU updates gets applied individually by DISM. But it appears to be moving along just fine.

It's also nice that the process is running in an ordinary Administrator Command window. This means the log for the entire output could (theoretically) be copied to the clipboard and pasted into a TXT file and saved, for later review and study.

Wait, Wait, Wait.
My System SpecsSystem Spec
2 Weeks Ago   #123
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

Everything worked perfectly... except for that attempt to get the Intel Chipset INF Utility to run. That doesn't appear to have happened.

Now the \Scripts folder I placed in \add-these-files-to-windows DID get duplicated into \Windows\Setup of INSTALL.WIM. However the SetupComplete.CMD in \Scripts did not get run. Hence those three hardware items still showed up in "other devices" of Device Manager.

So, WK, can you please explain why this didn't work? Should I have placed the folder into \ExtraScripts instead?

Again, the goal is to run SetupChipset.exe whenever it can be run, in order to install the drivers for those hardware items in Device Manager.
My System SpecsSystem Spec
.

2 Weeks Ago   #124
PAtrikK

Windows 7 Professional x64
 
 

Hy wkeller.

Much thanks for your script I take it to learn new things for my Windows 7 ISO-releases. Question:
Why dou you delete some things like
NSudo.exe" -U:T -P:E Reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain\{5C0AEEEA-C154-45BE-8499-BEA5F11BAFF6}" /f
NSudo.exe" -U:T -P:E Reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\{5C0AEEEA-C154-45BE-8499-BEA5F11BAFF6}" /f
NSudo.exe" -U:T -P:E Reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Defrag\ScheduledDefrag" /f
instead of just deleting the task in the task planer like
del /q /f "%~dp0mount\%%i\Windows\System32\Tasks\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" >nul 2>&1
del /q /f "%~dp0mount\%%i\Windows\System32\Tasks\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticResolver" >nul 2>&1

In my script I can delete a task in the task planer with deleting the folder in the system32 folder in an offline image, but what does this Schedule\TaskCache\Plain\{5C0AEEEA-C154-45BE-8499-BEA5F11BAFF6}-thing and simliar do ?

Greetings from Switzerland
My System SpecsSystem Spec
1 Week Ago   #125
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

Quote   Quote: Originally Posted by dsperber View Post
Should I have placed the folder into \ExtraScripts instead?
From one of the early posts on this thread:

6. Added following ExtraScripts to installation DVD, designed to run manually:

a. HideTelemetryUpdates - it silently runs Windows Update then hides all telemetry updates​

b. InstallFlashPlayer - it automatically downloads and installs latest Adobe Flash Player (for IE11, Firefox and Opera)​


So \ExtraScripts seems to be a place designed to be located on the installation DVD/USB itself so as to be conveniently available, to hold things which are to be run manually post-install.

This is not someplace to place things to be performed automatically during the Windows install. This WOULD be \Windows\Setup\Scripts placed in \Add-these-files-to-windows, but for things that actually WOULD be runnable at that time.

It now appears the Intel Chipset INF Utility is just something that must be run manually post-install, not during the install. So for convenience it could be stored in \ExtraScripts (not as a CMD, but as the actual expanded 10.1.17 ZIP contents), although I already have it stored in my own Repository. But for sure it doesn't belong in \Add-these-files-to-windows because it won't run properly during the Windows install.
My System SpecsSystem Spec
1 Week Ago   #126
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

Just an update here...

I've now performed a genuine from-scratch Win7 install on my ASUS Z170-Deluxe machine, using the final product from Integrate7. And I've invested about the first two days of what would normally be my "build-out" into a working production machine (which could typically take about a week to complete). This is a very sophisticated machine (serving as a WMC HTPC with both Ceton and Hauppauge TV tuner cards) with M.2 NVMe Samsung SSD, 2.5" SATA Samsung SSD, and 3.5" WD SATA HDD plus external USB 3.0 backup drive. NVidia GTX 1050ti graphics, Creative Zx sound card.

So far, everything is working perfectly. Very nice. I ended up putting not just Intel Chipset INF Utility into \ExtraScripts, but about six other hardware-related driver installers for other things I need to install anyway after Win7 itself comes to its initial desktop. For example NVidia graphics, Realtek and Createive audio, APC UPS PowerChute, Ceton and Hauppauge software/drivers, ASUS AI Suite3, Logitech Setpoint, etc. I have those installers elsewhere in my private Repository, but I decided to incorporate these hardware-related items on my bootable USB install media in \ExtraScripts, just having them right there for convenience in running these mandatory items right away post-install.

The only issue I've observed (and that I've had to reverse-tweak) is that some of the system font sizes (e.g. in "Active Title Bar", as well as several others) have seemingly been increased from 11 to 14, perhaps to improve readability on a high-resolution monitor. Unfortunately this causes problems when also using font size higher than the default 100% (e.g. medium 125%, which is my preferred solution to high-resolution monitors).

The problem here is that Windows will sometimes not render text in a title bar with both text size 125% and point size increased from 11 to 14, if the title bar is drawn not large enough to accommodate (and this sometimes happens). And even when the title bar IS large enough to get the text displayed, I feel it to be too large (with both "magnifications" present).

Similarly, the "Menu" point size is also increased from 11 to 14, and again I feel the "look" of text with both "magnifications" present looks inelegant. Perhaps it would look fine with just one or the other "zoom" tweak, but with both present it's unattractive.

Since I'm used to how things look at 125% text size (going back to the days of WinXP when using 120dpi rather than 96dpi), I have reversed the increased default font sizes of 14 (as delivered with Integrate7) back to the original MS default of 11. This coupled with 125% text size gives me what I like.
My System SpecsSystem Spec
3 Days Ago   #127
bigbad69

Windows 7 Ultimate x64
 
 

Thanks for this is a great help for reinstalling Win7. I know a few extra updates have been released for Win7 since the last version, are you planning one final update?
My System SpecsSystem Spec
.
1 Day Ago   #128
wkeller

Windows 7 Professional x64
 
 

New version 2.21

- Included Wallpaper bug extra update (KB4539602)
- Added option set DisableUAC inside Integrate7.cmd to disable User Account Control (default is 0 / off)
- Added script PreDownloadAllUpdates.cmd to pre-download all updates, so the script will be usable offline, later

--> Integrate v2.21 <--

New version 2.21 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.

--> Integrate v2.21 with drivers <--


After using the script, and after installing Windows 7, it's recommended to use BypassESU and then install February 2020 Monthly Rollup (KB4537820)
I have tested it on Windows 7 Professional. It works!
My System SpecsSystem Spec
1 Day Ago   #129
bigbad69

Windows 7 Ultimate x64
 
 

Thank You wkeller I really appreciate this
My System SpecsSystem Spec
Reply

 Integrate7 script automatically download and slipstream all updates!




Thread Tools




Similar help and support threads
Thread Forum
need script to automatically hide updates via the DataStore.edb file
Let's say I have several different updates I know I don't want. For example: KB2952664 KB2976978 KB2977759 KB2990214 KB3021917 KB3035583 After a fresh install of Windows 7, there are a few hundred updates to be installed. I don't want to have to manually compare each update to my list of...
Windows Updates & Activation
Unable to download updates automatically/manually, download hangs
I'm trying to download updates through Windows Update, it shows that I have 139 important updates, and 40 optional ones. I selected them and clicked the install button but it got stuck at "Downloading updates (0 kb total, 0% complete)". I cancelled and retried choosing only 24 important updates and...
Windows Updates & Activation
Can I make optional updates for MSE be automatically download please?
I use Microsoft Security Essentials but I notice the updates come as 'optional' which means I have to regularly remember to go the my Windows Update page and check for them. Is there a way perhaps to make these be automatically installed as the 'important' updates are by my PC please?
Windows Updates & Activation
Will not download Updates automatically or manually via MS Catalogue
Hi guys, I've just put my Dell Studio back to factory settings after having it for two years and deciding to give it a rebirth. I maintain my laptop very well but always like to do a reset every so often. The problem I'm having now is that the damn thing wont update from Windows Update. It...
Windows Updates & Activation


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:45.
Twitter Facebook