Jump to content

Problem with a Auto-Update Solution


Recommended Posts

Hi,

i created a very small update service for my Department for setting up Windows 2000 with SP4, Patches, IE6SP1 and Patches.

To explain: We use a tool for unattend Installation of Windows 2000 with the most used applications, but this Tool is not updated at this time because End of the year there is a XP-Rollout.

So I wrote a little solution for us. First I log in new installed Computer.

Then I start a Batch from the Novell-Server (yes we are using Novell)

This Batch install the SP4 for Windows 2000 - set an Auto-Login for Novell and then I write in Registry a RunOnce Reg-File for the second batch. After that PC restarts.

(Run-Once Entry looks like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]

"patche"="X:\\networkshare\\folder\\folder\\patch.cmd"

)

Then PC logs on (auto) - the Run-Once CMD-File is called from network and install the patches - after this I call with regedit /s X:\networkshare\folder\ie6sp1.reg

In this reg file there is also an runonce entry for setting up IE - but the following happens:

The Patches are installed - after that the batch call the regedit option and after this call the IE6 installs itself - but it should install after reeboot - not after installing the Patches...

I always thougt runonce is only working after reeboot....

So I ´ll try to call a second batch which only calls regedit/s X\networkshare\folder\IE6.reg - and did not execute it...

So you may have an solution for this?

I think the batch install the patches - and worked out the runonce entry and if you set a second runonce entry in this batch it will directly executed...

So may i have to set an runonce-entry for the looged in user not for the system?

So i set one runonce-entry for System - after that a runonce entry for user - after that annother ruonce for system...

Or may I have to set the .cmd-file with sleep.exe into slepping for a while...

I think I' ll try it with the option runonce for system and runonce for user...

May you have annother solution?...

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