I am trying to run 2 commands from WPI. 7.2.0 The first installs the software, and the second cleans up the install.
My first command calls r:\math\matlab_2008a\matlab_setup.cmd
@echo off
pushd %~dp0
setup.exe -if inst.ini
popd
This will install the program, but the batch finishes before the install is coomplete, and the 2nd command runs with nothing to cleanup.
I've tried
start "inst" /WAIT "setup.exe -if inst.ini"
but get an error stating it cannot find the program setup.exe -if inst.ini
If I put the setup.exe -if inst.ini in another file and then
start "inst" /I /WAIT /D r:\math\matlab_2008a "m-set.cmd"
the program will install but I then have 2 command windows open which do not terminate when the install is finished, so the cleanup command cannot run.
Page 1 of 1
multi cmd problem
#2
Posted 06 December 2008 - 03:46 AM
Please try this:
@echo off
pushd %~dp0
start /wait setup.exe -if inst.ini
popd
Exit
@echo off
pushd %~dp0
start /wait setup.exe -if inst.ini
popd
Exit
This post has been edited by Kelsenellenelvian: 06 December 2008 - 03:46 AM
#3
Posted 06 December 2008 - 09:19 AM
#4
- ← WPI v7.1.1
- Windows Post-Install Wizard (WPI)
- How can I remove the installation path in the installer window ? →
Share this topic:
Page 1 of 1



Help
Back to top










