Jump to content

Recommended Posts

Posted (edited)

I've been trying to create a way to resume an installation after reboot since commands are no longer run through RunOnceEx, and some installations force a reboot. I know other people have wanted to have the same functionality so I'm going to post the first release of what I've come up with so far. It's based off v5.3 with the latest bug fixes, so I'll call it v5.3.01r for now.

The solution that I've come up with is a combination of registry entries and a configuration file. When a WPI installation is started a configuration file of the programs that are going to be installed is written to %systemdrive%\rb_config.js. Once the installation has begun, the state of the installation is saved before each command is run. If a reboot occurs, the installation should restart via a registry entry in HKCU\Software\Microsoft\CurrentVerison\RunOnce, and the next command of the latest program installation is run.

I have not implemented an automatic logon yet, but that is something I would like to add in the future. I would also like to add some options to the options wizard, but as I said this is the first release.

I've tried to test it out as best as I can, but I'm hoping that those of you who find this helpful will help me out by reporting bugs. So without further adieu...

--- removed ---

Files that have been modified/added:

- WPI.hta (modified)

- Common\Installer.hta (modified)

- WPIScripts\globals.js (modified)

- WPIScripts\installer.js (modified)

- WPIScripts\installer_log.js (modified)

- WPIScripts\main.js (5.3 bug fix)

- WPIScripts\reboot.js (new file)

- WPIScripts\timer.js (5.3 bug fix)

Edited by mritter

Posted (edited)

cool i was just about to ask for something like this..

if i am correct will this help me in this situation..

i want to instal office 2003 using WPi after its installation i want the PC to restart and the continue with the next installation..

oh and what coomand can i use to restartthe PC after office 2003 installation

Edit

===

i dont think it will work if WPI is run from CD.. am running it from CD.. since files cannot be written on CD.. will it stil work.. ??

really wana have this working

Edited by Avneet
Posted

I am working with mritter to try and incorporate this in the 5.4 release. As of now we are testing it internally, but hopefully it will make it into the 5.4 release. I'm afraid you'll just have to wait until then to get the stable version.

To answer your questions though, it will allow you to restart after you install office 2003. You can add a "shutdown -r -f -t 00" command to your office 2003 setup.

It should work fine from a cd. It writes to the registry and the systemdrive (i.e. C:).

With all of this said, I strongly suggest waiting for the 5.4 release.

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