MSFN Forum: Help with my RunOnceEx.cmd - 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

Help with my RunOnceEx.cmd some entries are skipped and problem with flash player 8 Rate Topic: -----

#1 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 18 May 2006 - 06:35 PM

I don't know what I would do without this board.

some entries in my runonce are skipped over,and I Haven't a clue why?

@echo off

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

REG ADD %KEY% /V TITLE /D " Win XP Applications Setup" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\network\map.cmd" /f

REG ADD %KEY%\002 /VE /D "McAfee Antivirus version 8.0" /f
REG ADD %KEY%\002 /V 1 /D "U:\mcafee\setup.exe /qn" /f

REG ADD %KEY%\003 /VE /D ".NET Framework 2.0 (.NET 1.1 is already installed)" /f
REG ADD %KEY%\003 /V 1 /D "U:\Framework20\dotnet20f.exe" /f

REG ADD %KEY%\004 /VE /D "Java 5.0.6 Runtime Environment" /f
REG ADD %KEY%\004 /V 1 /D "U:\java\jre506.exe" /f

REG ADD %KEY%\005 /VE /D "Shockwave Player" /f
REG ADD %KEY%\005 /V 1 /D "U:\Shockwave10\Shockwave10.exe" /f

REG ADD %KEY%\006 /VE /D "Flash Media Player 8.0 r24" /f
REG ADD %KEY%\006 /V 1 /D "U:\FlashPlayer\Flash824.exe" /f

REG ADD %KEY%\007 /VE /D "FireFox 1.5" /f
REG ADD %KEY%\007 /V 1 /D "U:\Firefox\Firefox1.5.0.2.exe -ms" /f

REG ADD %KEY%\008 /VE /D "Spybot Search and Destory 1.4" /f
REG ADD %KEY%\008 /V 1 /D "U:\Spybot\spybotsd14.exe /VERYSILENT /NOICONS" /f

REG ADD %KEY%\009 /VE /D "Adobe Acrobat Reader 7.0.7" /f
REG ADD %KEY%\009 /V 1 /D "U:\Acrobat\reader707.exe" /f

REG ADD %KEY%\010 /VE /D "Office 2003 SP2" /f
REG ADD %KEY%\010 /V 1 /D "U:\Office2003\SETUPPRO.exe TRANSFORMS="U:\Office2003\unattended_2.mst" /qb-" /f

REG ADD %KEY%\011 /VE /D "Novell 4.9 SP2" /f
REG ADD %KEY%\011 /V 1 /D "U:\Novell49\setupnc.bat" /f

REG ADD %KEY%\012 /VE /D "Adding Admin user,turning off the Security Center,Cleaning Up and Rebooting" /f
REG ADD %KEY%\012 /V 1 /D "U:\cleanup.cmd" /f

The office install is skipped
The Novell Client install is skipped.

why? are they skipped?


lastly during the install of Macromedia flash player 8 I get

"Could not register the library for C:\Windows\System32\Macromed\Flash\Flash8a.ocx"

thanks for all your help guys.


#2 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 18 May 2006 - 10:08 PM

anyone please?

#3 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 18 May 2006 - 11:37 PM

First off - you waited 4 hours before bumping your own thread. It's there and we'll see it even if it's not at the very very top of the forum. Bumping your own thread is generally frowned upon.

Secondly - why are all your entries pointing to U: drive? Shouldn't they be to a particular hard drive or CD drive? How do you know ahead of time that it'll be U?

When it comes to Office, I'm guessing that the quotes in your TRANSFORMS switch are what's stopping that. You can use a relative path (i.e. relative to the installer), so just put the filename of your transforms file and it should hopefully work better. Another look at the Unattended site might point you in the right direction as well.

When it comes to the Novell client installer - we can't really help you there since we don't know what's inside that .bat file. The more info you can give us the better we can help. :)

Have you made your own silent installer for Flash? I don't see any switches, so I'm guessing you made one yourself or found one. Have you tested it out to make sure it works?

#4 User is offline   Blub 

  • Ex-mad scientist
  • Pip
  • Group: Members
  • Posts: 59
  • Joined: 02-April 05

Posted 19 May 2006 - 12:04 AM

I assume drive "U" is a network drive mapped succesfully with "...network\map.cmd" and all paths are correct ???

If you actually want the quotes in "TRANSFORMS="U:\Office2003\unattended_2.mst"" to appear in RunOnceEx you'd need to enclose the quotes in quotes ... like this """. Altough I don't know why you want that.

Normal install of "Flash824.exe" works ok? Nothing that anyone can see with just this data. Maybe someone actually had same experience, I haven't so sorry. Try posting more details.

One more thing. Sometimes I found that if installs don't finish properly they can cause issues for the next installs. I have no idea why. But you could try enforcing (or changing) the install sequence. Also testing them individually to confirm they work may be a good idea.

#5 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 19 May 2006 - 05:33 PM

I fixed the office and Novell client installs it was human error and stupidity, and because I SUCK.

But if anyone could shead some light on the flash player install problem I would greatly appreciate it.

#6 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 19 May 2006 - 05:37 PM

You don't suck - we all make mistakes like that from time to time. :)

As for your Flash install problem - have you tested the installer in a regular Windows environment?

#7 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 19 May 2006 - 06:45 PM

yeah it doesn't work

I would like to install the flash player 8 and the flash player plugin for firefox.

This post has been edited by clivebuckwheat: 19 May 2006 - 06:47 PM


#8 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 19 May 2006 - 06:53 PM

Well... if the installer itself doesn't work then it won't work during RunOnceEx.

Did you make it yourself or find it somewhere else? Try making the installer yourself from the source. I'm sure that you can find the switches somewhere around here.

#9 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 19 May 2006 - 07:04 PM

i got it from ryan's vm site

#10 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 19 May 2006 - 09:58 PM

I solved my own problem.

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