Page 1 of 1

Corrupt installation when upgrading to InstallAware 10

Posted: Tue Jan 18, 2011 3:57 am
by danielb
We have a very large installation with a lot of logic made in InstallAware 9. After upgrading to InstallAware 10 our installation fails on the first MSI command:

Code: Select all

     Write Registry Key HKLM\Software\Hogia\Economy\Base\ProgramFolderPath, $TARGETDIR$

The error dialog says "Unable to obtain command headers. Please rebuild your project.". No logfile can be produced since this is the first MSI command. The wizard before this first error is OK.

Another post in this forum (http://forums.installaware.com/viewtopic.php?f=2&t=725&p=3035) talks about a plugin producing this error message. The only plugin we use (not included in InstallAware) is Runtime debug. We have downloaded the latest version from http://www.installaware.de/mdPLUGINS.aspx.

We have also tried to install the demo version of InstallAware 10 on a clean Virtual Machine with Windows XP and build from this machine (instead of our ususal build machine) with same result.
Building from command line with miabuild produces also the same error.

What can we do?

Re: Corrupt installation when upgrading to InstallAware 10

Posted: Tue Jan 18, 2011 9:56 am
by giaviv
Dear danielb,

Could you by any chance send your project over to us to support at installaware.com?

Thanks

Re: Corrupt installation when upgrading to InstallAware 10

Posted: Fri Jan 21, 2011 8:28 am
by danielb
This is a bit embarrasing, but I found the reason. Sometimes in the beginning of the test of InstallAware 10 I tried to use the new InstallAware built in engine instead of the MSI engine. So I declared the compiler variable NO_MSI with default value TRUE...
When I removed the variable, everything worked perfect. The only complain I have now is that the error message perhaps could be a little bit clearer... :roll:

Re: Corrupt installation when upgrading to InstallAware 10

Posted: Fri Jan 21, 2011 3:09 pm
by giaviv
Dear Daniel,

I am happy that you were able to resolve this issue.

Best

Re: Corrupt installation when upgrading to InstallAware 10

Posted: Fri Jan 06, 2017 4:50 am
by SebSpiers
I have the same sort of issue, this error is occurring with several functions I am trying to use, Edit INI File, Create Shortcut, to name a couple.

Annoyingly I have not declared any Compiler Variables, any other ideas on this?

I'm using X5.