MSFN Forum: installing office 2003 with RunOnce - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

installing office 2003 with RunOnce Rate Topic: -----

#1 User is offline   wheeler459 

  • Group: Members
  • Posts: 2
  • Joined: 25-September 05

Posted 26 September 2005 - 05:46 AM

Hi,

I am new to doing this kind of stuff. I see all information on how to install Office2k3 with a batch command but I am using RunOnce. I installed all the files into the $OEM$ folder but I do not know what the entry is for the RunOnce. It is a Office2k3 Professional version.


#2 User is offline   Zxian 

  • Scroll up - see the Google bar?
  • Group: Super Moderator
  • Posts: 5,066
  • Joined: 30-September 04
  • OS:none specified
  • Country: Country Flag

Posted 26 September 2005 - 10:18 AM

There is no difference between installing via batch file or RunOnceEx. The command for installing both is the same.

In otherwords, if you have something like the following for your batch file:
ECHO Installing ProgramX
ECHO Please wait...
start /wait %Installs%\setup.exe /s

Then you would enter the following line in your RunOnceEx file:
REG ADD %KEY%\XXX /VE /D "ProgramX"
REG ADD %KEY%\XXX /V 1 /D "%Installs%\setup.exe /s" /f


In both batch files (you use a batch file to generate the RunOnceEx list), you would define the Installs variable (SET Installs=<path to install directory>). (XXX refers to the next free number in your RunOnceEx file)


Hope this helps!

#3 User is offline   wheeler459 

  • Group: Members
  • Posts: 2
  • Joined: 25-September 05

Posted 26 September 2005 - 11:05 AM

This helps a lot. Thank you.
I got about 80% of it understood. The only thing I dont get is the "installs variable". Is that the directory where the program setup.exe is located? Just a little clarification needed.

Thanks.

#4 User is offline   Zxian 

  • Scroll up - see the Google bar?
  • Group: Super Moderator
  • Posts: 5,066
  • Joined: 30-September 04
  • OS:none specified
  • Country: Country Flag

Posted 26 September 2005 - 12:22 PM

Yes... to give you a simple example from my RunOnceEx file...

@echo off
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET Installs=%%i:\Installers
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Programs Installing" /f
REG ADD %KEY%\000 /VE /D "Nero 6.6.0.16"
REG ADD %KEY%\000 /VE /D "%Installs%\Nero\Nero_Custom_Setup.exe" /f


On my CD, all of my program installers are located in a folder named "Installers". The above code (and folder layout) will mean that all the installers are run from the CD instead of being copied to the hard drive.

When Nero is set to be installed, RunOnceEx will look at the <CDROM>:\Installers\Nero directory for the setup executable.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy