Problem with MIABUILD.exe

Got a problem you cannot solve? Try here.
pmessina
Posts: 12
Joined: Tue Aug 29, 2006 10:05 am

Problem with MIABUILD.exe

Postby pmessina » Wed Dec 13, 2006 10:56 am

MIABUILD.EXE will not produce an error if you open a project which has a reference to script file which does not exist on the machine. If you use the InstallAware UI and try and build it immediately fails and tells you which file is missing. I am using version 5.31

I have seen references to other threads telling the user to open the (.MPR) file by hand and remove the hard coded path references to the scripts. This is precarious at best considering how the files are laid out especially if you made a mistake and saved it unknowingly. I would also argue that the UI should allow the user to specify that a script file is either relative to the project or uses an absolute path.

In a multi-dev environment where you have more than one person working on a project it is likely that their project folder is different from another developers or even more likely it could be on a different drive. And more likely that they have a different environment from a build machine.

MIABUILD.exe should produce the same error and halt the process rather than continuing on and producing an installer.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Dec 13, 2006 11:19 am

Yes - R&D is currently working on adding relative path support to include scripts and your main project script file, so this should be available soon.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Nick
Posts: 30
Joined: Wed Nov 30, 2005 5:18 pm

Postby Nick » Tue Jun 05, 2007 1:13 pm

We ran into this problem as well. What I ended up doing is using subst to setup some virtual drives. Each developer can map the virtual drives to whereever they like.

But, be sure to always start/open the project from the non-subst drive, and be careful to only add files to the project from the subst drive.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 130 guests