• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
pcdreams

OFFICE 03 not installing

3 posts in this topic

OK here is my RunOnceEx.cmd

everything seems to be working ok up till I get to office. For some reason it is reversing the order of commands run here.

IE It is running cleanup before office install.

So I know why office isn't installing. But I don't know why cleanup is running first.

Advice?

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "All Your Base Are belong to us" /f

REG ADD %KEY%\005 /VE /D "Installing Driver Packs" /f
REG ADD %KEY%\005 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

REG ADD %KEY%\007 /VE /D "Removing Accessibility Tools" /f
REG ADD %KEY%\007 /V 1 /D "%SystemDrive%\install\RmAT.cmd" /f

REG ADD %KEY%\009 /VE /D "Removing Messenger" /f
REG ADD %KEY%\009 /V 1 /D "%SystemDrive%\install\RmMesgr.cmd" /f

REG ADD %KEY%\010 /VE /D "Installing Firefox 2" /f
REG ADD %KEY%\010 /V 1 /D "%SystemDrive%\install\firefox2.exe -ms" /f

REG ADD %KEY%\015 /VE /D "Installing Thunderbird 2" /f
REG ADD %KEY%\015 /V 1 /D "%SystemDrive%\install\tbird2.exe -ms" /f

REG ADD %KEY%\020 /VE /D "Installing flash" /f
REG ADD %KEY%\020 /V 1 /D "%SystemDrive%\install\flash.exe /S" /f

REG ADD %KEY%\025 /VE /D "Installing Shockwave" /f
REG ADD %KEY%\025 /V 1 /D "%SystemDrive%\install\shockwave.exe /S" /f

REG ADD %KEY%\030 /VE /D "Installing Adobe Acrobat Reader 8" /f
REG ADD %KEY%\030 /V 1 /D "%SystemDrive%\install\acrobat.exe /sAll" /f

REG ADD %KEY%\035 /VE /D "Installing Java " /f
REG ADD %KEY%\035 /V 1 /D "%SystemDrive%\install\java.exe /quiet" /f

REG ADD %KEY%\040 /VE /D "Installing Audio/Video Codecs" /f
REG ADD %KEY%\040 /V 1 /D "%SystemDrive%\install\codecs.exe" /f

REG ADD %KEY%\045 /VE /D "Installing Perl" /f
REG ADD %KEY%\045 /V 1 /D "%SystemDrive%\install\perl.msi /quiet" /f

REG ADD %KEY%\046 /VE /D "Adding Perl to System Path" /f
REG ADD %KEY%\046 /V 1 /D "setx path \"%PATH%;%Systemdrive%\perl\bin \" -m " /f

REG ADD %KEY%\050 /VE /D "Installing Apache 2.2 Web Server" /f
REG ADD %KEY%\050 /V 1 /D "%SystemDrive%\install\apache.msi /quiet" /f

REG ADD %KEY%\060 /VE /D "Installing Avast Anti-Virus" /f
REG ADD %KEY%\060 /V 1 /D "%SystemDrive%\install\avastav.exe /silent" /f

REG ADD %KEY%\065 /VE /D "Installing Zone Alarm Firewall" /f
REG ADD %KEY%\065 /V 1 /D "%SystemDrive%\install\zonealarm.exe /s /noreboot /i" /f

REG ADD %KEY%\66 /VE /D "Installing Office 2003" /f
REG ADD %KEY%\66 /V 1 /D "%Systemdrive%\install\office03\setup.exe Transforms=unattended.MST /qb-" /f

REG ADD %KEY%\070 /VE /D "Running Cleanup" /f
REG ADD %KEY%\070 /V 1 /D "%SystemDrive%\install\cleanup.cmd" /f

EXIT

0

Share this post


Link to post
Share on other sites
OK here is my RunOnceEx.cmd

everything seems to be working ok up till I get to office. For some reason it is reversing the order of commands run here.

IE It is running cleanup before office install.

So I know why office isn't installing. But I don't know why cleanup is running first.

Advice?

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "All Your Base Are belong to us" /f

REG ADD %KEY%\005 /VE /D "Installing Driver Packs" /f
REG ADD %KEY%\005 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

REG ADD %KEY%\007 /VE /D "Removing Accessibility Tools" /f
REG ADD %KEY%\007 /V 1 /D "%SystemDrive%\install\RmAT.cmd" /f

REG ADD %KEY%\009 /VE /D "Removing Messenger" /f
REG ADD %KEY%\009 /V 1 /D "%SystemDrive%\install\RmMesgr.cmd" /f

REG ADD %KEY%\010 /VE /D "Installing Firefox 2" /f
REG ADD %KEY%\010 /V 1 /D "%SystemDrive%\install\firefox2.exe -ms" /f

REG ADD %KEY%\015 /VE /D "Installing Thunderbird 2" /f
REG ADD %KEY%\015 /V 1 /D "%SystemDrive%\install\tbird2.exe -ms" /f

REG ADD %KEY%\020 /VE /D "Installing flash" /f
REG ADD %KEY%\020 /V 1 /D "%SystemDrive%\install\flash.exe /S" /f

REG ADD %KEY%\025 /VE /D "Installing Shockwave" /f
REG ADD %KEY%\025 /V 1 /D "%SystemDrive%\install\shockwave.exe /S" /f

REG ADD %KEY%\030 /VE /D "Installing Adobe Acrobat Reader 8" /f
REG ADD %KEY%\030 /V 1 /D "%SystemDrive%\install\acrobat.exe /sAll" /f

REG ADD %KEY%\035 /VE /D "Installing Java " /f
REG ADD %KEY%\035 /V 1 /D "%SystemDrive%\install\java.exe /quiet" /f

REG ADD %KEY%\040 /VE /D "Installing Audio/Video Codecs" /f
REG ADD %KEY%\040 /V 1 /D "%SystemDrive%\install\codecs.exe" /f

REG ADD %KEY%\045 /VE /D "Installing Perl" /f
REG ADD %KEY%\045 /V 1 /D "%SystemDrive%\install\perl.msi /quiet" /f

REG ADD %KEY%\046 /VE /D "Adding Perl to System Path" /f
REG ADD %KEY%\046 /V 1 /D "setx path \"%PATH%;%Systemdrive%\perl\bin \" -m " /f

REG ADD %KEY%\050 /VE /D "Installing Apache 2.2 Web Server" /f
REG ADD %KEY%\050 /V 1 /D "%SystemDrive%\install\apache.msi /quiet" /f

REG ADD %KEY%\060 /VE /D "Installing Avast Anti-Virus" /f
REG ADD %KEY%\060 /V 1 /D "%SystemDrive%\install\avastav.exe /silent" /f

REG ADD %KEY%\065 /VE /D "Installing Zone Alarm Firewall" /f
REG ADD %KEY%\065 /V 1 /D "%SystemDrive%\install\zonealarm.exe /s /noreboot /i" /f

REG ADD %KEY%\66 /VE /D "Installing Office 2003" /f
REG ADD %KEY%\66 /V 1 /D "%Systemdrive%\install\office03\setup.exe Transforms=unattended.MST /qb-" /f

REG ADD %KEY%\070 /VE /D "Running Cleanup" /f
REG ADD %KEY%\070 /V 1 /D "%SystemDrive%\install\cleanup.cmd" /f

EXIT

It's probably because of this line

REG ADD %KEY%\66

try changing it to

REG ADD %KEY%\066

0

Share this post


Link to post
Share on other sites

DOH!! Thanks.. I 'll give it a try

EXIT

It's probably because of this line

REG ADD %KEY%\66

try changing it to

REG ADD %KEY%\066

0

Share this post


Link to post
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.