I have heard from our users in the field that this has been happening but until now have not reproduced this. I have now reproduced this on three different servers running Windows 2003 Server.
Our installation supports multiple instances and so we have relied on the NEWINSTANCE variable to return the accurate value. I already have an instance installed on the 2003 server and when I run the installation again, the NEWINSTANCE property is set to FALSE when it should be TRUE. I have reproduced this on our development environment and have installed InstallAware on the server so I could debug the MSI code to see the values....and sure enough, it fails.
How does the NEWINSTANCE variable get set and what is the criteria that you test on?
NEWINSTANCE returns inaccurate value
-
- Posts: 76
- Joined: Mon Nov 06, 2006 2:07 pm
- Location: Texas
- Contact:
-
- Posts: 76
- Joined: Mon Nov 06, 2006 2:07 pm
- Location: Texas
- Contact:
Yes, this is how it works most of the time. I wrote a work around so that I did not have to 100% rely on the setting of this variable. Most machines this works on fine, but in certain environments, specifically servers with one instance already installed, this seems to get a bit questionable....at least per my experience and it could be something that I have done. But I have combed over my install over and over again to make sure that the Transform Instance does not get called on the first installation as I think that this would cause the problem since the program would never be installed with the original Product Code. But at any rate, I have it working. Thanks for your input.
-
- Posts: 3
- Joined: Fri Nov 21, 2008 12:50 pm
-
- Posts: 55
- Joined: Wed Mar 11, 2009 5:26 pm
- Contact:
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Yes, that's exactly right!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
Re: NEWINSTANCE returns inaccurate value
According to jimo, the product codes need to match. Does the installer look in the registry for the product code of the previous installation or does it look somewhere else?
Who is online
Users browsing this forum: Majestic-12 [Bot] and 78 guests