Hi,
I am using the following setup:
Product: NI Measurement Studio 7.1
Installer: Installshield Professional 10.5 with SP1
When I try to include merge modules for Measurement Studio Winforms
classes into my installation I see error 2705-Directory. For
some setup configurations this was shortly followed by errors 2731.0
and/or 2732.0. I have confirmed that the ProgramFilesFolder
directory entry is present as per the advice in the Knowledgebase.
After some experimentation I have managed to discover the following:
1) The problem occurs for InstallScript MSI projects, but not for Basic
MSI projects. However we need installscript functionality in order to
install our application.
2) The problem can be reproduced using a very basic InstallScript MSI
project. After creating the project, "NIMesaDLL" was selected from the
redistributables panel window. This in turn caused it's "NI Installer
Utilities" and the "Microsoft C Runtime Library 6.0" to be
selected. The release wizard was used to create an uncompressed setup,
with both the MSI engine and the installscript engine extracted from
setup.exe. The resulting setup program failed with error 2705
3) If the above setup is changed to be compressed, error 2732 can also be seen.
I would have given you the entire installation log, but I appear to
be limited to 5000 characters. Here's the final section of the log,
including both errors.
Property(S): SOURCEDIR = C:\DOCUME~1\wilchr\LOCALS~1\Temp\_is7D\
Property(S): SourcedirProduct = {E3F3FED7-8C26-4B1D-BC2F-3760D53E439B}
Property(S): ProductToBeRegistered = 1
=== Logging stopped: 20/07/2005 15:18:20 ===
MSI (s) (10:28): Note: 1: 1707
MSI (s) (10:28): Product: InstallGraphTest2 -- Installation operation completed successfully.
MSI (s) (10:28): Cleaning up uninstalled install packages, if any exist
MSI (s) (10:28): MainEngineThread is returning 0
MSI (c) (90:B0): Decrementing counter to disable shutdown. If counter
>= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (90:B0): MainEngineThread is returning 0
=== Verbose logging stopped: 20/07/2005 15:18:20 ===
=== Verbose logging started: 20/07/2005 15:18:20 Build
type: SHIP UNICODE 2.00.2600.1183 Calling process:
C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\1050\INTEL3~1\IDriver.exe ===
=== Logging started: 20/07/2005 15:18:20 ===
Action start 15:18:20: CostInitialize.
DEBUG: Error 2705: Invalid table: Directory; Could not be linked as tree.
Internal Error 2705. Directory
Action ended 15:18:21: CostInitialize. Return value 3.
Action start 15:18:21: FileCost.
Action ended 15:18:21: FileCost. Return value 1.
Action start 15:18:21: CostFinalize.
DEBUG: Error 2732: Directory Manager not initialized.
Internal Error 2732. 0
Action ended 15:18:22: CostFinalize. Return value 3.
=== Verbose logging stopped: 20/07/2005 15:18:23 ===