Content Type
Profiles
Forums
Events
Posts posted by `Felix`
-
-
Do this..
start run cmd
expand "Source\I386\svcpack.in_" "Source\I386\svcpack.inf"
del "Source\I386\svcpack.in_"
notepad "Source\I386\svcpack.inf"
exitEnjoy
0 -
Great job DS! all is working correctly.
0 -
@Felix
Okay, now we got it. Building your 7-zip installer package fails because your Download folder path contains spaces. (I'm not guessing now, I just tested and verified this on my own PC). This is a legitimate bug.
One quick fix is simply to change the path used to short filenames - that can be done simply bu changing line 78 in your MSDBuild.cmd file
from CD /D "%~dp0"
to CD /D "%~sdp0"Folder paths with spaces most likely worked in v4.5 and not in v5.0 because I changed the 7-zip command line. (I moved all files into WorkMSDB and filter out the unneeded ones now). So I need to play around with the 7-zip command to support folder paths with spaces again. In the mean time, change your folder path to one with none of the special characters I listed above, and no spaces, and you should be able to build your installer.If that is all I missed in my own testing, then it's a been good day!
WGANotify Setup Help dialog is not an error:
In fact, it is even expected, and documented! If you read the Windows Genuine Advantage Notifications section of the Guide, you will understand why. HINT: It is also mentioned in the MSDBuild.log file that you just posted above:
.-- 16:14:50.42: WARNING: Could not extract WindowsXP-KB905474-ENU-x86-Standalone.exe.
.-- (If you saw a WGANotify Setup dialog, the file
.-- was already extracted--disregard this warning.)This is a non-issue. I could not come up with an elegant way to determine if WGAN was already extracted and renamed or not. So I just documented what happens. Read the documentation! This is the same as it was in v4.5.
Applogies - i did miss that, have been working on some stuff for 36 hours straight... the old grey matter is getting tied. One suggestion for stopping the prompt is to use 7zip to extract the files you want to use... example
Start /Wait "Extract KB905474 Download" .\7za457\7za.exe /e "%%W" -o"%%~dpnW" legitcheckcontrol.dll
I tested this quickly and it works well...
As to WUD saying that it is downloading v4.5:No where in the current MSDownloads.ulz update list is MSDBuild or the Guide referred to as version 4.5. So make sure you re-download the MSDownloads.ulz update list from the first post. (I clearly state in my guide that you must re-download this file with each new version.) Also, just to be sure, delete MSDownloads.ul from either (or even both) of these folders first:
- %ProgramFiles%\Windows Updates Downloader
- %UserProfile%\Local Settings\Application Data\Supremus Corporation\Windows Updates Downloader
Then re-download MSDownloads.ulz from the first post.
Yes i did download the latest version, however had forgot to update it in WUD... fixed now - thanks for the reminder.
0 - %ProgramFiles%\Windows Updates Downloader
-
PS also when using WUD i noticed that when downloading the guide it is still saying version 4.5 in the download information text...
@Felix
Where exactly did you see "v4.5"? I'm looking for it, but I cannot find attached to my Guide or MSDBuild, except in the past-tense. (The current guide version discusses Guide v4.5 in a couple places: Version History, et cetera.) Windows Installer is also listed at v4.5 because that is the version of that Windows update.
0 -
@Felix
Thanks for the report. Change the name of your download folder, removing the parens: "(" and ")". CMD.exe and NT Command scripts do not play well with any of these characters: "(", ")", "&", "|", "<", ">", "!", "%". This is also why the error count was incorrect in the last line of your MSDBuild.log:
14:07:14.53: MSDBuild.cmd ends with 0 errors and 2 warnings.
The script's logic branching will get confused if your folder uses parens.
@Everyone
If you want to post an issue report, it's okay to copy-and-paste a small section of your log in your post (inside a code block), but please do not code block your whole log! When you post an issue, please include your entire log file (unedited) as an attachment. That way I can download it and look at it offline. Thanks! -DS
Hi DS,
Done that however still getting problems....
MSDBuild.cmd Log: /02/-Tu- 1 16:14:36.84
Running on Windows XP
-----------------------------------------------------------------------------
Activity Log
-----------------------------------------------------------------------------
Initializing MSDBuild
... 16:14:37.06: Looking for WorkMSDB subfolder...
.++ 16:14:37.10: Found.
... 16:14:37.14: Initializing Inst*.inf files...
... 16:14:37.17: InstWGAV.inf...
.++ 16:14:37.26: Done.
... 16:14:37.28: InstWUWC.inf...
.++ 16:14:37.35: Done.
... 16:14:37.39: InstMUWC.inf...
.++ 16:14:37.45: Done.
... 16:14:37.48: InstMCWC.inf...
.++ 16:14:37.56: Done.
... 16:14:37.59: InstOGAV.inf...
.++ 16:14:37.67: Done.
... 16:14:37.71: InstOUIE.inf...
.++ 16:14:37.82: Done.
... 16:14:37.87: Checking 7-Zip Requirements...
..+ 16:14:37.90: Found 7za457 subfolder.
..+ 16:14:37.93: Found 7za.exe.
..+ 16:14:37.95: Found 7zS.sfx.
.++ 16:14:37.98: Done.
... 16:14:38.00: Creating GetFileVer.vbs in 7za457 subfolder...
.++ 16:14:38.09: Done.
... 16:14:38.14: Creating GetModDate.vbs in 7za457 subfolder...
.++ 16:14:38.87: Done.
... 16:14:38.92: Creating CompareVersions.vbs in 7za457 subfolder...
.++ 16:14:39.42: Done.
... 16:14:39.45: Creating UpdateCabInfVer.vbs in 7za457 subfolder...
.++ 16:14:39.70: Done.
... 16:14:39.73: Adding 7za457 subfolder to system %PATH%.
.++ 16:14:39.76: Done.
+++ 16:14:39.79: Initializing MSDBuild complete.
Adding DataStore.edb
... 16:14:39.90: Checking for DataStore.edb in the MSDownloads folder...
.++ 16:14:39.92: Found, copying to WorkMSDB folder.
+++ 16:14:40.29: Adding DataStore.edb complete.
Extracting Cabinet Files
... 16:14:40.39: LegitCheckControl.cab...
.++ 16:14:43.84: Done.
... 16:14:43.87: MUCatalogWebControl.cab...
.++ 16:14:44.18: Done.
... 16:14:44.23: muweb_site.cab...
.++ 16:14:44.56: Done.
... 16:14:44.59: OGAControl.cab...
.++ 16:14:44.92: Done.
... 16:14:44.93: opuc4.cab...
.++ 16:14:45.32: Done.
... 16:14:45.35: wuweb_site.cab...
.++ 16:14:45.68: Done.
+++ 16:14:45.71: Extracting Cabinet Files complete.
Extract KB905474 WGA Notifications
... 16:14:45.84: Found WindowsXP-KB905474-ENU-x86-Standalone.exe, extracting...
.-- 16:14:50.42: WARNING: Could not extract WindowsXP-KB905474-ENU-x86-Standalone.exe.
.-- (If you saw a WGANotify Setup dialog, the file
.-- was already extracted--disregard this warning.)
+++ 16:14:50.71: Extract KB905474 WGA Notifications complete.
Windows Genuine Advantage Validation Tool Installer
... 16:14:50.90: Get LegitCheckControl.dll from Cabinet...
.++ 16:14:51.56: Found (v1.9.9.1).
... 16:14:51.57: Get LegitCheckControl.dll from Update: KB905474 WGAN...
... 16:14:51.59: Looking for extracted update payload...
..+ 16:14:51.60: Found.
... 16:14:51.62: Extracting update payload...
..+ 16:14:52.06: Extracted.
... 16:14:52.09: Looking for extracted payload folder...
..+ 16:14:52.10: Found.
... 16:14:52.14: Looking for LegitCheckControl.dll in extracted payload folder...
.++ 16:14:52.70: Found (v1.8.31.9).
... 16:14:52.75: Get LegitCheckControl.dll from current operating system...
..+ 16:14:52.81: Current operating system is Windows XP.
... 16:14:52.84: Checking for C:\WINDOWS\System32\LegitCheckControl.dll...
..+ 16:14:53.35: Found, (v1.9.9.0)
... 16:14:53.37: Checking for C:\WINDOWS\LegitCheckControl.dll...
..- 16:14:53.39: File not found (v0.0.0.0).
.++ 16:14:53.40: Done.
... 16:14:53.43: Determine which LegitCheckControl.dll is more recent:
... 16:14:53.46: Cabinet .... v1.9.9.1
... 16:14:53.50: Update ..... v1.8.31.9
... 16:14:53.53: System32 ... v1.9.9.0
... 16:14:53.56: Windows .... v0.0.0.0
... 16:14:55.12: The Cabinet version (v1.9.9.1) will be used, copying...
.++ 16:14:55.15: Done.
... 16:14:55.18: Updating InstWGAV.inf with source .dll version and date information...
..+ 16:14:55.81: Distribution Unit Version: "1,9,9,1"
..+ 16:14:55.84: Last Modified Date and Time: "Fri, 06 Feb 2009 04:35:56 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 16:14:56.01: Done.
... 16:14:56.04: Updating LegitCheckControl.inf with source .dll version information...
.++ 16:14:56.59: Done.
... 16:14:56.64: Updating InstWGAV.inf with custom SFX-MSD.ini setup information...
..+ 16:14:56.65: NameDPF = "Downloaded Program Files"
..+ 16:14:56.68: CodeBase = "http://go.microsoft.com/fwlink/?linkid=39204"
.++ 16:14:56.89: Done.
... 16:14:56.92: Cleaning up extracted folder...
.++ 16:14:57.04: Done.
+++ 16:14:57.06: Windows Genuine Advantage Validation Tool Installer complete.
Windows Update Web Control Class Installer
... 16:14:57.17: Get wuweb.dll from Cabinet...
.++ 16:14:57.81: Found (v7.2.6001.788).
... 16:14:57.84: Get wuweb.dll from Update: WindowsUpdateAgent30-x86.exe...
... 16:14:57.87: Looking for downloaded Windows update...
..+ 16:14:57.90: Found.
... 16:14:57.93: Extracting Windows update...
..+ 16:14:59.82: Extracted.
... 16:14:59.85: Looking for extracted Windows update folder...
..+ 16:14:59.90: Found.
... 16:14:59.95: Looking for wuweb.dll in update payload folder...
.++ 16:15:00.65: Found (v7.2.6001.788).
... 16:15:00.70: Get wuweb.dll from current operating system...
..+ 16:15:00.75: Current operating system is Windows XP.
... 16:15:00.78: Checking for C:\WINDOWS\System32\wuweb.dll...
..+ 16:15:01.54: Found, (v7.2.6001.788)
... 16:15:01.57: Checking for C:\WINDOWS\wuweb.dll...
..- 16:15:01.62: File not found (v0.0.0.0).
.++ 16:15:01.65: Done.
... 16:15:01.70: Determine which wuweb.dll is more recent:
... 16:15:01.75: Cabinet .... v7.2.6001.788
... 16:15:01.78: Update ..... v7.2.6001.788
... 16:15:01.81: System32 ... v7.2.6001.788
... 16:15:01.82: Windows .... v0.0.0.0
... 16:15:03.90: The Cabinet version (v7.2.6001.788) will be used, copying...
.++ 16:15:03.93: Done.
... 16:15:03.96: Updating InstWUWC.inf with source .dll version and date information...
..+ 16:15:04.62: Distribution Unit Version: "7,2,6001,788"
..+ 16:15:04.65: Last Modified Date and Time: "Thu, 16 Oct 2008 06:12:24 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 16:15:04.82: Done.
... 16:15:04.85: Updating wuweb.inf with source .dll version information...
.++ 16:15:05.48: Done.
... 16:15:05.56: Updating InstWUWC.inf with custom SFX-MSD.ini setup information...
..+ 16:15:05.60: NameDPF = "Downloaded Program Files"
..+ 16:15:05.64: CodeBase = "http://update.microsoft.com/windowsupdate/v6/V5Controls/en/x86/client/wuweb_site.cab"
.++ 16:15:05.79: Done.
... 16:15:05.82: Cleaning up extracted folder...
.++ 16:15:06.59: Done.
+++ 16:15:06.62: Windows Update Web Control Class Installer complete.
Microsoft Update Web Control Class Installer
... 16:15:06.68: Get muweb.dll from Cabinet...
.++ 16:15:07.29: Found (v7.2.6001.788).
... 16:15:07.32: There is no known Windows update that contains muweb.dll.
.-- 16:15:07.35: Check aborted (v0.0.0.0).
... 16:15:07.42: Get muweb.dll from current operating system...
..+ 16:15:07.45: Current operating system is Windows XP.
... 16:15:07.48: Checking for C:\WINDOWS\System32\muweb.dll...
..+ 16:15:08.09: Found, (v7.2.6001.788)
... 16:15:08.14: Checking for C:\WINDOWS\muweb.dll...
..- 16:15:08.17: File not found (v0.0.0.0).
.++ 16:15:08.20: Done.
... 16:15:08.23: Determine which muweb.dll is more recent:
... 16:15:08.25: Cabinet .... v7.2.6001.788
... 16:15:08.28: Update ..... v0.0.0.0
... 16:15:08.29: System32 ... v7.2.6001.788
... 16:15:08.32: Windows .... v0.0.0.0
... 16:15:10.26: The Cabinet version (v7.2.6001.788) will be used, copying...
.++ 16:15:10.31: Done.
... 16:15:10.34: Updating InstMUWC.inf with source .dll version and date information...
..+ 16:15:11.07: Distribution Unit Version: "7,2,6001,788"
..+ 16:15:11.14: Last Modified Date and Time: "Thu, 16 Oct 2008 06:07:48 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 16:15:11.32: Done.
... 16:15:11.35: Updating muweb.inf with source .dll version information...
.++ 16:15:11.96: Done.
... 16:15:12.04: Updating InstMUWC.inf with custom SFX-MSD.ini setup information...
..+ 16:15:12.09: NameDPF = "Downloaded Program Files"
..+ 16:15:12.12: CodeBase = "http://update.microsoft.com/microsoftupdate/v6/V5Controls/en/x86/client/muweb_site.cab"
..+ 16:15:12.17: Shortcut = "Microsoft Update"
..+ 16:15:12.18: InfoTip = "Scans your system and reports updates available for your Microsoft software."
.++ 16:15:12.34: Done.
+++ 16:15:12.37: Microsoft Update Web Control Class Installer complete.
Microsoft Update Catalog Web Control Class Installer
... 16:15:12.46: Get MicrosoftUpdateCatalogWebControl.dll from Cabinet...
.++ 16:15:13.12: Found (v7.0.6000.569).
... 16:15:13.15: There is no known Windows update that contains MicrosoftUpdateCatalogWebControl.dll.
.-- 16:15:13.17: Check aborted (v0.0.0.0).
... 16:15:13.21: Get MicrosoftUpdateCatalogWebControl.dll from current operating system...
..+ 16:15:13.25: Current operating system is Windows XP.
... 16:15:13.29: Checking for C:\WINDOWS\System32\MicrosoftUpdateCatalogWebControl.dll...
..- 16:15:13.32: File not found (v0.0.0.0).
... 16:15:13.35: Checking for C:\WINDOWS\MicrosoftUpdateCatalogWebControl.dll...
..- 16:15:13.40: File not found (v0.0.0.0).
.++ 16:15:13.43: Done.
... 16:15:13.46: Determine which MicrosoftUpdateCatalogWebControl.dll is more recent:
... 16:15:13.51: Cabinet .... v7.0.6000.569
... 16:15:13.54: Update ..... v0.0.0.0
... 16:15:13.57: System32 ... v0.0.0.0
... 16:15:13.60: Windows .... v0.0.0.0
... 16:15:15.46: The Cabinet version (v7.0.6000.569) will be used, copying...
.++ 16:15:15.51: Done.
... 16:15:15.54: Updating InstMCWC.inf with source .dll version and date information...
..+ 16:15:16.18: Distribution Unit Version: "7,0,6000,569"
..+ 16:15:16.21: Last Modified Date and Time: "Tue, 30 Jul 2007 18:25:54 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 16:15:16.39: Done.
... 16:15:16.42: Updating MicrosoftUpdateCatalogWebControl.inf with source .dll version information...
.++ 16:15:17.00: Done.
... 16:15:17.09: Updating InstMCWC.inf with custom SFX-MSD.ini setup information...
..+ 16:15:17.14: NameDPF = "Downloaded Program Files"
..+ 16:15:17.20: CodeBase = "http://catalog.update.microsoft.com/v7/site/ClientControl/en/x86/MuCatalogWebControl.cab"
..+ 16:15:17.28: Shortcut = "Microsoft Update Catalog"
..+ 16:15:17.31: InfoTip = "Search catalog for updates for different: Windows versions, languages, or update versions."
.++ 16:15:17.48: Done.
+++ 16:15:17.54: Microsoft Update Catalog Web Control Class Installer complete.
Office Genuine Advantage Validation Tool Installer
... 16:15:17.71: Get OGACheckControl.dll from Cabinet...
.++ 16:15:18.35: Found (v1.6.28.0).
... 16:15:18.40: There is no known Windows update that contains OGACheckControl.dll.
.-- 16:15:18.46: Check aborted (v0.0.0.0).
... 16:15:18.53: Get OGACheckControl.dll from current operating system...
..+ 16:15:18.56: Current operating system is Windows XP.
... 16:15:18.60: Checking for C:\WINDOWS\System32\OGACheckControl.dll...
..+ 16:15:19.29: Found, (v1.7.105.35)
... 16:15:19.32: Checking for C:\WINDOWS\OGACheckControl.dll...
..- 16:15:19.35: File not found (v0.0.0.0).
.++ 16:15:19.40: Done.
... 16:15:19.43: Determine which OGACheckControl.dll is more recent:
... 16:15:19.48: Cabinet .... v1.6.28.0
... 16:15:19.51: Update ..... v0.0.0.0
... 16:15:19.54: System32 ... v1.7.105.35
... 16:15:19.57: Windows .... v0.0.0.0
... 16:15:21.67: The System32 version (v1.7.105.35) will be used, copying...
.++ 16:15:21.79: Done.
... 16:15:21.82: Updating InstOGAV.inf with source .dll version and date information...
..+ 16:15:22.53: Distribution Unit Version: "1,7,105,35"
..+ 16:15:22.59: Last Modified Date and Time: "Wed, 31 Dec 2008 09:04:42 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 16:15:22.79: Done.
... 16:15:22.82: Updating OGAControl.inf with source .dll version information...
.++ 16:15:23.45: Done.
... 16:15:23.53: Updating InstOGAV.inf with custom SFX-MSD.ini setup information...
..+ 16:15:23.56: NameDPF = "Downloaded Program Files"
..+ 16:15:23.59: CodeBase = "http://go.microsoft.com/fwlink/?linkid=58813"
.++ 16:15:23.75: Done.
+++ 16:15:23.79: Office Genuine Advantage Validation Tool Installer complete.
Office Update Installation Engine Installer
... 16:15:23.87: Get opuc.dll from Cabinet...
.++ 16:15:24.54: Found (v12.0.5598.1000).
... 16:15:24.57: There is no known Windows update that contains opuc.dll.
.-- 16:15:24.60: Check aborted (v0.0.0.0).
... 16:15:24.68: Get opuc.dll from current operating system...
..+ 16:15:24.71: Current operating system is Windows XP.
... 16:15:24.76: Checking for C:\WINDOWS\System32\opuc.dll...
..- 16:15:24.79: File not found (v0.0.0.0).
... 16:15:24.82: Checking for C:\WINDOWS\opuc.dll...
..- 16:15:24.85: File not found (v0.0.0.0).
.++ 16:15:24.89: Done.
... 16:15:24.92: Determine which opuc.dll is more recent:
... 16:15:24.95: Cabinet .... v12.0.5598.1000
... 16:15:24.98: Update ..... v0.0.0.0
... 16:15:25.01: System32 ... v0.0.0.0
... 16:15:25.03: Windows .... v0.0.0.0
... 16:15:26.98: The Cabinet version (v12.0.5598.1000) will be used, copying...
.++ 16:15:27.03: Done.
... 16:15:27.06: Updating InstOUIE.inf with source .dll version and date information...
..+ 16:15:27.68: Distribution Unit Version: "12,0,5598,1000"
..+ 16:15:27.71: Last Modified Date and Time: "Mon, 19 Jan 2009 06:08:24 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 16:15:27.89: Done.
... 16:15:27.96: Updating InstOUIE.inf with custom SFX-MSD.ini setup information...
..+ 16:15:27.98: NameDPF = "Downloaded Program Files"
..+ 16:15:28.01: CodeBase = "http://office.microsoft.com/officeupdate/content/opuc4.cab"
..+ 16:15:28.04: WebSite = "http://office.microsoft.com/en-us/downloads/maincatalog.aspx"
..+ 16:15:28.09: Shortcut = "Office Update"
..+ 16:15:28.12: InfoTip = "Scans your system and reports updates available for your Microsoft Office software."
.++ 16:15:28.28: Done.
+++ 16:15:28.29: Office Update Installation Engine Installer complete.
Create MSDownloads.exe
... 16:15:28.39: Creating SFX Command Prefix...
.++ 16:15:28.46: Done.
... 16:15:28.48: Creating Temp.7z archive...
------------------------------------------------------------------------------------
Command: 7za.exe a Temp.7z -ma=2 -mx=9 -mfb=273 -md=64m -r "D:\Repacked software\Micorosoft Updates\Microsoft Update Prinstaller\MSDownloads\WorkMSDB\*" -xr!*.*_
------------------------------------------------------------------------------------
.++ 16:15:30.87: Done.
... 16:15:30.90: Appending SFX Prefix to Temp.7z archive...
.++ 16:15:33.39: Done.
... 16:15:33.40: Cleaning up temporary files...
.++ 16:15:33.43: Done.
... 16:15:33.46: Testing archive integrity...
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
.-- 16:15:33.50: Attempt:1 Archive unverified, will attempt again
.-- with less aggressive memory settings.
... 16:15:33.76: Creating SFX Command Prefix...
.++ 16:15:33.82: Done.
... 16:15:33.84: Creating Temp.7z archive...
------------------------------------------------------------------------------------
Command: 7za.exe a Temp.7z -ma=2 -mx=9 -mfb=128 -md=48m -r "D:\Repacked software\Micorosoft Updates\Microsoft Update Prinstaller\MSDownloads\WorkMSDB\*" -xr!*.*_
------------------------------------------------------------------------------------
.++ 16:15:36.28: Done.
... 16:15:36.31: Appending SFX Prefix to Temp.7z archive...
.++ 16:15:38.82: Done.
... 16:15:38.85: Cleaning up temporary files...
.++ 16:15:38.87: Done.
... 16:15:38.90: Testing archive integrity...
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
.-- 16:15:38.95: Attempt:2 Archive unverified, will attempt again
.-- with less aggressive memory settings.
... 16:15:39.23: Creating SFX Command Prefix...
.++ 16:15:39.28: Done.
... 16:15:39.29: Creating Temp.7z archive...
------------------------------------------------------------------------------------
Command: 7za.exe a Temp.7z -ma=2 -mx=7 -r "D:\Repacked software\Micorosoft Updates\Microsoft Update Prinstaller\MSDownloads\WorkMSDB\*" -xr!*.*_
------------------------------------------------------------------------------------
.++ 16:15:41.70: Done.
... 16:15:41.73: Appending SFX Prefix to Temp.7z archive...
.++ 16:15:44.25: Done.
... 16:15:44.28: Cleaning up temporary files...
.++ 16:15:44.31: Done.
... 16:15:44.32: Testing archive integrity...
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
..* 16:15:44.37: ERROR: Error creating MSDownloads.exe, aborting.
Cleanup
.++ 16:15:49.87: User has opted to cleanup.
... 16:15:49.90: Deleting WorkMSDB subfolder...
.++ 16:15:50.06: Done.
... 16:15:50.07: Deleting 7za457 subfolder...
.++ 16:15:50.15: Done.
... 16:15:50.18: Deleting Readme.txt...
.++ 16:15:50.20: Done.
... 16:15:50.23: Flagging MSDBuild.cmd for deletion at exit...
.++ 16:15:50.28: Done.
.++ 16:15:50.29: NOTE: Any customized DataStore.edb file was not deleted.
.++ 16:15:50.34: NOTE: Any customized SFX-MSD.ini file was not deleted.
+++ 16:15:50.37: Cleanup complete.
-----------------------------------------------------------------------------
16:15:50.43: MSDBuild.cmd ends with 0 errors and 3 warnings.PS the previous version worked fine with the folder previous structure. Also WGAnotify is popping up a help window showing switches... This only happens after the first time running MSDBuild i.e. 2nd, 3rd etc... have also tried copying all files to c:\tmp and still have errors... It also apprears from testing that most of the errors occur when using any folder name that has spaces in it. The previous version didn't have this bug.
0 -
Guide and MSDBuild updated to v5.0 Please read the Version History in the first post for more information. B)
-DS
Hi DS,
Just attempted to build msdownloads following v5 and have been getting errors... Can you advise what the problem is?
MSDBuild.cmd Log: /02/-Tu- 1 14:05:30.84
Running on Windows XP
-----------------------------------------------------------------------------
Activity Log
-----------------------------------------------------------------------------
Initializing MSDBuild
... 14:05:30.98: Looking for WorkMSDB subfolder...
.++ 14:05:31.00: Found.
... 14:05:31.03: Initializing Inst*.inf files...
... 14:05:31.06: InstWGAV.inf...
.++ 14:05:31.12: Done.
... 14:05:31.15: InstWUWC.inf...
.++ 14:05:31.23: Done.
... 14:05:31.25: InstMUWC.inf...
.++ 14:05:31.32: Done.
... 14:05:31.35: InstMCWC.inf...
.++ 14:05:31.42: Done.
... 14:05:31.43: InstOGAV.inf...
.++ 14:05:31.50: Done.
... 14:05:31.53: InstOUIE.inf...
.++ 14:05:31.59: Done.
... 14:05:31.62: Checking 7-Zip Requirements...
..+ 14:05:31.65: Found 7za457 subfolder.
..+ 14:05:31.68: Found 7za.exe.
..+ 14:05:31.70: Found 7zS.sfx.
.++ 14:05:31.73: Done.
... 14:05:31.75: Creating GetFileVer.vbs in 7za457 subfolder...
.++ 14:05:31.84: Done.
... 14:05:31.87: Creating GetModDate.vbs in 7za457 subfolder...
.++ 14:05:32.50: Done.
... 14:05:32.53: Creating CompareVersions.vbs in 7za457 subfolder...
.++ 14:05:32.96: Done.
... 14:05:33.00: Creating UpdateCabInfVer.vbs in 7za457 subfolder...
.++ 14:05:33.26: Done.
... 14:05:33.29: Adding 7za457 subfolder to system %PATH%.
.++ 14:05:33.34: Done.
+++ 14:05:33.37: Initializing MSDBuild complete.
Adding DataStore.edb
... 14:05:33.43: Checking for DataStore.edb in the MSDownloads folder...
.++ 14:05:33.45: Found, copying to WorkMSDB folder.
+++ 14:05:33.64: Adding DataStore.edb complete.
Extracting Cabinet Files
... 14:05:33.73: LegitCheckControl.cab...
.++ 14:05:37.09: Done.
... 14:05:37.12: MUCatalogWebControl.cab...
.++ 14:05:37.35: Done.
... 14:05:37.39: muweb_site.cab...
.++ 14:05:37.60: Done.
... 14:05:37.64: OGAControl.cab...
.++ 14:05:37.92: Done.
... 14:05:37.93: opuc4.cab...
.++ 14:05:38.17: Done.
... 14:05:38.18: wuweb_site.cab...
.++ 14:05:38.43: Done.
+++ 14:05:38.45: Extracting Cabinet Files complete.
Extract KB905474 WGA Notifications
... 14:05:38.54: Found WindowsXP-KB905474-ENU-x86-Standalone.exe, extracting...
.++ 14:05:39.59: Done.
... 14:05:39.62: Deleting WindowsXP-KB905474-ENU-x86-Standalone.exe...
.++ 14:05:39.64: Done.
... 14:05:39.67: Renaming extracted WgaNotifyPackageStandalone.exe...
.++ 14:05:39.70: Done.
... 14:05:39.73: Deleting temp folder .\WindowsXP-KB905474-ENU-x86-Standalone...
.++ 14:05:39.79: Done.
+++ 14:05:39.81: Extract KB905474 WGA Notifications complete.
Windows Genuine Advantage Validation Tool Installer
... 14:05:39.93: Get LegitCheckControl.dll from Cabinet...
.++ 14:05:40.65: Found (v1.9.9.1).
... 14:05:40.67: Get LegitCheckControl.dll from Update: KB905474 WGAN...
... 14:05:40.70: Looking for extracted update payload...
..+ 14:05:40.73: Found.
... 14:05:40.76: Extracting update payload...
..+ 14:05:41.62: Extracted.
... 14:05:41.64: Looking for extracted payload folder...
..+ 14:05:41.67: Found.
... 14:05:41.70: Looking for LegitCheckControl.dll in extracted payload folder...
.++ 14:05:42.29: Found (v1.8.31.9).
... 14:05:42.34: Get LegitCheckControl.dll from current operating system...
..+ 14:05:42.37: Current operating system is Windows XP.
... 14:05:42.40: Checking for C:\WINDOWS\System32\LegitCheckControl.dll...
..+ 14:05:43.00: Found, (v1.9.9.0)
... 14:05:43.03: Checking for C:\WINDOWS\LegitCheckControl.dll...
..- 14:05:43.04: File not found (v0.0.0.0).
.++ 14:05:43.09: Done.
... 14:05:43.12: Determine which LegitCheckControl.dll is more recent:
... 14:05:43.14: Cabinet .... v1.9.9.1
... 14:05:43.17: Update ..... v1.8.31.9
... 14:05:43.20: System32 ... v1.9.9.0
... 14:05:43.23: Windows .... v0.0.0.0
... 14:05:45.00: The Cabinet version (v1.9.9.1) will be used, copying...
.++ 14:05:45.03: Done.
... 14:05:45.06: Updating InstWGAV.inf with source .dll version and date information...
..+ 14:05:45.67: Distribution Unit Version: "1,9,9,1"
..+ 14:05:45.70: Last Modified Date and Time: "Fri, 06 Feb 2009 04:35:56 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 14:05:45.87: Done.
... 14:05:45.90: Updating LegitCheckControl.inf with source .dll version information...
.++ 14:05:46.48: Done.
... 14:05:46.54: Updating InstWGAV.inf with custom SFX-MSD.ini setup information...
..+ 14:05:46.57: NameDPF = "Downloaded Program Files"
..+ 14:05:46.62: CodeBase = "http://go.microsoft.com/fwlink/?linkid=39204"
.++ 14:05:46.73: Done.
... 14:05:46.76: Cleaning up extracted folder...
.++ 14:05:46.87: Done.
+++ 14:05:46.89: Windows Genuine Advantage Validation Tool Installer complete.
Windows Update Web Control Class Installer
... 14:05:46.96: Get wuweb.dll from Cabinet...
.++ 14:05:47.54: Found (v7.2.6001.788).
... 14:05:47.57: Get wuweb.dll from Update: WindowsUpdateAgent30-x86.exe...
... 14:05:47.60: Looking for downloaded Windows update...
..+ 14:05:47.62: Found.
... 14:05:47.65: Extracting Windows update...
..+ 14:06:01.53: Extracted.
... 14:06:01.56: Looking for extracted Windows update folder...
..+ 14:06:01.57: Found.
... 14:06:01.60: Looking for wuweb.dll in update payload folder...
.++ 14:06:02.25: Found (v7.2.6001.788).
... 14:06:02.31: Get wuweb.dll from current operating system...
..+ 14:06:02.32: Current operating system is Windows XP.
... 14:06:02.37: Checking for C:\WINDOWS\System32\wuweb.dll...
..+ 14:06:02.90: Found, (v7.2.6001.788)
... 14:06:02.93: Checking for C:\WINDOWS\wuweb.dll...
..- 14:06:02.96: File not found (v0.0.0.0).
.++ 14:06:02.98: Done.
... 14:06:03.03: Determine which wuweb.dll is more recent:
... 14:06:03.04: Cabinet .... v7.2.6001.788
... 14:06:03.07: Update ..... v7.2.6001.788
... 14:06:03.10: System32 ... v7.2.6001.788
... 14:06:03.14: Windows .... v0.0.0.0
... 14:06:04.87: The Cabinet version (v7.2.6001.788) will be used, copying...
.++ 14:06:04.90: Done.
... 14:06:04.92: Updating InstWUWC.inf with source .dll version and date information...
..+ 14:06:05.56: Distribution Unit Version: "7,2,6001,788"
..+ 14:06:05.59: Last Modified Date and Time: "Thu, 16 Oct 2008 06:12:24 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 14:06:05.71: Done.
... 14:06:05.75: Updating wuweb.inf with source .dll version information...
.++ 14:06:06.29: Done.
... 14:06:06.35: Updating InstWUWC.inf with custom SFX-MSD.ini setup information...
..+ 14:06:06.39: NameDPF = "Downloaded Program Files"
..+ 14:06:06.42: CodeBase = "http://update.microsoft.com/windowsupdate/v6/V5Controls/en/x86/client/wuweb_site.cab"
.++ 14:06:06.54: Done.
... 14:06:06.59: Cleaning up extracted folder...
.++ 14:06:07.35: Done.
+++ 14:06:07.39: Windows Update Web Control Class Installer complete.
Microsoft Update Web Control Class Installer
... 14:06:07.46: Get muweb.dll from Cabinet...
.++ 14:06:08.09: Found (v7.2.6001.788).
... 14:06:08.12: There is no known Windows update that contains muweb.dll.
.-- 14:06:08.14: Check aborted (v0.0.0.0).
... 14:06:08.18: Get muweb.dll from current operating system...
..+ 14:06:08.21: Current operating system is Windows XP.
... 14:06:08.25: Checking for C:\WINDOWS\System32\muweb.dll...
..+ 14:06:08.90: Found, (v7.2.6001.788)
... 14:06:08.93: Checking for C:\WINDOWS\muweb.dll...
..- 14:06:08.95: File not found (v0.0.0.0).
.++ 14:06:09.00: Done.
... 14:06:09.03: Determine which muweb.dll is more recent:
... 14:06:09.06: Cabinet .... v7.2.6001.788
... 14:06:09.07: Update ..... v0.0.0.0
... 14:06:09.10: System32 ... v7.2.6001.788
... 14:06:09.12: Windows .... v0.0.0.0
... 14:06:10.89: The Cabinet version (v7.2.6001.788) will be used, copying...
.++ 14:06:10.92: Done.
... 14:06:10.93: Updating InstMUWC.inf with source .dll version and date information...
..+ 14:06:11.57: Distribution Unit Version: "7,2,6001,788"
..+ 14:06:11.59: Last Modified Date and Time: "Thu, 16 Oct 2008 06:07:48 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 14:06:11.78: Done.
... 14:06:11.79: Updating muweb.inf with source .dll version information...
.++ 14:06:12.35: Done.
... 14:06:12.42: Updating InstMUWC.inf with custom SFX-MSD.ini setup information...
..+ 14:06:12.45: NameDPF = "Downloaded Program Files"
..+ 14:06:12.46: CodeBase = "http://update.microsoft.com/microsoftupdate/v6/V5Controls/en/x86/client/muweb_site.cab"
..+ 14:06:12.51: Shortcut = "Microsoft Update"
..+ 14:06:12.53: InfoTip = "Scans your system and reports updates available for your Microsoft software."
.++ 14:06:12.67: Done.
+++ 14:06:12.70: Microsoft Update Web Control Class Installer complete.
Microsoft Update Catalog Web Control Class Installer
... 14:06:12.78: Get MicrosoftUpdateCatalogWebControl.dll from Cabinet...
.++ 14:06:13.40: Found (v7.0.6000.569).
... 14:06:13.42: There is no known Windows update that contains MicrosoftUpdateCatalogWebControl.dll.
.-- 14:06:13.45: Check aborted (v0.0.0.0).
... 14:06:13.50: Get MicrosoftUpdateCatalogWebControl.dll from current operating system...
..+ 14:06:13.54: Current operating system is Windows XP.
... 14:06:13.57: Checking for C:\WINDOWS\System32\MicrosoftUpdateCatalogWebControl.dll...
..- 14:06:13.60: File not found (v0.0.0.0).
... 14:06:13.62: Checking for C:\WINDOWS\MicrosoftUpdateCatalogWebControl.dll...
..- 14:06:13.65: File not found (v0.0.0.0).
.++ 14:06:13.67: Done.
... 14:06:13.71: Determine which MicrosoftUpdateCatalogWebControl.dll is more recent:
... 14:06:13.75: Cabinet .... v7.0.6000.569
... 14:06:13.76: Update ..... v0.0.0.0
... 14:06:13.79: System32 ... v0.0.0.0
... 14:06:13.82: Windows .... v0.0.0.0
... 14:06:15.60: The Cabinet version (v7.0.6000.569) will be used, copying...
.++ 14:06:15.64: Done.
... 14:06:15.67: Updating InstMCWC.inf with source .dll version and date information...
..+ 14:06:16.34: Distribution Unit Version: "7,0,6000,569"
..+ 14:06:16.37: Last Modified Date and Time: "Tue, 30 Jul 2007 18:25:54 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 14:06:16.56: Done.
... 14:06:16.59: Updating MicrosoftUpdateCatalogWebControl.inf with source .dll version information...
.++ 14:06:17.14: Done.
... 14:06:17.21: Updating InstMCWC.inf with custom SFX-MSD.ini setup information...
..+ 14:06:17.25: NameDPF = "Downloaded Program Files"
..+ 14:06:17.28: CodeBase = "http://catalog.update.microsoft.com/v7/site/ClientControl/en/x86/MuCatalogWebControl.cab"
..+ 14:06:17.31: Shortcut = "Microsoft Update Catalog"
..+ 14:06:17.35: InfoTip = "Search catalog for updates for different: Windows versions, languages, or update versions."
.++ 14:06:17.48: Done.
+++ 14:06:17.51: Microsoft Update Catalog Web Control Class Installer complete.
Office Genuine Advantage Validation Tool Installer
... 14:06:17.60: Get OGACheckControl.dll from Cabinet...
.++ 14:06:18.20: Found (v1.6.28.0).
... 14:06:18.23: There is no known Windows update that contains OGACheckControl.dll.
.-- 14:06:18.25: Check aborted (v0.0.0.0).
... 14:06:18.31: Get OGACheckControl.dll from current operating system...
..+ 14:06:18.34: Current operating system is Windows XP.
... 14:06:18.39: Checking for C:\WINDOWS\System32\OGACheckControl.dll...
..+ 14:06:18.96: Found, (v1.7.105.35)
... 14:06:19.00: Checking for C:\WINDOWS\OGACheckControl.dll...
..- 14:06:19.03: File not found (v0.0.0.0).
.++ 14:06:19.06: Done.
... 14:06:19.09: Determine which OGACheckControl.dll is more recent:
... 14:06:19.15: Cabinet .... v1.6.28.0
... 14:06:19.17: Update ..... v0.0.0.0
... 14:06:19.20: System32 ... v1.7.105.35
... 14:06:19.23: Windows .... v0.0.0.0
... 14:06:21.07: The System32 version (v1.7.105.35) will be used, copying...
.++ 14:06:21.21: Done.
... 14:06:21.25: Updating InstOGAV.inf with source .dll version and date information...
..+ 14:06:21.93: Distribution Unit Version: "1,7,105,35"
..+ 14:06:21.96: Last Modified Date and Time: "Wed, 31 Dec 2008 09:04:42 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 14:06:22.14: Done.
... 14:06:22.15: Updating OGAControl.inf with source .dll version information...
.++ 14:06:22.71: Done.
... 14:06:22.79: Updating InstOGAV.inf with custom SFX-MSD.ini setup information...
..+ 14:06:22.82: NameDPF = "Downloaded Program Files"
..+ 14:06:22.85: CodeBase = "http://go.microsoft.com/fwlink/?linkid=58813"
.++ 14:06:23.01: Done.
+++ 14:06:23.04: Office Genuine Advantage Validation Tool Installer complete.
Office Update Installation Engine Installer
... 14:06:23.12: Get opuc.dll from Cabinet...
.++ 14:06:23.75: Found (v12.0.5598.1000).
... 14:06:23.78: There is no known Windows update that contains opuc.dll.
.-- 14:06:23.81: Check aborted (v0.0.0.0).
... 14:06:23.85: Get opuc.dll from current operating system...
..+ 14:06:23.89: Current operating system is Windows XP.
... 14:06:23.92: Checking for C:\WINDOWS\System32\opuc.dll...
..- 14:06:23.96: File not found (v0.0.0.0).
... 14:06:23.98: Checking for C:\WINDOWS\opuc.dll...
..- 14:06:24.01: File not found (v0.0.0.0).
.++ 14:06:24.04: Done.
... 14:06:24.06: Determine which opuc.dll is more recent:
... 14:06:24.09: Cabinet .... v12.0.5598.1000
... 14:06:24.10: Update ..... v0.0.0.0
... 14:06:24.14: System32 ... v0.0.0.0
... 14:06:24.17: Windows .... v0.0.0.0
... 14:06:26.03: The Cabinet version (v12.0.5598.1000) will be used, copying...
.++ 14:06:26.07: Done.
... 14:06:26.10: Updating InstOUIE.inf with source .dll version and date information...
..+ 14:06:26.70: Distribution Unit Version: "12,0,5598,1000"
..+ 14:06:26.73: Last Modified Date and Time: "Mon, 19 Jan 2009 06:08:24 GMT"
****************** NOTE: Daylight Savings Time (if applicable) is not factored in.
.++ 14:06:26.90: Done.
... 14:06:26.96: Updating InstOUIE.inf with custom SFX-MSD.ini setup information...
..+ 14:06:27.00: NameDPF = "Downloaded Program Files"
..+ 14:06:27.03: CodeBase = "http://office.microsoft.com/officeupdate/content/opuc4.cab"
..+ 14:06:27.04: WebSite = "http://office.microsoft.com/en-us/downloads/maincatalog.aspx"
..+ 14:06:27.07: Shortcut = "Office Update"
..+ 14:06:27.12: InfoTip = "Scans your system and reports updates available for your Microsoft Office software."
.++ 14:06:27.25: Done.
+++ 14:06:27.26: Office Update Installation Engine Installer complete.
Create MSDownloads.exe
... 14:06:27.35: Creating SFX Command Prefix...
.++ 14:06:27.43: Done.
... 14:06:27.45: Creating Temp.7z archive...
------------------------------------------------------------------------------------
Command: 7za.exe a Temp.7z -ma=2 -mx=9 -mfb=273 -md=64m -r "D:\Repacked software\Micorosoft Updates (Feb 09)\tmp\MSDownloads\WorkMSDB\*" -xr!*.*_
------------------------------------------------------------------------------------
.++ 14:06:29.87: Done.
... 14:06:29.89: Appending SFX Prefix to Temp.7z archive...
.++ 14:06:32.42: Done.
... 14:06:32.43: Cleaning up temporary files...
.++ 14:06:32.46: Done.
... 14:06:32.48: Testing archive integrity...
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
.-- 14:06:32.51: Attempt:1 Archive unverified, will attempt again
.-- with less aggressive memory settings.
... 14:06:32.78: Creating SFX Command Prefix...
.++ 14:06:32.82: Done.
... 14:06:32.85: Creating Temp.7z archive...
------------------------------------------------------------------------------------
Command: 7za.exe a Temp.7z -ma=2 -mx=9 -mfb=128 -md=48m -r "D:\Repacked software\Micorosoft Updates (Feb 09)\tmp\MSDownloads\WorkMSDB\*" -xr!*.*_
------------------------------------------------------------------------------------
.++ 14:06:35.26: Done.
... 14:06:35.29: Appending SFX Prefix to Temp.7z archive...
.++ 14:06:37.79: Done.
... 14:06:37.82: Cleaning up temporary files...
.++ 14:06:37.84: Done.
... 14:06:37.85: Testing archive integrity...
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
.-- 14:06:37.90: Attempt:2 Archive unverified, will attempt again
.-- with less aggressive memory settings.
... 14:06:38.17: Creating SFX Command Prefix...
.++ 14:06:38.23: Done.
... 14:06:38.25: Creating Temp.7z archive...
------------------------------------------------------------------------------------
Command: 7za.exe a Temp.7z -ma=2 -mx=7 -r "D:\Repacked software\Micorosoft Updates (Feb 09)\tmp\MSDownloads\WorkMSDB\*" -xr!*.*_
------------------------------------------------------------------------------------
.++ 14:06:40.62: Done.
... 14:06:40.64: Appending SFX Prefix to Temp.7z archive...
.++ 14:06:43.17: Done.
... 14:06:43.18: Cleaning up temporary files...
.++ 14:06:43.20: Done.
... 14:06:43.23: Testing archive integrity...
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
..* 14:06:43.26: ERROR: Error creating MSDownloads.exe, aborting.
Cleanup
.++ 14:07:14.10: User has opted to cleanup.
... 14:07:14.14: Deleting WorkMSDB subfolder...
.++ 14:07:14.26: Done.
... 14:07:14.29: Deleting 7za457 subfolder...
.++ 14:07:14.35: Done.
... 14:07:14.35: Deleting Readme.txt...
.++ 14:07:14.37: Done.
... 14:07:14.39: Flagging MSDBuild.cmd for deletion at exit...
.++ 14:07:14.42: Done.
.++ 14:07:14.43: NOTE: Any customized DataStore.edb file was not deleted.
.++ 14:07:14.46: NOTE: Any customized SFX-MSD.ini file was not deleted.
+++ 14:07:14.50: Cleanup complete.
-----------------------------------------------------------------------------
14:07:14.53: MSDBuild.cmd ends with 0 errors and 2 warnings.PS also when using WUD i noticed that when downloading the guide it is still saying version 4.5 in the download information text...
0 -
Your welcome
0 -
i found an easier way depending on what your doing with it download the latest version use 7zip to extract it out create a cmd script with setup.exe /s and to install plugins and extent ion there should be three folders and just copy them from a previously installed one and copy across into the three folders and depending on os in vista C:/Users/(YOUR USER NAME)/appdata/Mozila or something like that maybee firefox then copy them into the correct folders then run the cmd script it should all install silently tada no real heavy coding just copy and paste
lastowl,
It would be great if you could explain in more detail here in this thread so everyone can benefit from your information.
0 -
Hi All,
Does anyone happen to know where windows xp pro has the settings for creating the folders like %programfiles%\xerox, %programfiles%\msn games zone etc? I use Nlite to remove thes options, however the folders are still there and i would like to prevent them being created in the first place if this is possible?
0 -
firefox.cfg
//general settings
defaultPref("general.smoothScroll", true);
defaultPref("general.warnOnAboutConfig", false);
//set default download directory
var download_dir = getenv("PERSONAL") + "Downloads";
defaultPref("browser.download.defaultFolder", download_dir);
defaultPref("browser.download.dir", download_dir);
defaultPref("browser.download.downloadDir", download_dir);
defaultPref("browser.download.folderList", 2);
//download statusbar
defaultPref("browser.download.manager.showAlertOnComplete", false);
defaultPref("browser.download.manager.showWhenStarting", false);
defaultPref("downbar.function.firstRun", false);
defaultPref("downbar.function.version", "0.9.6.3");
defaultPref("downbar.function.donateTextInterval", "1214154639539");
//adblock plus
defaultPref("extensions.adblockplus.checkedadblockinstalled", true);
defaultPref("extensions.adblockplus.showinstatusbar", true);
defaultPref("extensions.adblockplus.showintoolbar", false);
defaultPref("extensions.adblockplus.showsubscriptions", false);
//hide welcome message
defaultPref("browser.startup.homepage_override.mstone", "rv:1.9");
//don't notify about installed extensions
defaultPref("extensions.update.notifyUser", false);
//use classic skin
defaultPref("general.skins.selectedSkin", "Firefox3DefaultVista");Sorry for what maybe a dumb question - Where do you get this information from?
Also i assume that
[Strings]
U_SHELL_FOLDERS_PERSONAL="%USERPROFILE%\Mijn documenten"Is
"%USERPROFILE%\My Documents"
0 -
Try this and see how you go...
0 -
Can anyone help me with the following ideas I'm having with this...
First of all I am actually not at all familiar with programming, but I am actually very find of this "solution" you guys provide here with the VBS script.
Now I have a few questions regarding this...
- How can one actually implement this into a install source, install CD if you like?
In other words, can it be implemented during setup, and if yes how? - Most important one here: if someone uses nLite to customise his/her install source, you can choose to make such oeminfo as well...
Now is it possible for example to combine both outputs to one single oeminfo.ini file?
I know one can edit it manually, but would it be possible to to it automated/unattended?
Thank you for your thoughts & help in advance!
1. Yes you can implement/run it during installation - you can use one of two methods; a. run from the SVCPack.ini file or b. run from Runonce. See information here on how to do it... RunOnce Method
2. Nlite can create oeminfo.ini for you, however if you use this tool, the information that Nlite will write to oeminfo.ini will be overwritten. Having said that, this tool provides far more informative information than the basic stuff that Nlite adds. You could combine the two manually, or if you really wanted to - you could modify the script to append the additional information to oeminfo, however personally i think that would defeat the purpose of the tool.
Hope this answers your questions.
Enjoy!
0 - How can one actually implement this into a install source, install CD if you like?
-
Thanks gunsmokingman, after a little messing around I settled on a mix of both. I figure I might as well make an attempt to get information if there's a work-around (I'm anal like that):
'/
-> workaround for [url="http://support.microsoft.com/kb/894569"]http://support.microsoft.com/kb/894569[/url]
If objItem.L2CacheSize = 0 Then
Exit For
Else
Ts.WriteLine "Line" & C1 & "=" & S_3 & "L2 Cache Size " & vbTab & objItem.L2CacheSize
C1 = C1 +1
Ts.WriteLine "Line" & C1 & "=" & S_3 & "L2 Cache Speed " & vbTab & objItem.L2CacheSpeed & " MHZ"
C1 = C1 +1
Ts.WriteLine "Line" & C1 & "="
End If
Next
If objItem.L2CacheSize = 0 Then
'/----------------------------------------------------------------------->
Set colItems = ObjWMI.ExecQuery("SELECT Description, MaxCacheSize, CacheSpeed FROM Win32_CacheMemory", "WQL", WmiVar)
'/----------------------------------------------------------------------->
Dim Ln
Ln = 1
For Each objItem In colItems
Ts.WriteLine "Line" & C1 & "=" & S_3 & "L" & Ln & " " & objItem.Description & vbTab & objItem.MaxCacheSize
C1 = C1 +1
If Not IsNull(objItem.CacheSpeed) Then
Ts.WriteLine "Line" & C1 & "=" & S_3 & "L" & Ln & " Cache Speed " & vbTab & objItem.CacheSpeed
Else
Ts.WriteLine "Line" & C1 & "=" & S_3 & "L" & Ln & " Cache Speed " & vbTab & "No Information"
End If
C1 = C1 +1
Ln = Ln +1
Ts.WriteLine "Line" & C1 & "="
Next
End IfAnd on the same machine, this yields:
Line23= « CPU INFORMATION »
Line24= Manufacturer GenuineIntel
Line25= CPU Name Intel® Pentium® 4 CPU 2.80GHz
Line26= Description x86 Family 15 Model 4 Stepping 1
Line27= Processor Speed 2794 MHZ
Line28= L1 Cache Memory 16
Line29= L1 Cache Speed No Information
Line30=
Line30= L2 Cache Memory 1024
Line31= L2 Cache Speed No Information
Thanks for your message and input... i have read the MS KB and added changes to address this issue.
0 -
This is my example of creating two shortcuts "Expand" and "Make" for two CMD files in SendTo menu:
[version]
signature="$Windows NT{:content:}quot;
ClassGUID={00000000-0000-0000-0000-000000000000}
LayoutFile=layout.inf
[DefaultInstall]
CopyFiles = Files
UpdateInis = Appz.links
[DestinationDirs]
Files = 16422,tools\cmd
[Files]
cabarc.exe
expand.cmd
makecab.cmd
modifyPE.exe
[Appz.links]
setup.ini, progman.groups,, "group1=""%16393%"""
setup.ini, group1,, """CAB Expand"",""""""%16422%\tools\cmd\expand.cmd"""""",,,,""%16422%\tools\cmd"",""expand.cmd"""
setup.ini, group1,, """CAB Make"",""""""%16422%\tools\cmd\makecab.cmd"""""",,,,""%16422%\tools\cmd"",""makecab.cmd"""How do you have your make and expand cmd's set up m8? I would like to do something similar here...
0 -
Hi,
The link to the Simple-FFDeploy.rar isnt working anymore.
For some reason the normal FFDeploy.exe isnt working for me.
It just makes a zip of nearly 2GB before it makes the exe and took more than 3 hours and still wasent finished with making the sfx. I have a feeling that is not now it is meant to work.
So, I stumbled upon this thread, but the file link isnt working, so i cannot give it a go.
links updated - Hasn't been tested for a while (latest version of FF) - let me know if there are any issues and we will try to sort them out.
0 -
Scr1ptW1zard,
Thank you very much for your patience and help - it is greatly appreciated!
0 -
Hi,
How do I automatically change the theme to one that I install in addons, so that when I boot Windows for the first time, the theme is automatically set to one that I choose? And where can I find a complete theme pack in these forums or somewhere else?
in your winnt.sif file put the following code
[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\YourThemeName.theme"
DefaultStartPanelOff = Yes
DefaultThemesOff = NoPut your theme and supporting files in
$OEM$\$\Resources\Themes
and make sure you patch your uxtheme.dll with nLite or download it here UXTheme Multi-patcher 6.0
And as an alternative you can have a look at this thread Themes and Wallpapers
0 -
You could change a couple of things...
Remove the onclick routine from each radio button.
Add another button to perform the change.
Here is your code with the changes. I only commented out the getOption line that was writing the file, you can remove this subroutine and the associated calls to it if you like.
EXCELLENT!
That has sorted out my issues - thank you very much!
Have one other question for you that is indirectly related - i would ideally like to populate the fields with the current settings for each service and then if there is a change from the current setting - output this value (selected by the radio button) to the text file... can this be done easily of is it a really pain in the rear end?
PS i certainly prefer coding in JS as i have some basic knowledge here - whereas i am learning the VBS as i go... I didn't know i could use both and share var's etc - this is really cool and i am learning allot from this development... thankyou again for your help and input it is greatly appreaciated!
0 -
Thanks Scr1ptW1zard/GSM - both your comments helped to me sorted... now below is the code i am currently using and it is working as i want, however i believe there is more than likely a cleaner way of producing the file with a single click after making whatever selections i want for each item.
I would appreciate and suggestions to clean up the processing....
<head>
<title>ModifyServices Configurator</title>
<hta:application
ID="objHTA"
VERSION="1.0"
icon="simple.ico"
applicationName="ModifyServices Configurator"
border=dialog
borderStyle=normal
caption=yes
contextMenu=yes
innerBorder=yes
maximizeButton=yes
minimizeButton=yes
navigable=yes
scroll=yes
selection=yes
showInTaskBar=yes
sysMenu=yes
singleInstance=yes
windowState=normal
/>
<style>
html, form, body, span {
margin:0;
font-family:Arial, Helvetica, sans-serif;
border:0px;
background-color: ghostwhite;
}
#content, #DiscriptionArea, #dName, #Options, td {
font-size:12px;
padding:5px;
}
#header {
text-align:center;
color: #FFFFFF;
background-color: #3366FF;
font-size:18px;
font-weight: bold;
border:0px;
}
#content{
position:absolute;
left:0px;
width:100%;
height:440px;
/*overflow:auto;*/
}
#dName, #dDisc {
background-color: #EAEAFF;
font-weight: bold;
border-top:solid 1px black;
}
#dDisc {
border-top:solid 1px black;
font-weight: normal;
font-style: italic;
}
#options {
background-color: #FFFFCC;
}
* html,
* html body {
overflow-y: hidden!important;
height: 100%;
margin: 0;
padding: 0;
}
* html #content {
height: 440px;
overflow-y: scroll;
position: relative;
}
* html #header,
* html #header-bottom,
* html #header-middle
position: absolute;
* html #footer,
* html #footer-bottom,
* html #footer-middle {
position: absolute;
bottom:0px;
}
</style>
<script language="javascript">
</script>
<script language="vbscript">
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
Dim Act : Set Act = CreateObject("Wscript.Shell")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
Dim strComputer : strComputer = "."
Dim ObjWMI, oList, objItem, colItems, SysName, Lst
Set ObjWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
'/----------------------------------------------------------------------->
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", WmiVar)
'/----------------------------------------------------------------------->
For Each objItem In colItems
SysName = objItem.CSName
Next
Lst = ".\List of Current Services on " & SysName & ".lst"
Set oList = Fso.OpenTextFile(Lst, 2, True)
Sub GetServices
strheader = "<table width='100%' height='40px'><tr><td align='center' valign='middle' id='header'>" & _
objHTA.applicationName & " "& objHTA.Version & "</td></tr></table>"
strNAME = "<table border='0' style='border-collapse: collapse' " & _
"bordercolor='#111111' width='100%'>"
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Service")
For Each objItem In colItems
intNumber = intNumber +1
strNAME = strNAME & "<tr>"
strNAME = strNAME & "<td id='dName' nowrap>" & objItem.DisplayName & _
"</td><td rowspan='2' id='dDisc'>" & objItem.Description & _
"</td></tr><tr><td id='options'>" &_
"<input type='radio' name='" + objItem.Name + "' value='Disable' OnClick='getOption(this)'>Disable" &_
"<input type='radio' name='" + objItem.Name + "' value='Automatic' OnClick='getOption(this)'>Automatic" & _
"<input type='radio' name='" + objItem.Name + "' value='Manual' OnClick='getOption(this)'>Manual</td></tr>" & _
"<tr><td> </td></tr>"
NumTotalServices = intNumber
Next
header.InnerHTML = strheader
strName = strName & "</table>"
content.InnerHTML = strNAME
'MsgBox NumTotalServices
End Sub
Sub getOption(optobj)
oList.WriteLine optobj.name + ": " + optobj.value
End Sub
Sub GetDisc
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Service")
For Each objItem In colItems
strDISC = strDISC & objItem.Description & "<br><br>"
Next
DiscriptionArea.InnerHTML = strDISC
End Sub
Sub ClearDisc
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Service")
For Each objItem In colItems
strDISC = strDISC
Next
DiscriptionArea.InnerHTML = strDISC
End Sub
'/----------------------------------------------------------------------->
Sub Window_Onload
Set colItems = objWMI.ExecQuery("Select * From Win32_DesktopMonitor")
For Each objItem In colItems
intHorizontal = objItem.ScreenWidth
intVertical = objItem.ScreenHeight
Next
intLeft = (intHorizontal - 800) / 2
intTop = (intVertical - 600) / 2
window.resizeTo 800,600
window.moveTo intLeft, intTop
GetServices
window.focus()
'playSound
End Sub
Sub playSound
strSoundFile = ".\whats_going_on.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand = "sndrec32 /play /close " & Chr(34) & strSoundFile & Chr(34)
objShell.Run strCommand, 0, True
End Sub
</script>
</head>
<body>
<form name="form1">
<span id="header"></span>
<span id="text"><p>Selection what option you would like for each service.</p>
<table width="50%" border="0" align="center" cellpadding="5">
<tr>
<th width="50%" align="right"><input type="button" value="Create Configuration Files" onclick="Radios()"></th>
<th width="50%" align="left"><input type="reset" value="Reset/Clear All Values" ></th>
</tr>
</table>
</span>
<span id="content"></span>
<span id"footer"></span>
</form>
</body>0 -
Hi People,
Have tried a number of variations with no success... i think i am missing something here... and i am pulling my hair out!
Here is the code i am currently working with...
<head>
<title>test</title>
<hta:application
ID="objHTA"
VERSION="1.0"
applicationName="test"
/>
<style>
html, form, body, span {
margin:0;
font-family:Arial, Helvetica, sans-serif;
border:0px;
background-color: ghostwhite;
}
#content, #DiscriptionArea, #dName, #Options, td {
font-size:12px;
padding:5px;
}
#title {
text-align:center;
color: #FFFFFF;
background-color: #3366FF;
font-size:18px;
font-weight: bold;
border:0px;
}
#content{
position:absolute;
left:0px;
width:100%;
height:100%;
/*overflow:auto;*/
}
#dName, #dDisc {
background-color: #EAEAFF;
font-weight: bold;
border-top:solid 1px black;
}
#dDisc {
border-top:solid 1px black;
font-weight: normal;
font-style: italic;
}
#options {
background-color: #FFFFCC;
}
</style>
<script language="vbscript">
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
Dim Act : Set Act = CreateObject("Wscript.Shell")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
Dim strComputer : strComputer = "."
Dim ObjWMI, Ts, objItem, colItems, SysName, Lst
Set ObjWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
'/----------------------------------------------------------------------->
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", WmiVar)
'/----------------------------------------------------------------------->
Sub GetServices
strTITLE = "<table width='100%' height='40px'><tr><td align='center' valign='middle' id='title'>" & _
objHTA.applicationName & " "& objHTA.Version & "</td></tr></table>"
strNAME = "<table border='0' style='border-collapse: collapse' " & _
"bordercolor='#111111' width='100%'>"
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Service")
For Each objItem In colItems
intNumber = intNumber +1
strNAME = strNAME & "<tr>"
strNAME = strNAME & "<td id='dName' nowrap>" & objItem.DisplayName & _
"</td><td rowspan='2' id='dDisc'>" & objItem.Description & _
"</td></tr><tr><td id='options'>" &_
"<input type='radio' name='object1' value='Disable' OnClick='getOption(this)'>Disable" &_
"<input type='radio' name='object1' value='Automatic' OnClick='getOption(this)'>Automatic" & _
"<input type='radio' name='object1' value='Manual' OnClick='getOption(this)'>Manual</td></tr>" & _
"<tr><td> </td></tr>"
NumTotalServices = intNumber
Next
Title.InnerHTML = strTitle
strName = strName & "</table>"
content.InnerHTML = strNAME
'MsgBox NumTotalServices
End Sub
sub getOption(optobj)
msgbox optobj.name + ": " + optobj.value
end sub
Sub GetDisc
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Service")
For Each objItem In colItems
strDISC = strDISC & objItem.Description & "<br><br>"
Next
DiscriptionArea.InnerHTML = strDISC
End Sub
Sub ClearDisc
Set colItems = ObjWMI.ExecQuery("SELECT * FROM Win32_Service")
For Each objItem In colItems
strDISC = strDISC
Next
DiscriptionArea.InnerHTML = strDISC
End Sub
Sub Radios()
Const cMAX = 1
Dim arrCTF(3)
Dim intCTF
Dim strCTF
Dim arrDIC(3)
arrDIC(1) = "Automatic"
arrDIC(2) = "Disable"
arrDIC(3) = "Manual"
Dim intDIC
Set objDIC = CreateObject("Scripting.Dictionary")
For intDIC = 1 To UBound(arrDIC)
objDIC.Add arrDIC(intDIC), intDIC
Next
Dim iMAX : iMAX = 0
Dim i, o, s
For i = 1 To cMAX
For Each o In Eval("document.form1.object" & i)
If o.Checked = True Then
iMAX = iMAX + 1
intCTF = objDIC.Item(o.Value)
arrCTF(intCTF) = arrCTF(intCTF) & "object" & i & vbCrLf
End If
Next
Next
'*
If iMAX = cMAX Then
Set objFSO = CreateObject("Scripting.FileSystemObject")
For intDIC = 1 To UBound(arrDIC)
strCTF = arrDIC(intDIC) & ".txt"
Set objCTF = objFSO.CreateTextFile(strCTF,True)
objCTF.Write arrCTF(intDIC)
Set objCTF = Nothing
s = s & "<li>" & strCTF & " : " & Replace(arrCTF(intDIC),vbCrLf," ") & vbCrLf
Next
Else
Alert("Only " & iMAx & " of " & cMAX & " radio buttons checked!")
Exit Sub
End If
'*
document.write s
End Sub
'/----------------------------------------------------------------------->
Sub Window_Onload
Set colItems = objWMI.ExecQuery("Select * From Win32_DesktopMonitor")
For Each objItem In colItems
intHorizontal = objItem.ScreenWidth
intVertical = objItem.ScreenHeight
Next
intLeft = (intHorizontal - 800) / 2
intTop = (intVertical - 600) / 2
window.resizeTo 800,600
window.moveTo intLeft, intTop
GetServices
window.focus()
'playSound
End Sub
Sub playSound
strSoundFile = ".\whats_going_on.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand = "sndrec32 /play /close " & chr(34) & strSoundFile & chr(34)
objShell.Run strCommand, 0, True
End Sub
</script>
</head>
<body>
<form name="form1">
<div id="title"></div>
<span id="text"><p>Selection what option you would like for each service.</p>
<table width="50%" border="0" align="center" cellpadding="5">
<tr>
<th width="50%" align="right"><input type="button" value="Create Configuration Files" onclick="Radios()"></th>
<th width="50%" align="left"><input type="reset" value="Reset/Clear All Values" ></th>
</tr>
</table>
</span>
<span id="content"></span>
</form>
</body>0 -
I Change the form tag to a body tag, I added 2 function for each radio group
hope this is what you wanted.
<body>
<table border="1" width="300">
<tr>
<td>object 1</td>
</tr>
<tr>
<td>
<input type="radio" value="Disable" name="Rad1" OnClick='UserChoice1()'>
Disable
<input type="radio" value="Automatic" name="Rad1" OnClick='UserChoice1()'>
Automatic
<input type="radio" value="Manual" name="Rad1" OnClick='UserChoice1()'>
Manual
<script LANGUAGE="VBScript">
Function UserChoice1()
If Rad1(0).Checked Then
alert(Rad1(0).value)
ElseIf Rad1(1).Checked Then
alert(Rad1(1).value)
ElseIf Rad1(2).Checked Then
alert(Rad1(2).value)
End If
End Function
</SCRIPT>
</td>
</tr>
<tr>
<td>object 2</td>
</tr>
<tr>
<td>
<input type="radio" value="Disable" name="Rad2" OnClick='UserChoice2()'>
Disable
<input type="radio" value="Automatic" name="Rad2" OnClick='UserChoice2()'>
Automatic
<input type="radio" value="Manual" name="Rad2" OnClick='UserChoice2()'>
Manual
<script LANGUAGE="VBScript">
Function UserChoice2()
If Rad2(0).Checked Then
alert(Rad2(0).value)
ElseIf Rad2(1).Checked Then
alert(Rad2(1).value)
ElseIf Rad2(2).Checked Then
alert(Rad2(2).value)
End If
End Function
</SCRIPT>
</td>
</tr>
<tr>
</table>Works fine in html, but not working in HTA
0 -
Hi all,
Have been looking around the net but haven't been able to find anothing suitable...
Ok i am looking for some help/advise on a script that will allow me to extract the value of multiple radio button fields and take all those values and output them to a text file. to provide a better understanding here is the form layout below.
<form value="form1">
<table border="1" width="300">
<tr>
<td>object 1</td>
</tr>
<tr>
<td>
<input type="radio" value="object1" name="Disable">Disable
<input type="radio" value="object1" name="Automatic">Automatic
<input type="radio" value="object1" name="Manual">Manual
</td>
</tr>
<tr>
<td>object 2</td>
</tr>
<tr>
<td>
<input type="radio" value="object2" name="Disable">Disable
<input type="radio" value="object2" name="Automatic">Automatic
<input type="radio" value="object2" name="Manual">Manual
</td>
</tr>
<tr>
</table>Now the [object+number] are only there to show that layout - the objects will dynamically populated fields from WMI so every block (disable, automatic, manual) will be different. Now once we have captured the values - all the selected disabled values need to be output to a txt file called disabled, all the automatic values to txt called automatic and so on....
I hope i have explained my requirements suitably, however if you need more information, please let me know.
I would appreciate any help/advise you can offer as i am slowly teaching myself VBS and am still very, very new to this.
0 -
Hi There,
I have created a custom script and wrapped it in a 7-zip SFX for you. It's ready for you to test as is. When you want to add your own themes to it, simply open ChangeThemeXP_1.1.20080526.exe with 7-zip and remove the default test (msfn.org) theme in there and replace it with yours. Close the archive and you are ready to test.
Enjoy!
0 -
Hi all,
Well after a great learning curve and lots of research, trial and error, testing and hard work i am pleased to present you all with my flavoured update of Gunsmokingman's mkoem.
Features;
- New Updated runtime module - now using 7zip with Oleg Scherbakov's 7z SFX Modified Module.
- New Command-line options
- New Support for Windows 2000, XP, 2003, Vista and 2008.
- New OEMLogo included. (2 types - 2000/XP/2003 and Vista/2008)
- New Wireless Network Card now Supported
- New Support/Helpdesk hours entry
- New Support/Helpdesk phone number entry
- New Machine Serial number inclusion (If computer motherboard supports it)
- Updated Cleaner more accurate code with some checks and balances
- Updated Correct Machine type support.
- Updated Support for Multiple Sound/Multimedia Cards
- Updated Operating System version now includes Service Pack version
Q&A
Q. How do i change the OEMlogo.bmp files that are included to my files?A. The Installer is created with 7-zip - simply open the archive and replace the *.bmp files with your own. (xplogo.bmp & vistalogo.bmp) The correct file will be installed based on your operating system.Q. What is the correct image sizes for each oemlogo.bmp file?A. xplogo.bmp - 180x114 pixelsvistalogo.bmp - 120 x 120 pixelsQ. When I use /c:Your Company Name, the company name is not completely added to my OEM information - how do I fix this?A. Make sure that the Company Name is in "quotes". Same answer applies for /u:["Your Company Support URL"].Q. How do I stop the installer adding oemlogo.bmp file to my system?A. The Installer is created with 7-zip - simply open the archive and remove the *.bmp file.Well I think that about covers it, however if you have any questions or ideas/suggestions for further updates, please let me know, i certainly have had a lot of fun and enjoyment learning more about vbscript and the power of WMI.
0 - New Updated runtime module - now using 7zip with Oleg Scherbakov's 7z SFX Modified Module.
GUIDE: Download Everything Microsoft (MSDBuild v5.5)
in Unattended Windows 2000/XP/2003
Posted
No need to recompress it if you don't want to - setup will process svcpack.inf uncompressed.
Cheers!