Media Connect
#41
Posted 20 October 2004 - 04:09 PM
@Nilfred
For some reason your similar method for 'Media Player 10', does not work. When you run the mp10setup7.exe' it just starts with the extracting process, and then nothing... it just dissapears. I have retried the whole process several times but with no luck.
#42
Posted 20 October 2004 - 04:42 PM
Don't think the problem was btwn the keyboard and chair...unless Nilfred meant his keyboard and his chair...heh, heh.
#43
Posted 20 October 2004 - 05:22 PM
Frank_Sechrist, on Oct 21 2004, 04:12 AM, said:
Don't think the problem was btwn the keyboard and chair...unless Nilfred meant his keyboard and his chair...heh, heh.
But it works fine for me for 'wmc', it is only with mp10 that it does not work.
I wonder if it would be possible for someone to host working copies of 'mp10setup7.exe' and 'wmcsetup7.exe'. I am willing to upload my working copy of 'wmcsetup7.exe'. This will save a lot of people a lot of grief. Now that is a lot of lots.
#44
Posted 20 October 2004 - 06:58 PM
#45
Posted 21 October 2004 - 03:58 PM
ECHO RunProgram="StartX.exe /WAIT \"msiexec /i %MsiName% /qb\"">>config.txtand rebuild it all.
If hangs unattended may hang attended...
Also run the batch file with ADMINISTRATOR privileges, or the AIP will not succeed.
WMC is only fully installed after WMP first run. I don't know why. Be specially care if you run registry tweak that prevent WMP first run setup.
If any other problem may arise you are on your own.
@Frank_Sechrist
Quote
@Sanjay:
Edit your post, there are something contradictory
Quote
Quote
#46
Posted 21 October 2004 - 05:51 PM
I understand the default bahavior of an unattended install process. The point is, it didn't install. Others in this forum have had the same problem.
Regardless, GreenMachine's method worked perfectly for me, so my problem is solved.
#47
Posted 22 October 2004 - 02:50 AM
Nilfred, on Oct 22 2004, 03:28 AM, said:
Edit your post, there are something contradictory
Quote
Quote
Sorry about that, post now edited. It should have been 'mp10setup7.exe'.
#48
Posted 22 October 2004 - 05:44 AM
#49
Posted 22 October 2004 - 04:17 PM
i unpacked the created installer (nilfreds method) and made a new SFX with winrar, and it works,
here my winrar sfx comment:
;The comment below contains SFX script commands Setup=StartX.exe /WAIT "msiexec /i WinRMSrv.msi /qb" TempMode Silent=1 Overwrite=1 Title=Windows Media Connect
thx nilfred for your howto
#50
Posted 23 October 2004 - 08:15 AM
update: sorry, i didn't noticed that i had a CRC error. ill recompile this one to see if it manifests again.
latest update:
#51
Posted 23 October 2004 - 01:51 PM
Glowy, on Oct 22 2004, 08:44 AM, said:
Well if GM method works, I should try to remove StartX from the installer as it seem to be unnecessary... As I peek in GM script he call msiexec directly, which is known that may or may not work (M$ an also GM states it).
Test results will follow...
#52
Posted 23 October 2004 - 02:54 PM
here's part of what my svcpack.inf looks like:
[SetupHotfixesToRun] NETFXSP1.EXE mswjv.exe WMP10SILENT.EXE wmcsetup.exe
#53
Posted 23 October 2004 - 02:55 PM
@edmoncu...ive installed wmp10 (not run) and installed wmc right after and it works fine...you might wanna try GM's method and note what happens with that one in svcpack.inf
#55
Posted 23 October 2004 - 03:26 PM
#56
Posted 23 October 2004 - 05:40 PM
My .bat uses command extensions as GM's .cmd does, but GM declare it explicitly.
Maybe someone is wander with command extensions disabled by default?
BTW removing StartX is a big error. Please don't do it.
#57
Posted 23 October 2004 - 06:57 PM
For everyone else wanting to use Nilfreds method...edit the batch file and go step by step (note that when it says CALL :something, you need to go find :something, at the end of that, where it says EOF, it means to go back to where the CALL started and continue) and when you make the config.txt file, open it in notepad, and save as UTF-8...another thing you could do is to edit the batch like so
A note...make sure there is a space between ECHO and ; and that there is no space between the ; and !
SET TmpDir=%~dp0tmp SET BuildDir=%~dp0build\ %~d0 CD "%~p0" MD "%BuildDir%" COPY StartX.exe "%BuildDir%StartX.exe" SET Target=wmcsetup CALL :make_tmp SET MsiName= FOR %%I in (*.*) DO IF /I "%%~xI" == ".MSI" SET MsiName=%%I START /wait msiexec /a "%MsiName%" TARGETDIR="%BuildDir%" /QB CD.. RMDIR /S /Q tmp CD "%BuildDir%" SET RedistFile= FOR /R %%I in (wmfdist??.exe) DO SET RedistFile=%%I CD.. MOVE "%RedistFile%" . SET Target=wmfdist95 CALL :make_tmp CALL :make_7z RMDIR /S /Q tmp ECHO;!@Install@!UTF-8!>config.txt ECHO RunProgram="wmsetsdk.exe /DisallowSystemRestore /WMFDIST /Quiet /R:N">>config.txt ECHO;!@InstallEnd@!>>config.txt ECHO Open config.txt and save as using UTF-8 as the Encoding ECHO When finished, press any key pause CALL :make_exe MOVE %Target%7.exe "%RedistFile%" DEL %Target%.exe SET Target=wmcsetup CD "%BuildDir%" CALL :make_7z RMDIR /S /Q "%BuildDir%" ECHO;!@Install@!UTF-8!>config.txt ECHO RunProgram="StartX.exe /WAIT \"msiexec /i %MsiName% /qb\"">>config.txt ECHO;!@InstallEnd@!>>config.txt ECHO Open config.txt and save as using UTF-8 as the Encoding ECHO When finished, press any key pause CALL :make_exe GOTO:EOF :make_tmp MD "%TmpDir%" START /wait %Target%.exe /Q:A /C /T:"%TmpDir%" CD "%TmpDir%" GOTO:EOF :make_7z ..\7za.exe a "%~dp0%Target%.7z" -r -mx=7 -mfb=255 -md=48m * CD.. GOTO:EOF :make_exe IF NOT EXIST 7zSC.sfx upx.exe 7zS.sfx -o7zSC.sfx COPY /b 7zSC.sfx + config.txt + %Target%.7z %Target%7.exe DEL config.txt DEL %Target%.7z GOTO:EOF
#58
Posted 24 October 2004 - 02:36 AM
anyway, i noticed, the created archive is named wmcsetup7.exe... perhaps it has to do with the last lines of the code that's posted above (w/c i used):
... ... COPY /b 7zSC.sfx + config.txt + %Target%.7z %Target%7.exe ... ...
anyhow, i should've called wmcsetup7.exe rather than wmcsetup.exe on my svcpack.inf. anyhow, its working now. sorry, must've been lack of sleep on my part.
#59
Posted 25 October 2004 - 04:49 AM
I prefer ultraedit32 for format conversion that did no differences between input and output.
RFC 3629 - UTF-8, a transformation format of ISO 10646 Chapter 6. states that these 3 bytes are a signature for the file encoding. And I interpret it as OPTIONAL since these are striped or ignored by the interpreter.
BTW to mantain the 'unattendedness' of the .bat I suggest to make an empty UTF-8 encoded .txt file, call it 'empty.txt' and replace this line in make_exe subroutine:
COPY /b 7zSC.sfx + config.txt + %Target%.7z %Target%7.exewith:
COPY /b 7zSC.sfx + empty.txt + config.txt + %Target%.7z %Target%7.exe
Attached File(s)
-
empty.txt (3bytes)
Number of downloads: 36
#60
Posted 25 October 2004 - 12:02 PM
GreenMachine, on Oct 19 2004, 01:59 PM, said:
Nilfred, on Oct 19 2004, 07:47 AM, said:
Are you kidding? Then everyone and their mother would be trying it, and reporting (USER) errors!
In fact, there is no download for CABARC.EXE only, though it is included with many, many Microsoft kits (CABSDK, IEAK, WM Enterprise Deployment, etc.). I figure that those who do not have it probably are not worried about running this from SVCPACK.INF.
Which brings me to your second point. Of course I did not post it until I tested it, and if it would not work in SVCPACK.INF, it is not for me! The reason one sometimes has trouble with MSIEXEC.EXE is not because MSIEXEC.EXE is not "found", but because the *.MSI file must have either the full path specification, or be in the current, working directory. In this case, it is in the current directory, in order to avoid the need for hardcoded paths. Note that MSIEXEC.EXE in NOT included in the final package. CABARC.EXE, on the other hand, IS.
will this work with XPCREATE? also does this update still have to be installed after MP10?



Help


Back to top









