Page 1 of 1

Problem with Win64 installation

Posted: Wed Mar 29, 2006 10:57 am
by Gareth Owen
We have just got a nice shinny new Dual core 64 pc for use as a build machine.

I have installed IA on it and all seems fine.

I then tried to open our existing projects and have found that all of the standard scripts are not found.

The path to these scripts is hardcoded in the mpr file to c:\\program files\\InstallAware....etc.

Problem is that on Win64 IA gets installed in c:\\program files (x86)\\Installaware...etc.

Is there a way of automaticall setting these script paths to Root of IA?

as it is we cannot use our standard builds on Win64 without build time modification which I would rather not do.

It would also be nice to be able to define relative paths for scripts, even the ones in the same directory as the mpr file get full paths from the IDE.

Cheers

Posted: Wed Mar 29, 2006 6:52 pm
by MichaelNesmith
Just edit your MPR file - towards the end strip out the path information for the included files. They will reset and be picked up from the new location.

You could also delete the includes from your project, then add-them in from their proper locations again. If you update the MPR directly, the IDE will pick them up for you so that might be easier!

Posted: Thu Mar 30, 2006 2:22 am
by Gareth Owen
Yes, I figured that part out in testing :) the only problem is, this needs to be changed directly when you get the files out of version control.

Once the installation project is finalized, it should be unchanged, so is automatically checked out during the build process.

So depending on which machine we are doing the build on, will change the file locations.
Win64/32 will vary the program files directory for IA.

and the location of the mpr file will vary dependent on which version of the software we are building etc.

It would be very useful if the MPR file could

1) Store the relative path of the files to the mpr file.
2) include a variable containing the IA installation path for integrated or common scripts.

Just a hopeful suggestion ;)

For now, we will just keep building on the same PC

Posted: Thu Mar 30, 2006 2:25 am
by MichaelNesmith
That is a good suggestion!
Maybe you could just check-in the version of the MPR without the paths?

Posted: Thu Mar 30, 2006 2:34 am
by Gareth Owen
Yes, I did in the end, but every time I resave it in the IDE I have to remove them again :cry:

Not too much of a major problem though.

just a pain during development.

But I think I can survive ;)

Anyway, thanks for the response :)