andrewpayne Posted October 13, 2004 Posted October 13, 2004 Has anyone tried silently installing Windows Media Connect?/Q is for silent - but it halts when it detects System Restore is disabled. I have tried the WMP10 /DisallowSystemRestore switch as a custom command (/C:) to no avail.Anyone?
Frank_Sechrist Posted October 13, 2004 Posted October 13, 2004 There's a thread in the Unattended Windows section that I started. I have the exact same problem.So far, no one seems to know of a solution.
erik_demon Posted October 14, 2004 Posted October 14, 2004 Use /Q:A /R:NThis one works for me.Be sure to install WMP10 before you install this programEDIT:Don't install this program in your svcpack.inf, that won't work.I installed it with my RunOnceEx.cmdREG ADD %KEY%\010 /VE /D "Windows-Updates" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Framework_upgrade\NDP1.1sp1-KB867460-X86.exe /Q" /fREG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\Applications\Framework_NL\langpack.msi /qb" /fREG ADD %KEY%\010 /V 3 /D "%systemdrive%\install\Applications\High-mat\HMTCDWizard.msi /qb" /fREG ADD %KEY%\010 /V 4 /D "%systemdrive%\install\applications\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\010 /V 5 /D "%systemdrive%\install\applications\WMP10\wmcsetup.exe /Q:A /R:N" /f
andrewpayne Posted October 15, 2004 Author Posted October 15, 2004 Great thanks! Tested this morning and it works a treat! EDIT - My System Restore is disabled AFTER the first reboot and RunOnceEx is run. I've posted how to later in this topic.
Frank_Sechrist Posted October 15, 2004 Posted October 15, 2004 It sure doesn't work for me. I'm running it from RunOnceEx.cmd, but turning system restore off first from cmdlines.txt via registry tweaks.If system restore is turned off, wmconnect generates the System Restore warning message.There's got to be a switch to stop it, but I'm not smart enough to figure it out.
leungda Posted October 16, 2004 Posted October 16, 2004 I have the following but the Media Connect didn't installREG ADD %KEY%\021 /VE /D "Windows Media Player v10" /fREG ADD %KEY%\021 /V 1 /D "%systemdrive%\install\MP10Setup.exe /Q:A /R:N /C:\"setup_wm.exe /DisallowSystemRestore /Q:A /R:N\"" /fREG ADD %KEY%\021 /V 2 /D "%systemdrive%\install\wmcsetup.exe /Q:A /R:N" /f
andrewpayne Posted October 16, 2004 Author Posted October 16, 2004 I have disabled the System Restore service at the end of RUNONCEX.CMD by adding REGEDIT /S DISREST.REG (below) to CLEANUP.CMDWindows Registry Editor Version 5.00 ;----- Disable System Restore;----- Value: (0 = disabled, 1 = enabled);-----[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]"DisableSR"=dword:00000001This reg file is saved alongside CLEANUP.CMD in the root of the INSTALL directory.cmdow @ /HIDREGEDIT /S %systemdrive%\install\disrest.regshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteRD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\EXITIt is then one of the last things to be applied before the auto shutdown after the apps (including WMP10 and Media Connect) are installed and the shell is loading.I hope this makes sense! I have tested this and it works for me. BTW I do not use NLITE - just the methods described in MDFN's Unattended Guide using RUNONCEX.CMDEDIT - Note that the full path MUST be included for the successful import of the registry file
Sanjay Posted October 16, 2004 Posted October 16, 2004 .PLEASE IGNORE THIS POST. IT SEEMS THE SWITCHES I MENTIONED EARLIER, DO NOT WORK.SORRY FOR THE INCONVENIENCE.
andrewpayne Posted October 16, 2004 Author Posted October 16, 2004 I am going to keep to my method (above) just in case any future MS hotfixes/patches insist on the System Restore service, as it simply disables the System Restore after all the apps/hotfixes and patches have loaded from RunOnceEx.cmd
argon007 Posted October 16, 2004 Posted October 16, 2004 It does not work..oh man... can you help me again?
CoffeeFiend Posted October 16, 2004 Posted October 16, 2004 I can tell you that, no switches or msi editing is gonna fix this. Sorry. The nag isn't even coming from the installer. The only workaround I can imagine for now is re-enabling system restore temporarily.
big poppa pump Posted October 16, 2004 Posted October 16, 2004 I can tell you that, no switches or msi editing is gonna fix this. Sorry. The nag isn't even coming from the installer. The only workaround I can imagine for now is re-enabling system restore temporarily.Yes I agree with you. This program installs 2 services that require systemrestore to be enabled and you are always going to get that nag if systemrestore is disabled. The only option is to use a batch file to enable systemrestore temporarily, then install the program and then disable systemrestore again.
andrewpayne Posted October 17, 2004 Author Posted October 17, 2004 Don't you guys read the previous posts? My method keeps the System Restore on until the last possible moment - ie just before Shutdown after RunOnceEx.cmd completes.
CoffeeFiend Posted October 17, 2004 Posted October 17, 2004 Don't you guys read the previous posts? My method keeps the System Restore on until the last possible moment - ie just before Shutdown after RunOnceEx.cmd completes.Yes, I know, that's why I mentionned that. (mind you, I don't really want it to be enabled - and the system creating some system restore information, wasting some space for nothing.)@big poppa pump: No. They don't need it. They only warn. I've already posted all the information about this one in this thread: http://www.msfn.org/board/index.php?showtopic=30169 (at the end). If you could repackage it all together. You wouldn't need system restore at all...Other than that, one could use something such as AutoIt to press the button on the system restore nag too.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now