Porting projects from IA 6.4 to IA 7

Got a problem you cannot solve? Try here.
Post Reply
pfennig

Porting projects from IA 6.4 to IA 7

Post by pfennig »

We're in the process of moving to IA7. Is there anything that needs to be
changed in existing 6.4 setup projects to make them work when built with IA7?

So far every single one of our existing setups has failed after building it
with IA7. Halfway into the installation they complain that this or that *.msi
can't be found. The one that supposedly is missing is always one of our
other previously installed products. After we uninstall that other application
(which, of course, shouldn't be necessary) and there are still others of our
apps on the computer, we get new complains. This goes on until every other
of our apps is removed.

Installing the same setup on a different clean computer pops up an error
message just saying error. A logged setup says
Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708 and
Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709

I could only solve the problem by building the project new, based on an
empty Win32 project. It doesn't matter if it's a very small or a larger project.
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

There shouldn't be any problem. Let's narrow this down. Let me know the exact steps you are taking to do this, and the exact error you are getting.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
pfennig

Post by pfennig »

There isn't much to say :)

- uninstalled IA 6.4 from C:\\Program Files\\InstallAware
- installed IA 7 to C:\\Program Files\\InstallAware
- opened existing project
- clicked Single build
- closed the project and saved when asked to
The only change was the automatically changing revision code.

Since that turned out to produce these unusable setups, I removed mMSIExec.dll and
mWinRunExec.dll and all translation files from the project folder and created new
translation files. There was no difference to the old ones, though. Then I built the
setup again, with the same depressing result.
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Are you saving before trying to build the project?

I've seen strange errors when I open an old project and immediatly try to build - I need to save first :)
Andy Neillans
pfennig

Post by pfennig »

Maybe not the first time, but definitely after the first setup didn't work and I had removed the DLLs and translation files.

But just to be sure, I tried another - previously untoucht by IA7 - project,
opened it, clicked save all, closed it. Checked the changes. The only difference was an empty line added at the end of the *.mpr file.
Then I reopened the project, built it and the resulting setup again complained that for another - the last installed - of our products the *.msi were missing.

IAW, nothing new :|
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

:(

Sounds like you might have to send you script into support to find out what's happening :(
Andy Neillans
pfennig

Post by pfennig »

Will do that. Thank you for trying.
Post Reply