03GrandAmGT Posted June 24, 2006 Share Posted June 24, 2006 (edited) Everyone,Well my UA install is working fine for everything but one program. Which apparently need to install after the login and desktop are fully loaded. I have tried Runonce and Guirunonce with same problem. But after everything is done loading up I can install it with no problem at all. So is there a way of getting this file to load and install after the requirements of login and desktop are FULLY loaded?? I have also tried with the user startup folder with the same results. I have searched the forums fo the better part of today looking for an answer but couldn't find one. TIAjd Edited June 24, 2006 by 03GrandAmGT Link to comment Share on other sites More sharing options...
tbs Posted June 24, 2006 Share Posted June 24, 2006 03GrandAmGT, what is the progam? Someone on here may well have a solution.Otherwise XPlode has a 'sleep' function - so you could run from (GUI)runonce and have xplode wait for 60sec or whatever and then install the program. WPI does the same sort of thing although I can't remember if it will sleep or not, I only used it a couple of times.It might be an idea to find out why the program needs the full desktop to install. Link to comment Share on other sites More sharing options...
T D Posted June 24, 2006 Share Posted June 24, 2006 Get sleep.exe from the downloads section of the unattended guide.In a batchsleep 30start program.exe /switchesexit Link to comment Share on other sites More sharing options...
gunsmokingman Posted June 24, 2006 Share Posted June 24, 2006 You can use the ping cmd instaed of sleep and you do not have to download nothingfor the ping cmd it built in.This will pause the script for approx 30 secondsping -n 30 127.0.0.1>nul Link to comment Share on other sites More sharing options...
Delprat Posted June 24, 2006 Share Posted June 24, 2006 Or you ca use the -w switch to specify an exact time in milliseconds. This line will wait 15 times (-n switch) 2000 ms (-w) = 30 sec :ping -n 15 -w 2000 127.0.0.1 > nul++ Link to comment Share on other sites More sharing options...
03GrandAmGT Posted June 24, 2006 Author Share Posted June 24, 2006 03GrandAmGT, what is the progam? Someone on here may well have a solution.Otherwise XPlode has a 'sleep' function - so you could run from (GUI)runonce and have xplode wait for 60sec or whatever and then install the program. WPI does the same sort of thing although I can't remember if it will sleep or not, I only used it a couple of times.It might be an idea to find out why the program needs the full desktop to install.Program is Meedio. It's a Home Theatre program like MCE but better.I would much rather do it from a batch file, as all other apps and installs are already in that format.The people of that software were bought out by Yahoo (CRAP).Get sleep.exe from the downloads section of the unattended guide.In a batchsleep 30start program.exe /switchesexitI'll try that, THANKS.You can use the ping cmd instaed of sleep and you do not have to download nothingfor the ping cmd it built in.This will pause the script for approx 30 secondsping -n 30 127.0.0.1>nulI saw your post on another thread about that and thought YA that's it. Tried it and no go.Or you ca use the -w switch to specify an exact time in milliseconds. This line will wait 15 times (-n switch) 2000 ms (-w) = 30 sec :ping -n 15 -w 2000 127.0.0.1 > nul++I'll try that to. Thanks for all the tips on this issue so far. I just really find it hard to believe that this program Meedio will not install until the full desktop is loaded or so it appears that way. Anyway Thanks Again for the tips and the ones I haven't tried I will give it a shot.Thanksjd Link to comment Share on other sites More sharing options...
mazin Posted June 25, 2006 Share Posted June 25, 2006 (edited) In any CMD file you use at T-13 (that's where I do it) or T-12, add the following line:REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v CMDs /d %SystemDrive%\Path\To\Meedio.cmd /fAssuming that Meedio.cmd is placed where Meedio.exe is, this is your Meedio.cmd:@echo offCD %SystemDrive% >NULecho Installing MeedioSTART /WAIT %SystemDrive%\Path\To\Meedio.exe /YourSwitchesHereREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v CMDsdel %SystemDrive%\Path\To\Meedio.exedel %SystemDrive%\Path\To\Meedio.cmdThe last two lines are optional. Edited June 25, 2006 by mazin Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now