Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Installation fails with error 1935

Hi,

I have created a very simple installation by adding the National Instruments Measurement Studio for .NET version seven merge modules to an empty windows installer database. When I try to run this installer on a clean windows XP service pack 2 machine, the following error message is displayed:

Error 1935.An error occurred during the installation of the assembly 'NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral", Please refer to Help and Support for more informa....

We believe this may be related to the version of windows installer running. We have tested with the following versions:

V2.00.2600.1106 - OK
MSI V3.00.3790.2180 - FAILS (this is the version sent out with XP SP2)
MSI 3.0.3790.2538 - OK
MSI V3.01.4000.1823 - OK

I have captured the installation log (attached).  Here is a portion that appears relevant:

MSI (s) (30:D0) [16:50:59:203]: Note: 1: 1935 2:  3: 0x8002802F 4:  5: CreateAssemblyNameObject 6: NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral"
DEBUG: Error 2908:  Could not register component {3CEC37D2-805D-64F2-7F2B-159A96EB5858}.
Internal Error 2908. {3CEC37D2-805D-64F2-7F2B-159A96EB5858}
MSI (s) (30:D0) [16:51:01:646]: Product: NiGraphInstaller -- Internal Error 2908. {3CEC37D2-805D-64F2-7F2B-159A96EB5858}

MSI (s) (30:D0) [16:51:01:646]: Executing op: ComponentRegister(ComponentId={1CA051B0-1B70-11D2-9ADD-006097C4E452},KeyPath=C:\WINDOWS\system32\msvcrt.dll,State=3,,Disk=1,SharedDllRefCount=1,BinaryType=0)
1: {6213C1BC-E239-4C9A-B101-887550B82E30} 2: {1CA051B0-1B70-11D2-9ADD-006097C4E452} 3: C:\WINDOWS\system32\msvcrt.dll
MSI (s) (30:D0) [16:51:01:696]: Executing op: ComponentRegister(ComponentId={1CA051B0-1B70-11D2-9ADD-006097C4E452},KeyPath=C:\WINDOWS\system32\msvcrt.dll,State=3,ProductKey={00000000-0000-0000-0000-000000000000},Disk=1,SharedDllRefCount=1,BinaryType=0)
1: {00000000-0000-0000-0000-000000000000} 2: {1CA051B0-1B70-11D2-9ADD-006097C4E452} 3: C:\WINDOWS\system32\msvcrt.dll
MSI (s) (30:D0) [16:51:01:706]: Executing op: ComponentRegister(ComponentId={9515D525-712A-3203-D66C-DF43617AE051},KeyPath=<\policy.7.0.NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral",State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {6213C1BC-E239-4C9A-B101-887550B82E30} 2: {9515D525-712A-3203-D66C-DF43617AE051} 3: <\policy.7.0.NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral"
MSI (s) (30:D0) [16:51:01:706]: MSCOREE not loaded loading copy from system32
MSI (s) (30:D0) [16:51:01:706]: Assembly Error:Function not defined in specified DLL.

MSI (s) (30:D0) [16:51:01:706]: Note: 1: 1935 2: {9515D525-712A-3203-D66C-DF43617AE051} 3: 0x8002802F 4:  5: CreateAssemblyNameObject 6: policy.7.0.NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral"
Error 1935.An error occurred during the installation of assembly 'policy.7.0.NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8002802F. assembly interface: , function: CreateAssemblyNameObject, component: {9515D525-712A-3203-D66C-DF43617AE051}
MSI (s) (30:D0) [16:51:02:347]: Product: NiGraphInstaller -- Error 1935.An error occurred during the installation of assembly 'policy.7.0.NationalInstruments.Common,Version="7.1.0.243",PublicKeyToken="4544464CDEAAB541",Culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8002802F. assembly interface: , function: CreateAssemblyNameObject, component: {9515D525-712A-3203-D66C-DF43617AE051}

Action ended 16:51:02: InstallFinalize. Return value 3.
MSI (s) (30:D0) [16:51:02:357]: User policy value 'DisableRollback' is 0

Have you seen any similar errors in the past? We are near our release date and need to deal with this problem asap. Note that distributing the newest windows installer would not be a simple solution for us to implement (this would mean uprading our InstallShield version and re-testing an entire suite of products.)

regards,

Chris Williamson

0 Kudos
Message 1 of 4
(7,956 Views)
Hi Chris,
 
I've had a brief look through today at previous error messages of this kind - the majority of articles I'm seeing seem to be related to having spyware-fixing software such as Adaware installed on the machine you're trying to install on.
 
Can you make sure that Adaware or other spyware checking software is disabled, then try installing again and let me know how you're getting on.
 
Best wishes,
 
Mark
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(7,930 Views)

Hello,

I have seen this when you install on a machine that does not already have the correct .NET Framework installed.  Please make sure that this is installed prior to installing and .NET Application.  On a clean WinXP SP2 machine the .NET Framework is not previously installed, you must install this though WindowsUpdate.

The errors seem to support this since it is complaining about loading MSCOREE, which is what MSI uses to install files into the Global Assembly Cache (GAC).

Jeff

0 Kudos
Message 3 of 4
(7,924 Views)
The problem was observed on a clean machine, with no spyware installed.

We have already noticed that if windows update is used, then windows installer is updated to version 3.1 and the problem no longer occurs. However we expect that many of our installation targets  will not be connected to the internet, and hence windows update will not be an effective solution.

The best solution I can come up with from my end is to ship a later version of windows installer with our product. However there may be logistical difficulties involved in this (our final installation will be built in Japan, and their installshield tends to be a version or two behind ours. It is quite likely that they won't have built in support for windows installer 3.x)

Thanks,

Chris Williamson

Message Edited by Chris Williamson on 04-06-2006 05:34 PM

0 Kudos
Message 4 of 4
(7,919 Views)