Hardcoded Paths to checkmsi20.mia and setupmsi20.mia???
Posted: Tue Mar 23, 2010 8:31 am
Hi,
just set up a new build server running Windows 7 64 Bit. My build runs on a Windows XP machine before. On Windows XP, Install Aware (Version 9) was installed in "c:\Programme\InstallAware". On Windows 7 its located in "c:\Program Files (x86)\InstallAware". Running the build from command line via "miabuild.exe" it stops on the new machine complaining that it cannot find "c:\Programme\InstallAware\runtimes\setupmsi20.mia". WTF? I looked into the .mpr-project file and there is the path hardcoded, but it's not editable in InstallAware Studio. Saving the .mpr file it replaces the path magically with the correct one. But guess what happens if I check in the project file and try to build on the window xp machine. Bang! Path not found on this machine. What can I do to make it build wherever Install Aware is installed in?
just set up a new build server running Windows 7 64 Bit. My build runs on a Windows XP machine before. On Windows XP, Install Aware (Version 9) was installed in "c:\Programme\InstallAware". On Windows 7 its located in "c:\Program Files (x86)\InstallAware". Running the build from command line via "miabuild.exe" it stops on the new machine complaining that it cannot find "c:\Programme\InstallAware\runtimes\setupmsi20.mia". WTF? I looked into the .mpr-project file and there is the path hardcoded, but it's not editable in InstallAware Studio. Saving the .mpr file it replaces the path magically with the correct one. But guess what happens if I check in the project file and try to build on the window xp machine. Bang! Path not found on this machine. What can I do to make it build wherever Install Aware is installed in?