Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Error 1638 upgrade from a network package


4 replies to this topic

victorwhiskey

victorwhiskey
  • Full Members
  • 2 posts

Posted 16 March 2010 - 22:06

Hello,

I hope I'm posting in the correct section. I just took over this project and I'm not sure if this should be in the Basic MSI or the Installscript section. Please move me to the correct section if I'm in the wrong section.

We are using InstallShield 12 as our packager and building with the command line issabuild.exe to build.

Currently we are creating a disk package/distribution and it has a setup.exe, a .MSI, and a bunch of files necessary for the install. I just created a "network" type package, the one where it puts everything in a single MSI file. Now we have two packages, I'll call the one with seperate files the "DISK" package and the single MSI the "NETWORK" package.

I am testing on clean machines. and on a initial install, both packages install fine.

I have a few questions here...

1). (Using Disk package install, then Disk package upgrade) Older install using setup.exe and try to upgrade with setup.exe - detects as upgrade (expected)

1a) (Using Disk package install, then Disk package upgrade) Older install using setup.exe and try to upgrade with MSI (command line setting REINSTALL=ALL and REINSTALLMODE=vomus ) - detects as upgrade (expected)

2). (Using Disk package install, then Disk package upgrade) Older install using MSI and try to upgrade with setup.exe - detects as upgrade (expected)

2a) (Using Disk package install, then Disk package upgrade) Older install using setup.exe and try to upgrade with MSI (command line setting REINSTALL=ALL and REINSTALLMODE=vomus ) - detects as upgrade (expected)

3. (Using Disk package install, then Network package upgrade) Older install using setup.exe and try to upgrade with msi (command line setting REINSTALL=ALL and REINSTALLMODE=vomus or GUI) - fails with "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel." (un-expected)


I am seeing this in the log:

APPCOMPAT: looking for appcompat database entry with ProductCode ...
APPCOMPAT: no matching ProductCode found in database.
MSCOREE not loaded loading copy from system32 Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
Note: 1: 1708
Note: 1: 2729
Note: 1: 2729
Product: <> -- Installation failed
MainEngineThread is returning 1638


I have searched this forum and others and have been unsuccessful in getting the product to upgrade using the single MSI format.

Thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 March 2010 - 13:49

Looks like you are using the "Basic MSI"project type (the project type is displayed in the title bar of the InstallShield IDE), so moving the question.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 March 2010 - 13:51

This would happen if you didn't specify the REINSTALLMODE and REINSTALL command line properties when launching the new .msi, but you say you did. Can you look through the log to see these properttes get reset/changed anywhere?

victorwhiskey

victorwhiskey
  • Full Members
  • 2 posts

Posted 18 March 2010 - 22:11

This is all that is in the log when I run msiexe /l*v

=== Verbose logging started: 3/16/2010 9:02:47 Build type: SHIP UNICODE 3.01.4001.5512 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI © (14:98) [09:02:47:712]: Resetting cached policy values
MSI © (14:98) [09:02:47:712]: Machine policy value 'Debug' is 0
MSI © (14:98) [09:02:47:712]: ******* RunEngine:
******* Product: <Product>.msi
******* Action:
******* CommandLine: **********
MSI © (14:98) [09:02:47:728]: Machine policy value 'DisableUserInstalls' is 0
MSI © (14:98) [09:02:47:884]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Documents and Settings\Administrator\Desktop\test_single\<Product>.msi' against software restriction policy
MSI © (14:98) [09:02:47:884]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI © (14:98) [09:02:47:884]: SOFTWARE RESTRICTION POLICY: C:\Documents and Settings\Administrator\Desktop\test_single\<Product>.msi is not digitally signed
MSI © (14:98) [09:02:47:884]: SOFTWARE RESTRICTION POLICY: C:\Documents and Settings\Administrator\Desktop\test_single\<Product>.msi is permitted to run at the 'unrestricted' authorization level.
MSI © (14:98) [09:02:48:087]: Cloaking enabled.
MSI © (14:98) [09:02:48:087]: Attempting to enable all disabled priveleges before calling Install on Server
MSI © (14:98) [09:02:48:118]: End dialog not enabled
MSI © (14:98) [09:02:48:118]: Original package ==> C:\Documents and Settings\Administrator\Desktop\test_single\<Product>.msi
MSI © (14:98) [09:02:48:118]: Package we're running from ==> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\18b4a5.msi
MSI © (14:98) [09:02:48:134]: APPCOMPAT: looking for appcompat database entry with ProductCode '{0F88B268-AB4A-XXXX-XXXX-XXXXXXXXXXXX}'.
MSI © (14:98) [09:02:48:134]: APPCOMPAT: no matching ProductCode found in database.
MSI © (14:98) [09:02:48:134]: MSCOREE not loaded loading copy from system32
Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
C:\Documents and Settings\Administrator\Desktop\test_single\<Product>.msi
MSI © (14:98) [09:02:48:134]: Note: 1: 1708
MSI © (14:98) [09:02:48:134]: Note: 1: 2729
MSI © (14:98) [09:02:48:134]: Note: 1: 2729
MSI © (14:98) [09:02:48:134]: Product: <Product> -- Installation failed.

MSI © (14:98) [09:02:48:150]: MainEngineThread is returning 1638
=== Verbose logging stopped: 3/16/2010 9:02:48 ===

Thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 March 2010 - 09:44

So the log doesn't even list the properties?
To get a more detailed log could you update the msi runtime to the latest version?

Can you (maybe using a simple test project) verify that you can pass in any properties at all?