Synapse Posted November 19, 2004 Posted November 19, 2004 I've released my Unattended Audio Player...http://www.msfn.org/board/index.php?showtopic=32654
selyb Posted November 22, 2004 Posted November 22, 2004 let me get this right...you want your own custom install program to start another process (media player) but not wait on it and then kill that process when the install is done, right?start mypath\myapp /myargsuse this to start the process without having to kill it to continue the batchtaskkill /f myapp.exeuse this to stop the app when the batch is finished
Synapse Posted November 22, 2004 Posted November 22, 2004 he wants audio to play in the background while his unattended CD installs stuff. and trying the /start \pathtoplayer\player.exe /myargs doesn't work as it waits for the media player to close. even calling it from a seperate batch file i couldn't find a way to allow the player to play the Mp3 and still install in the background.
selyb Posted November 22, 2004 Posted November 22, 2004 freaky...i wonder why that doesnt work when it does work inside windows...a vbs should be able to do it...Option ExplicitDim oShellSet oShell = CreateObject("WScript.Shell")oShell.Run "myapp /myargs", 0, False0 is for hidden, 2 is for minimized but not hiddenFalse tells it not to wait for the process to finish before continuing the scriptthen again... i dont know if a vbs will run... probably not...
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