X3 Command line build ignoring output folder
Posted: Thu Jul 30, 2015 3:40 pm
Hi,
I've just installed InstallAware Studio X3, and am doing a command line build using a batch file. Aside from installing X3 (X2 was working 2 days ago) and so changing the patch to miabuild.exe in my batch file, nothing else has changed.
Miabuild now seems to ignore the /o parameter, and is building the installation file in the project's source folder (where the .mpr is)
My batch file is:
set ProgramVersion=5.04.09
set BuildExe="C:\Program Files (x86)\InstallAware X3\miabuild.exe"
set VCDir=C:\Users\MyUser\Documents\InstallAware Projects
%BuildExe% "%VCDir%\SQLDispONLY\SQLDispONLY.mpr" /o="%CD%\Disp" /b=1 /r PROGRAMVERSION=%ProgramVersion%
if errorlevel 1 pause
I have checked that %CD% is still the folder on my desktop where the batch file is being run from, so I am confident this is an issue in InstallAware X3. The \Disp subfolder does already exist, so it's not needing to be created by the build.
Thanks,
Bob
I've just installed InstallAware Studio X3, and am doing a command line build using a batch file. Aside from installing X3 (X2 was working 2 days ago) and so changing the patch to miabuild.exe in my batch file, nothing else has changed.
Miabuild now seems to ignore the /o parameter, and is building the installation file in the project's source folder (where the .mpr is)
My batch file is:
set ProgramVersion=5.04.09
set BuildExe="C:\Program Files (x86)\InstallAware X3\miabuild.exe"
set VCDir=C:\Users\MyUser\Documents\InstallAware Projects
%BuildExe% "%VCDir%\SQLDispONLY\SQLDispONLY.mpr" /o="%CD%\Disp" /b=1 /r PROGRAMVERSION=%ProgramVersion%
if errorlevel 1 pause
I have checked that %CD% is still the folder on my desktop where the batch file is being run from, so I am confident this is an issue in InstallAware X3. The \Disp subfolder does already exist, so it's not needing to be created by the build.
Thanks,
Bob