Jump to content
Sign in to follow this  
tricote

Auto-Installation and reboot

Recommended Posts

tricote

Hi,

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

Thanks

Tricote

Share this post


Link to post
Share on other sites
MHz

Welcome,

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.

:D

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.