Jump to content

Silent .NET Maker synthesized 20100118 - W2K/XP/2K3 x86


strel

Recommended Posts


First off I would like to thank strel and everyone else that have worked on this, but I would also like to give a special thanks to gora for pointing out some fixes that lead to me being able to fix NDP20SP1 & NDP20SP2 issues with "-v2-x86" packages not being processed.

NDP20SP1 files that had issues fixed:

none, but implemented the fix for this also just to make sure.

NDP20SP2 files that had issues fixed:

NDP20SP2-KBz2836941-v2-x86.exe

NDP20SP2-KBz2844285-v2-x86.exe

* z is a fix for processing in the right order.

2 strel
Problem with NDP35SP1-KB976126-v2-x86.exe fixed code change on this:

...
IF EXIST NDP35SP1*.exe FOR /F %%A IN ('DIR /-B/ON NDP35SP1-KB*-x86.exe') DO FOR /F "TOKENS=3 DELIMS=Bb-" %%I IN ("%%A") DO (
IF /I "%%I"=="963707" IF /I NOT "%DNF35FFCLICKONCEEXT%"=="YES" SET SKIPHFX=YES
IF /I NOT "!SKIPHFX!"=="YES" (
7za e -o"!TMPDIR!\HFX" -y %%A *.msp >NUL
IF EXIST "!TMPDIR!\HFX\NDP35SP1-KB960043*.msp" (
ECHO %%A process delayed.
IF NOT EXIST "!TMPDIR!\DELAYEDHFXS" MD "!TMPDIR!\DELAYEDHFXS"
MOVE "!TMPDIR!\HFX\*.msp" "!TMPDIR!\DELAYEDHFXS" >NUL
) ELSE (
ECHO Processing %%A...
...

2 strel

This is not correct:

IF /I "%TARGETOS%"=="XP" IF EXIST "!TMPDIR!\XP-KB971276-V3\UPDATE" (
COPY /Y "!TMPDIR!\2K3-KB971276-V2\SP2QFE\*.*" "!TMPDIR!\XP-KB971276-V3\SP3QFE" >NUL
FOR %%I IN (spuninst.exe,spmsg.dll,spupdsvc.exe,update\spcustom.dll,update\update.exe,update\updspapi.dll) DO COPY /Y "!TMPDIR!\2K3-KB971276-V2\%%I" "!TMPDIR!\XP-KB971276-V3\%%I" >NUL
XCOPY /E/Q/Y "!TMPDIR!\XP-KB971276-V3\*.*" "!DNF30DIR!\DNF30\XPS" >NUL
) ELSE XCOPY /E/Q/Y "!TMPDIR!\2K3-KB971276-V2\*.*" "!DNF30DIR!\DNF30\XPS" >NUL


this is correct:
IF /I "%TARGETOS%"=="XP" (
IF EXIST "!TMPDIR!\XP-KB971276-V3\UPDATE" (
COPY /Y "!TMPDIR!\2K3-KB971276-V2\SP2QFE\*.*" "!TMPDIR!\XP-KB971276-V3\SP3QFE" >NUL
FOR %%I IN (spuninst.exe,spmsg.dll,spupdsvc.exe,update\spcustom.dll,update\update.exe,update\updspapi.dll) DO COPY /Y "!TMPDIR!\2K3-KB971276-V2\%%I" "!TMPDIR!\XP-KB971276-V3\%%I" >NUL
XCOPY /E/Q/Y "!TMPDIR!\XP-KB971276-V3\*.*" "!DNF30DIR!\DNF30\XPS" >NUL
)
) ELSE XCOPY /E/Q/Y "!TMPDIR!\2K3-KB971276-V2\*.*" "!DNF30DIR!\DNF30\XPS" >NUL

2 strel
Small optimisation of creation of a config

:EXEMAKER
::SETLOCAL DISABLEDELAYEDEXPANSION
IF "%FFCLICKONCEINPROCESS%"=="YES" SET ffc= [-noffclickonce]
IF "%FFXBAPINPROCESS%"=="YES" SET ffx= [-noffxbap]
(ECHO ;^^^!@Install@^^^!UTF-8^^^!
ECHO HelpText="%%%%M [-gm1 | -gm2] [-quiet | -passive]%ffc%%ffx%
ECHO.
ECHO -gm1 ^| -gm2 : Show ^| hide unzip progress bar. Should be the first if used.
ECHO -quiet^|-passive : Show ^| hide install progress bars.
IF "%FFXBAPINPROCESS%"=="YES" ECHO -noffxbap : Avoid to install Windows Presentation Foundation mozilla plugin ^(XBAP^).
IF "%FFCLICKONCEINPROCESS%"=="YES" ECHO -noffclickonce : Avoid to install .NET Assistant 1.0 mozilla extension ^(ClickOnce^).
ECHO -? , -h : This help.
ECHO.
ECHO Switchless behavior for this file is %VERBOSITY% for both unzip and install.
ECHO Created with Silent .NET Maker synthesized 20100118."
ECHO SetEnvironment="FILENAME=%%%%M"
ECHO RunProgram="hidcon:%TARGETOS%%NAME%.CMD"
ECHO Title="%TARGETOS%%NAME%"
ECHO ExtractTitle="%TARGETOS%%NAME%"
ECHO ErrorTitle="%TARGETOS%%NAME%.exe"
ECHO ExtractDialogText="Extracting..."
ECHO GUIFlags="8+32"
IF /I "%VERBOSITY%"=="passive" (ECHO GUIMode="1") ELSE ECHO GUIMode="2"
ECHO ;^^^!@InstallEnd@^^^!)>TMP\config.txt
::SETLOCAL ENABLEDELAYEDEXPANSION

2 strel

1 There is no pair bracket:

:CHANGEMEMPARAM
IF /I "%MEMPARAM%"=="-mx=9 -mfb=273 -md=64m" (SET MEMPARAM=-mx=9 -mfb=255 -md=48m
) ELSE IF /I "%MEMPARAM%"=="-mx=9 -mfb=255 -md=48m" (SET MEMPARAM=-mx=7
) ELSE IF /I "%MEMPARAM%"=="-mx=7" (SET MEMPARAM=-mx=0
) ELSE IF /I "%MEMPARAM%"=="-mx=0" SET MEMPARAM=-mx=9 -mfb=273 -md=64m
GOTO :EOF


2 Lines do not work? Corresponding sections in PROCESSDATA.TXT are empty!
DIR /-C/ON|FINDSTR /R "../.*">>PROCESSDATA.TXT
DIR /-C/ON TMP|FINDSTR /R "../.*">>OUT%OUTCNT%\PROCESSDATA.TXT
3 Line in Win 7 gives out in a console window: "Moved files: 1".
MOVE /Y PROCESSDATA.TXT OUT%OUTCNT%
It is better to block a message conclusion
MOVE /Y PROCESSDATA.TXT OUT%OUTCNT%>NUL
4 That means the switch -ma=2 in the archiving command?

7za a TMP\TEMP.7z -r -ma=2 ...

In the description there are only two values at it the switch 0 and 1. What is 2?

The error occurs at unpacking of a language package dotnetfx35langpack_x86ru.exe.

Problem fixed.
Change string:START /WAIT %%I /Q /X:"!TMPDIR!\!DNF35LNGSTR!LNGEXT"to string:7za x -y -o"!TMPDIR!\!DNF35LNGSTR!LNGEXT" %%I>NUL

Hello,

I would first like to thank the developers of this great tool. I've used SNM in the past, and I'm just coming back to it to build a new XP install disk.

My trouble is that after install Microsoft Update wants to install KB974417. I'm creating the disk using the latest HFSLIP (1.7.10 beta D), and I'm using SNMsynth 20100118 to build an all-in-one passive installer that gets put in the GUIRUNONCE folder in HFSLIP. SNMsynth builds without errors, and the installer works without any errors that I can see.

I've checked the files 974417 updates: mscordacwks.dll, mscorlib.dll and mscorwks.dll: they are supposed to be version 2.0.50727.3603 and the installed system has this version.

Where should I look to find the cause of this?

By the way, I made a couple of small changes to _SNMsynth.cmd. It would not list the work or tmp directories in PROCESSDATA.TXT because I use the '-' as a date separator instead of '/'. For example:

ECHO>PROCESSDATA.TXT --- WORK FOLDER CONTENT:REM fix by ClarkREM DIR /-C/ON|FINDSTR /R "../.*">>PROCESSDATA.TXTDIR /-C/ON|FINDSTR /R /C:"^[^ ]">>PROCESSDATA.TXT

Thanks in advance,
Clark

Lets get sharing...

Here is my current unofficial version of 20131113_SNMsynth.zip

If you have any other fixes please share them, so we can get this very fine tool updated.

The Large size is due to adding "_IExpress tutorial.pdf" from this thread.

Link to comment
Share on other sites

The way I understand Win7 x86/x64, the only frameworks that are appropriate to add are either 4.0 or 4.5, since 4.5 completely replaces 4.0 the same way that 3.5 replaced 3.0. All other frameworks are built-in to Win7 with any updates distributed through MU/WU. I didn't think that updates for <4.0 can be added using this type of tool any more, or have I misunderstood something?

Cheers and Regards

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...

thnx for this add-on, trully i dont get it :D

i just want to put dotnet to my winXP instalation

i put all dotnet file (dotnet1-dotnet4) in synth folder, than i hit instalation and get error

tumblr_n8r5zhiwjl1tvflfco1_1280.jpg

 

any1 can help me?!

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

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

Create an account

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

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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