gora Posted October 28, 2014 Posted October 28, 2014 xcopy doens't work Change and see that writes to the console RunProgram="cmd /k xcopy \"%Var3%\" \"%ProgramFiles%\\Oracle\\VirtualBox\" /i /e /y & sleep 5"
Alpha_95 Posted October 28, 2014 Posted October 28, 2014 (edited) no error.... xcopy is not executed.... I run a command prompt and I run: VirtualBox -ai1If I double click on the executable, xcopy appears in the process but nothing is happening ... .vbox-extpack is not copiedI do not know what to do ... Edited October 28, 2014 by Alpha_95
gora Posted October 28, 2014 Posted October 28, 2014 Your config has an error and switches -ai and -ai1 will not work. But it is not important now. Write a batch file with a single command xCopy, put it in the unpacked archive and have for command xCopy. This is not a module, then you need to know the batch file.
nova-s Posted October 28, 2014 Posted October 28, 2014 (edited) Alpha_95 i guess you ran into a similar 32/64bit problem like me some posts above if you check e.g. %Var1% on a 64bit system you see it expands toC:\Program Files (x86)\Oracle\VirtualBox\VBoxManage.exe solution HERE Edited October 28, 2014 by nova-s
Alpha_95 Posted October 28, 2014 Posted October 28, 2014 Alpha_95 i guess you ran into a similar 32/64bit problem like me some posts above if you check e.g. %Var1% on a 64bit system you see it expands toC:\Program Files (x86)\Oracle\VirtualBox\VBoxManage.exe solution HERE hummm, W7 X64: C:\Users\Admin>cd %ProgramFiles%C:\Program Files>
nova-s Posted October 28, 2014 Posted October 28, 2014 (edited) C:\Users\Admin>cd %ProgramFiles%C:\Program Files> i was talking about: ;!@Install@!UTF-8!SetEnvironment="Var1=%ProgramFiles%\\Oracle\\VirtualBox\\VBoxManage.exe"RunProgram="cmd /c echo %Var1% & pause";!@InstallEnd@! EDIT:xcopy works but you will find "VirtualBox_Extension_Pack.vbox-extpack" on 64bit system inC:\Program Files (x86)\Oracle\VirtualBox\just check it... Edited October 28, 2014 by nova-s
Alpha_95 Posted October 28, 2014 Posted October 28, 2014 (edited) Yes exactly, thx, i have scripted a batch file for this. edit:dat fck....;!@Install@!UTF-8!Title="Oracle VM VirtualBox 4.3.18-r96516 x86/x64"BeginPrompt="Voulez-vous installer Oracle VM VirtualBox 4.3.18-r96516."ExtractTitle="Oracle VM VirtualBox 4.3.18-r96516"ExtractDialogText="Veuillez patienter pendant l'extraction..."FinishMessage="Oracle VM VirtualBox 4.3.18-r96516 a ete installe"GUIMode="1"GUIFlags="1+8+2048"AutoInstall="x86:VirtualBox-4.3.18-r96516-MultiArch_x86.msi /qb! REBOOT=ReallySuppress"AutoInstall="x64:VirtualBox-4.3.18-r96516-MultiArch_amd64.msi /qb! REBOOT=ReallySuppress"RunProgram="x86:VirtualBox.cmd"RunProgram="x64:VirtualBox.cmd";Silent + Extpack [-ai]AutoInstall1="x86:VirtualBox-4.3.18-r96516-MultiArch_x86.msi /qn REBOOT=ReallySuppress"AutoInstall1="x64:VirtualBox-4.3.18-r96516-MultiArch_amd64.msi /qn REBOOT=ReallySuppress"RunProgram="x86:VirtualBox.cmd"RunProgram="x64:VirtualBox.cmd";!@InstallEnd@!VirtualBox.cmd:@echo offset vb=VBoxManage.exeset chemin=C:\Program Files\Oracle\VirtualBoxset extpack=Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack:VirtualBoxcls@echo.cmd /c xcopy "%extpack%" "%chemin%" /i /e /y & cls@ping localhost -n 3 >nulIF EXIST "%chemin%\%extpack%" ( cd /d %chemin% cmd /k "%vb% extpack install %extpack%" exit) else ( echo Error >> C:\vb_error.log exit)echo.goto Quitter:Quitterexit Edited October 28, 2014 by Alpha_95
nova-s Posted October 28, 2014 Posted October 28, 2014 (edited) that should do it@echo offset vb=VBoxManage.exeset chemin=%ProgramFiles%\Oracle\VirtualBoxset extpack=Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack:VirtualBoxclsecho.xcopy "%extpack%" "%chemin%" /i /e /y & clsping -n 3 127.0.0.1>nulIF EXIST "%chemin%\%extpack%" ( cd /d "%chemin%" %vb% extpack install "%extpack%" exit) else ( echo Error >> C:\vb_error.log exit)echo.goto Quitter:Quitterexit Edited October 28, 2014 by nova-s
Alpha_95 Posted October 28, 2014 Posted October 28, 2014 (edited) same, doesn't work, no error... -ai => totaly silent lmao.....-ai1 => passive extpack not installed.... edit: .cmd file is not executed and why -ai return silent and -ai1 passive??? Edited October 28, 2014 by Alpha_95
nova-s Posted October 28, 2014 Posted October 28, 2014 (edited) well, i really don't know anything about the program that you want to install and it's valid parameters, but your config and my .cmd seems to be fine. (maybe except your config switches like gora mentioned, i'm not familiar with that, i check them inside my .cmd (%1)... ) was the file copied to the correct place? i guess so... Edited October 28, 2014 by nova-s
Alpha_95 Posted October 28, 2014 Posted October 28, 2014 are the files in the correct place? i guess so...yes... I would like to propose several ways to install the software ...
Alpha_95 Posted November 11, 2014 Posted November 11, 2014 (edited) Hello, what is wong please:;!@Install@!UTF-8!GUIMode="2"RunProgram="myfile.msi /qn REBOOT=ReallySuppress"RunProgram="hidcon:cmd /c xcopy guide-FR.pdf \"%ProgramFiles(x86)%\\My Program\\\" /y"Shortcut="P,{C:\\Program Files (x86)\\My Program\\guide-FR.pdf},{},{},{Aide},{Aide},{},{},{}"AutoInstall="myfile_other.msi /qn REBOOT=ReallySuppress";!@InstallEnd@!runprogram & xcopy work but shorcut is not created.... and Delete parameter doesn't work... I use lastest version: 1.5.0 2712 and same with 1.6.0 I have tested with GUIMode=0 and none error Sincerely, Edited November 12, 2014 by Alpha_95
ricktendo Posted November 14, 2014 Posted November 14, 2014 You may have to specify a icon_file and/or icon_index
Alpha_95 Posted November 17, 2014 Posted November 17, 2014 (edited) what? can you explain? edit: i have re pack this .msi and it's solved Edited November 20, 2014 by Alpha_95
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