Jump to content

Need help with 2 issues...


Recommended Posts

My RunOnceEx.cmd runs fine, with one exeption. My NAV Corp 9.0 does not install. It does show up in the list of programs to be installed andthe system seems to take enough time to fully install it. But after reboot NAV is not on system.

Here is a copy of my RunOnceEx.cmd.

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Symantec Antivirus Corporate 9" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\sav\Symantec.msi\ /passive /norestart" /f

REG ADD %KEY%\002 /VE /D "Symantec Virus Definition Update" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\sav\update.exe /q" /f

REG ADD %KEY%\004 /VE /D "winRAR 3.51" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\winrar\wrar351.exe /s" /f

REG ADD %KEY%\005 /VE /D "Ad-Adware SE Pro v1.03" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\adaware\aawsepersonal.exe /s" /f

REG ADD %KEY%\010 /VE /D "SpyBot Search & Destroy" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\spybot\spybotsd14.exe /silent" /f

REG ADD %KEY%\015 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Adobe7\Adobe7.msi /qn" /f

REG ADD %KEY%\025 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\install\tweaks.reg" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

All of the other programs in the list install and run great, just the NAV.

Second question.

Is there a way to turn off power management to the NIC in the registry?

Thanks.

Edited by sdax2
Link to comment
Share on other sites


Looks to me like you got an \ too many at the ned of the line

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\sav\Symantec.msi\ /passive /norestart" /f

try it with:

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\sav\Symantec.msi /passive /norestart" /f

and see if that works?

Link to comment
Share on other sites

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...