Corrupt installation when upgrading to InstallAware 10

Got a problem you cannot solve? Try here.
danielb
Posts: 17
Joined: Tue Jan 09, 2007 7:48 am
Location: Stenungsund, Sweden

Corrupt installation when upgrading to InstallAware 10

Postby danielb » Tue Jan 18, 2011 3:57 am

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?
Best regards,

Daniel Bengtsson
Hogia Business Accounting Products AB

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Corrupt installation when upgrading to InstallAware 10

Postby giaviv » Tue Jan 18, 2011 9:56 am

Dear danielb,

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

Thanks
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

danielb
Posts: 17
Joined: Tue Jan 09, 2007 7:48 am
Location: Stenungsund, Sweden

Re: Corrupt installation when upgrading to InstallAware 10

Postby danielb » Fri Jan 21, 2011 8:28 am

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:
Best regards,

Daniel Bengtsson
Hogia Business Accounting Products AB

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Corrupt installation when upgrading to InstallAware 10

Postby giaviv » Fri Jan 21, 2011 3:09 pm

Dear Daniel,

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

Best
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SebSpiers
Posts: 38
Joined: Tue Dec 20, 2016 7:14 am
Location: Tewkesbury, UK

Re: Corrupt installation when upgrading to InstallAware 10

Postby SebSpiers » Fri Jan 06, 2017 4:50 am

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.
I'm not a developer, I just want to install things...


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 69 guests