Jump to content

Auto-Installation and reboot

Recommended Posts


I would like to make a script to install a PowerBuilder automaticaly. The probleme is that during the installation, the system rfeboot (and the installation continue after the restart and actualy need the intervention). So i need a second sript to handle the second phase of the installation (after the restart). But when i put the script exe in Start/Program/stratup, or when I enter the path in HKLM\Software\Microsoft\Windows\CurrentVersion\Run\, it starts "too late" (the instalation runs juste after the login and before all the other programs ...)

If anyone has any idea ..



Link to post
Share on other sites


If the program is using HKLM\..\RunOnce, then the program will install while RunOnce will wait for it to finish. You may need your script to delete/replace that registry value added just before reboot and set your script to run the command as was originally set.


Link to post
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...