coucou Posted May 4, 2005 Share Posted May 4, 2005 Hi,This Inno Setup installer open the program when setup completes and i couldn't overcome it with my .cmd fileCLSECHO.ECHO Installing copytodvd3ECHO Please wait...start /wait F:\XPCD_SP2\Software\BlindWrite\copytodvd3_setup.exe /VERYSILENT /SP- /NORESTARTECHO.ECHO Killing copytodvd3 processtaskkill /F /IM vsostart.exeECHO.In fact, i get silent install success, the copydvd program is launched and my script is hang on... No prgress forward for killing the process. I must open a second command with the same script "taskkill /F /IM vsostart.exe" to kill the process.TNX for any helpcoucou Link to comment Share on other sites More sharing options...
[deXter] Posted May 4, 2005 Share Posted May 4, 2005 Perhaps you could make a second .cmd file and CALL it from the first one?And you could also try using PsKill instead. Link to comment Share on other sites More sharing options...
coucou Posted May 4, 2005 Author Share Posted May 4, 2005 TNX deXter, it doesn't help!As i wrote above, my .cmd file is hanging (stop) after the copydvd installed and opened... then, how could i CALL anything from it neither a second cmd or psKill.I have manually to click on "Start/Run/" then write the command "taskkill /F /IM vsostart.exe".Moreover, this .cmd (batch) file is used for test/check because i'm planning to install it Unattended with WPI. Regardscoucou Link to comment Share on other sites More sharing options...
muiz Posted April 16, 2006 Share Posted April 16, 2006 *BUMP* Link to comment Share on other sites More sharing options...
ajua Posted April 21, 2006 Share Posted April 21, 2006 i've made a cmd file and works great for me. i import settings and all. check it out.cmdow @ /HID@echo offstart %systemdrive%\Install\copytodvd\copytodvd.exe /VERYSILENT /SP-start /wait %systemdrive%\Install\copytodvd\sleep.exe 40start /wait taskkill /IM VsoStart.exestart /wait %systemdrive%\Install\copytodvd\shortcuts.exeREGEDIT /S %systemdrive%\Install\copytodvd\settingslocal.regREGEDIT /S %systemdrive%\Install\copytodvd\settingsuser.regexitall you have to do is to have all referenced files in the sema folder as the cmd file. for sleep.exe download someone on the internet. i cant remember wich one im using. all out there should work (as long as they use the syntax in the cmd file i wrote). Link to comment Share on other sites More sharing options...
muiz Posted April 22, 2006 Share Posted April 22, 2006 (edited) i've made a cmd file and works great for me. i import settings and all. check it out.cmdow @ /HID@echo offstart %systemdrive%\Install\copytodvd\copytodvd.exe /VERYSILENT /SP-start /wait %systemdrive%\Install\copytodvd\sleep.exe 40start /wait taskkill /IM VsoStart.exestart /wait %systemdrive%\Install\copytodvd\shortcuts.exeREGEDIT /S %systemdrive%\Install\copytodvd\settingslocal.regREGEDIT /S %systemdrive%\Install\copytodvd\settingsuser.regexitall you have to do is to have all referenced files in the sema folder as the cmd file. for sleep.exe download someone on the internet. i cant remember wich one im using. all out there should work (as long as they use the syntax in the cmd file i wrote).Cant you post yours?And wich reg files did you use? Edited April 22, 2006 by muiz Link to comment Share on other sites More sharing options...
ajua Posted April 22, 2006 Share Posted April 22, 2006 below is the sleep.exe i use, just extract it.to import the settings just export this two hives in the registry:1) [HKEY_LOCAL_MACHINE\SOFTWARE\VSO\CopyToCD]2) [HKEY_CURRENT_USER\Software\VSO\CopyToCD]thats all.sleep.rar Link to comment Share on other sites More sharing options...
muiz Posted April 22, 2006 Share Posted April 22, 2006 (edited) Thx 1 Question : Where do i put sleep.exe ? In the folder of copytodvd? Edited April 22, 2006 by muiz Link to comment Share on other sites More sharing options...
mc134 Posted April 23, 2006 Share Posted April 23, 2006 Place sleep.exe in the system32 folder Link to comment Share on other sites More sharing options...
muiz Posted April 23, 2006 Share Posted April 23, 2006 (edited) The reason why i asked was this :start /wait %systemdrive%\Install\copytodvd\sleep.exe 40 Edited April 23, 2006 by muiz Link to comment Share on other sites More sharing options...
ajua Posted April 24, 2006 Share Posted April 24, 2006 place it along with all the files inside copytodvd folder. can be placed anywhere you want. if you use it with other batch files copy it to system32 and just call it "sleep.exe XX" without the quotes. Link to comment Share on other sites More sharing options...
muiz Posted April 24, 2006 Share Posted April 24, 2006 place it along with all the files inside copytodvd folder. can be placed anywhere you want. if you use it with other batch files copy it to system32 and just call it "sleep.exe XX" without the quotes.Ok i tried your method , but id did not work.it still pops up Link to comment Share on other sites More sharing options...
ajua Posted April 26, 2006 Share Posted April 26, 2006 place it along with all the files inside copytodvd folder. can be placed anywhere you want. if you use it with other batch files copy it to system32 and just call it "sleep.exe XX" without the quotes.Ok i tried your method , but id did not work.it still pops up i use this method and it should close the popup after XX seconds in sleep.exe. that why i called sleep.exe before runnning the kill command. works for me right now. it installs, and then pop up comes out, sleep.exe waits xx seconds (i use 40 seconds) then the pop up closes. all unattended. Link to comment Share on other sites More sharing options...
muiz Posted April 26, 2006 Share Posted April 26, 2006 place it along with all the files inside copytodvd folder. can be placed anywhere you want. if you use it with other batch files copy it to system32 and just call it "sleep.exe XX" without the quotes.Ok i tried your method , but id did not work.it still pops up i use this method and it should close the popup after XX seconds in sleep.exe. that why i called sleep.exe before runnning the kill command. works for me right now. it installs, and then pop up comes out, sleep.exe waits xx seconds (i use 40 seconds) then the pop up closes. all unattended.What is the minimum 1 sec. ? Link to comment Share on other sites More sharing options...
ajua Posted April 26, 2006 Share Posted April 26, 2006 What is the minimum 1 sec. ?in the script i posted i used 40 seconds, wich is enough for me and my comp. maybe you should try a litlle longer, or did what i did: count seconds when installing to give you an idea of how much you will need sleep.exe to wait. 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