MSFN Forum: Help with using reg keys (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

Help with using reg keys (runonce) Rate Topic: -----

#1 User is offline   NetNeo 

  • Group: Members
  • Posts: 2
  • Joined: 29-July 05

  Posted 29 July 2005 - 08:05 AM

Hi,
newbie on the forums, and have found this site to be of excellent assistance.
I am setting up my first server (properly anyway!) and have used RIS to automate the install process.

With a great deal of reading and digesting information new to me, this site has helped me get up and running very quickly, and I have a resonable understanding of whats going on.

BUT (theres always a but)

I am having problems autoinstalling Acrobat Reader using the runonce menthod in a registry key.

I know in a .cmd file you can use the "start /wait" function but it doesnt appear to work from me when using the runonce system instead. i am finding that Acrobat reader takes so long, the other applications are installing and then the machine rebooting before it is finshed. Is there a way to force windows to wait for the install to finish before carrying on to the next step?

Any he;lp would be gratefully recieved.

Thanks in advance....a noob


#2 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 29 July 2005 - 09:01 AM

Your using RunOnceEx?

That doesnt require start /wait command mate, as it will not run the next registry key untill the other has finished.

You can force it by downloading SLEEP.exe and using it with the command

Sleep.exe <seconds>

this is for command file usage to pause execution of the rest of the command file - but I see no reason why it shouldnt work there.

REG ADD %KEY%\015 /VE /D "Pausing execution of installers" /f
REG ADD %KEY%\015 /V 1 /D "path\to\sleep.exe 30" /f


Also, how are you installing acrobat reader? Shouldnt take that long. The long program to install on my machine is AVK antivirus but it does wait untill its finished before the rest.

#3 User is offline   NetNeo 

  • Group: Members
  • Posts: 2
  • Joined: 29-July 05

Posted 29 July 2005 - 09:16 AM

Thanks for the reply, I was talking out of my rear! :blushing:

I have got it working now, but the first few times I tried it the install kept insisting it was "downloading" and then "verifying" the file before the install actually statred. Meantime the other software started to install. Not quite sure what was causing it but it's working now so I will leave it well alone and move on to the next app.

many thanks for your help, its taking the time to answer queries that has made this forum so useful and worth while. (not many forums that can say that!) :thumbup

#4 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 29 July 2005 - 09:59 AM

Ah, glad you got it working, thats one thing I thought may have been the case as I know adobe to a pre-download installer and they also do the full installers just like DirectX setup.

Good luck with the rest of your unattended installation :)

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