Problem with Win64 installation

Got a problem you cannot solve? Try here.
Gareth Owen
Posts: 149
Joined: Fri Oct 21, 2005 8:42 am
Location: UK

Problem with Win64 installation

Postby Gareth Owen » Wed Mar 29, 2006 10:57 am

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

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

Postby MichaelNesmith » Wed Mar 29, 2006 6:52 pm

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!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Gareth Owen
Posts: 149
Joined: Fri Oct 21, 2005 8:42 am
Location: UK

Postby Gareth Owen » Thu Mar 30, 2006 2:22 am

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

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

Postby MichaelNesmith » Thu Mar 30, 2006 2:25 am

That is a good suggestion!
Maybe you could just check-in the version of the MPR without the paths?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Gareth Owen
Posts: 149
Joined: Fri Oct 21, 2005 8:42 am
Location: UK

Postby Gareth Owen » Thu Mar 30, 2006 2:34 am

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 :)


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 156 guests