We have an MSI we rebuild regularly just recently it has been failing with a 2705 error, but only in some situations.

If I run the msiexec /fv this seems to fix the problem. My question is why could this happen? Something to do with the uninstall?

I am about to get and run the msi through the orca tool. Will this type of problem appear if the install works most of the time.

Many thanks!
1 Comment   [ + ] Show Comment

Comments

  • Even I got an error while installing my application. Below is the log file :

    Action start 8:08:51: ValidateProductID.
    MSI (s) (58:20) [08:08:51:732]: Doing action: _CST_NEW_INSTALLDIR
    Action ended 8:08:51: ValidateProductID. Return value 1.
    MSI (s) (58:20) [08:08:51:748]: Transforming table CustomAction.

    MSI (s) (58:20) [08:08:51:748]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'c:\CT\Collector_A'.
    Action start 8:08:51: _CST_NEW_INSTALLDIR.
    MSI (s) (58:20) [08:08:51:748]: Doing action: CostInitialize
    Action ended 8:08:51: _CST_NEW_INSTALLDIR. Return value 1.
    MSI (s) (58:20) [08:08:51:748]: Machine policy value 'MaxPatchCacheSize' is 10
    MSI (s) (58:20) [08:08:51:748]: Transforming table Directory.

    MSI (s) (58:20) [08:08:51:748]: Note: 1: 2705 2: Directory
    Action start 8:08:51: CostInitialize.
Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Sounds like an incorrect Directory table entry.
Post the exact error you get from the verbose log.
Answered 07/08/2009 by: AngelD
Red Belt

Please log in to comment
0
Yes this is what the error indicates, we have found a separate issue we think is causing this which is we are including two copies of the msi at different versions. Still investigating this. Thanks for your quick reply any help is very much appreciated!
=== Verbose logging started: 01/07/2009 12:00:04 Build type: SHIP UNICODE 4.00.6000.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (2C:C8) [12:00:04:898]: Resetting cached policy values
MSI (c) (2C:C8) [12:00:04:898]: Machine policy value 'Debug' is 0
MSI (c) (2C:C8) [12:00:04:898]: ******* RunEngine:
******* Product: C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\CCD4ServerSetup.msi
******* Action:
******* CommandLine: **********
MSI (c) (2C:C8) [12:00:04:902]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (2C:C8) [12:00:04:905]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (c) (2C:C8) [12:00:05:578]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\CCD4ServerSetup.msi' against software restriction policy
MSI (c) (2C:C8) [12:00:05:579]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (2C:C8) [12:00:05:579]: SOFTWARE RESTRICTION POLICY: C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\CCD4ServerSetup.msi is not digitally signed
MSI (c) (2C:C8) [12:00:05:580]: SOFTWARE RESTRICTION POLICY: C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\CCD4ServerSetup.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (2C:C8) [12:00:05:601]: Cloaking enabled.
MSI (c) (2C:C8) [12:00:05:601]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (2C:C8) [12:00:05:614]: End dialog not enabled
MSI (c) (2C:C8) [12:00:05:615]: Original package ==> C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\CCD4ServerSetup.msi
MSI (c) (2C:C8) [12:00:05:615]: Package we're running from ==> C:\Users\Admin\AppData\Local\Temp\691d699.msi
MSI (c) (2C:C8) [12:00:05:619]: APPCOMPAT: looking for appcompat database entry with ProductCode '{1B9D0635-2AFB-489D-8F7C-10ABD7662E41}'.
MSI (c) (2C:C8) [12:00:05:620]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (2C:C8) [12:00:05:625]: MSCOREE not loaded loading copy from system32
MSI (c) (2C:C8) [12:00:05:628]: Machine policy value 'TransformsSecure' is 0
MSI (c) (2C:C8) [12:00:05:628]: User policy value 'TransformsAtSource' is 0
MSI (c) (2C:C8) [12:00:05:628]: Machine policy value 'DisablePatch' is 0
MSI (c) (2C:C8) [12:00:05:628]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (2C:C8) [12:00:05:628]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (2C:C8) [12:00:05:628]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (2C:C8) [12:00:05:630]: APPCOMPAT: looking for appcompat database entry with ProductCode '{1B9D0635-2AFB-489D-8F7C-10ABD7662E41}'.
MSI (c) (2C:C8) [12:00:05:630]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (2C:C8) [12:00:05:630]: Transforms are not secure.
MSI (c) (2C:C8) [12:00:05:630]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'c:\install.log'.
MSI (c) (2C:C8) [12:00:05:630]: Command Line: CURRENTDIRECTORY=C:\Windows\system32 CLIENTUILEVEL=0 CLIENTPROCESSID=3628
MSI (c) (2C:C8) [12:00:05:630]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{4FDC9138-B897-4E0A-A1FA-00F211476B05}'.
MSI (c) (2C:C8) [12:00:05:630]: Product Code passed to Engine.Initialize: '
MSI (c) (2C:C8) [12:00:05:630]: Product Code from property table before transforms: '{1B9D0635-2AFB-489D-8F7C-10ABD7662E41}'
MSI (c) (2C:C8) [12:00:05:630]: Product Code from property table after transforms: '{1B9D0635-2AFB-489D-8F7C-10ABD7662E41}'
MSI (c) (2C:C8) [12:00:05:630]: Product not registered: beginning first-time install
MSI (c) (2C:C8) [12:00:05:630]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (2C:C8) [12:00:05:630]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (2C:C8) [12:00:05:630]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (2C:C8) [12:00:05:630]: Adding new sources is allowed.
MSI (c) (2C:C8) [12:00:05:630]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (2C:C8) [12:00:05:630]: Package name extracted from package path: 'CCD4ServerSetup.msi'
MSI (c) (2C:C8) [12:00:05:630]: Package to be registered: 'CCD4ServerSetup.msi'
MSI (c) (2C:C8) [12:00:05:634]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (2C:C8) [12:00:05:634]: Machine policy value 'DisableMsi' is 0
MSI (c) (2C:C8) [12:00:05:634]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (2C:C8) [12:00:05:634]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (2C:C8) [12:00:05:634]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (2C:C8) [12:00:05:634]: Running product '{1B9D0635-2AFB-489D-8F7C-10ABD7662E41}' with elevated privileges: Product is assigned.
MSI (c) (2C:C8) [12:00:05:634]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Windows\system32'.
MSI (c) (2C:C8) [12:00:05:634]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (2C:C8) [12:00:05:634]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '3628'.
MSI (c) (2C:C8) [12:00:05:634]: TRANSFORMS property is now:
MSI (c) (2C:C8) [12:00:05:634]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (2C:C8) [12:00:05:635]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming
MSI (c) (2C:C8) [12:00:05:635]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\Favorites
MSI (c) (2C:C8) [12:00:05:635]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (2C:C8) [12:00:05:635]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\Documents
MSI (c) (2C:C8) [12:00:05:635]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (2C:C8) [12:00:05:636]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (2C:C8) [12:00:05:636]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Local
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\Pictures
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (2C:C8) [12:00:05:637]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\Desktop
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (2C:C8) [12:00:05:639]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (2C:C8) [12:00:05:641]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (2C:C8) [12:00:05:648]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
MSI (c) (2C:C8) [12:00:05:648]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
MSI (c) (2C:C8) [12:00:05:648]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (2C:C8) [12:00:05:648]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (2C:C8) [12:00:05:648]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'Windows User'.
MSI (c) (2C:C8) [12:00:05:648]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (2C:C8) [12:00:05:648]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Users\Admin\AppData\Local\Temp\691d699.msi'.
MSI (c) (2C:C8) [12:00:05:648]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\CCD4ServerSetup.msi'.
MSI (c) (2C:C8) [12:00:05:649]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\'.
MSI (c) (2C:C8) [12:00:05:649]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\Admin\Desktop\CCD4Enterprise\fscommand\'.
MSI (c) (2C:7C) [12:00:05:653]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '4.00'.
=== Logging started: 01/07/2009 12:00:05 ===
MSI (c) (2C:C8) [12:00:05:662]: Note: 1: 2205 2: 3: PatchPackage
MSI (c) (2C:C8) [12:00:05:662]: Machine policy value 'DisableRollback' is 0
MSI (c) (2C:C8) [12:00:05:662]: User policy value 'DisableRollback' is 0
MSI (c) (2C:C8) [12:00:05:662]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (2C:C8) [12:00:05:665]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (2C:C8) [12:00:05:665]: Doing action: INSTALL
Action 12:00:05: INSTALL.
Action start 12:00:05: INSTALL.
MSI (c) (2C:C8) [12:00:05:666]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (2C:C8) [12:00:05:666]: Running UISequence
MSI (c) (2C:C8) [12:00:05:666]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (2C:C8) [12:00:05:666]: Doing action: WiseUpgradeCheck
Action 12:00:05: WiseUpgradeCheck.
Action start 12:00:05: WiseUpgradeCheck.
MSI (c) (2C:AC) [12:00:05:671]: Invoking remote custom action. DLL: C:\Users\Admin\AppData\Local\Temp\MSID996.tmp, Entrypoint: UpgradeCheck
MSI (c) (2C:D8) [12:00:05:673]: Cloaking enabled.
MSI (c) (2C:D8) [12:00:05:673]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (2C:D8) [12:00:05:673]: Connected to service for CA interface.
Action ended 12:00:05: WiseUpgradeCheck. Return value 1.
MSI (c) (2C:C8) [12:00:05:793]: Doing action: LaunchConditions
Action 12:00:05: LaunchConditions. Evaluating launch conditions...
Action start 12:00:05: LaunchConditions.
MSI (c) (2C:C8) [12:00:05:794]: Note: 1: 2262 2: LaunchCondition 3: -2147287038
Action ended 12:00:05: LaunchConditions. Return value 1.
MSI (c) (2C:C8) [12:00:05:794]: Doing action: WiseSetProfilesFolder
Action 12:00:05: WiseSetProfilesFolder.
Action start 12:00:05: WiseSetProfilesFolder.
MSI (c) (2C:74) [12:00:05:797]: Invoking remote custom action. DLL: C:\Users\Admin\AppData\Local\Temp\MSIDA14.tmp, Entrypoint: SetProfilesFolder
MSI (c) (2C!18) [12:00:05:819]: PROPERTY CHANGE: Adding ProfilesFolder property. Its value is 'C:\Users\'.
Action ended 12:00:05: WiseSetProfilesFolder. Return value 1.
MSI (c) (2C:C8) [12:00:05:820]: Skipping action: ClearDisableUAP (condition is false)
MSI (c) (2C:C8) [12:00:05:820]: Skipping action: SetPatchMode (condition is false)
MSI (c) (2C:C8) [12:00:05:820]: Skipping action: SetPatchReinstallMode (condition is false)
MSI (c) (2C:C8) [12:00:05:820]: Skipping action: SetInstallDirToLinkFolder (condition is false)
MSI (c) (2C:C8) [12:00:05:820]: Doing action: SetInstallDirToCustom
Action 12:00:05: SetInstallDirToCustom.
Action start 12:00:05: SetInstallDirToCustom.
Action ended 12:00:05: SetInstallDirToCustom. Return value 1.
MSI (c) (2C:C8) [12:00:05:822]: Doing action: Setup_Dialog
Action 12:00:05: Setup_Dialog.
Action start 12:00:05: Setup_Dialog.
Info 2898. For MS_Sans_Serif_80 textstyle, the system created a 'MS Sans Serif' font, in 1 character set, of 13 pixels height.
Info 2898. For Arial10 textstyle, the system created a 'Arial' font, in 1 character set, of 16 pixels height.
Info 2898. For Arial14 textstyle, the system created a 'Arial' font, in 1 character set, of 22 pixels height.
Action 12:00:05: Setup_Dialog. Dialog created
Action ended 12:00:05: Setup_Dialog. Return value 1.
MSI (c) (2C:C8) [12:00:05:880]: Doing action: FindRelatedProducts
Action 12:00:05: FindRelatedProducts. Searching for related applications
Action start 12:00:05: FindRelatedProducts.
FindRelatedProducts: Found application: {FCC09A4E-2E7F-4F13-903D-1467420FE4E0}
MSI (c) (2C:C8) [12:00:05:884]: PROPERTY CHANGE: Adding UPGRADE_4_0 property. Its value is '{FCC09A4E-2E7F-4F13-903D-1467420FE4E0}'.
MSI (c) (2C:C8) [12:00:05:884]: PROPERTY CHANGE: Adding MIGRATE property. Its value is '{FCC09A4E-2E7F-4F13-903D-1467420FE4E0}'.
Action ended 12:00:05: FindRelatedProducts. Return value 1.
MSI (c) (2C:C8) [12:00:05:886]: Doing action: WiseUpgradeCheckEx
Action 12:00:05: WiseUpgradeCheckEx.
Action start 12:00:05: WiseUpgradeCheckEx.
MSI (c) (2C:50) [12:00:05:894]: Invoking remote custom action. DLL: C:\Users\Admin\AppData\Local\Temp\MSIDA73.tmp, Entrypoint: UpgradeCheckEx
Action ended 12:00:06: WiseUpgradeCheckEx. Return value 1.
MSI (c) (2C:C8) [12:00:06:062]: Doing action: AppSearch
Action 12:00:06: AppSearch. Searching for installed applications...
Action start 12:00:06: AppSearch.
AppSearch: Property: FMSERVER_901_INSTALLED
Signature: AppComp1
MSI (c) (2C:C8) [12:00:06:064]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (2C:C8) [12:00:06:064]: Note: 1: 2262 2: RegLocator 3: -2147287038
MSI (c) (2C:C8) [12:00:06:064]: Note: 1: 2262 2: IniLocator 3: -2147287038
MSI (c) (2C:C8) [12:00:06:064]: Note: 1: 2262 2: DrLocator 3: -2147287038
AppSearch: Property: FMPRO_901_INSTALLED
Signature: AppComp
MSI (c) (2C:C8) [12:00:06:066]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (2C:C8) [12:00:06:066]: PROPERTY CHANGE: Modifying FMPRO_901_INSTALLED property. Its current value is '{}'. Its new value: 'C:\Program Files\FileMaker\FileMaker Pro 9\'.
Action ended 12:00:06: AppSearch. Return value 1.
MSI (c) (2C:C8) [12:00:06:067]: Skipping action: CCPSearch (condition is false)
MSI (c) (2C:C8) [12:00:06:067]: Skipping action: CCPDialog (condition is false)
MSI (c) (2C:C8) [12:00:06:067]: Skipping action: RMCCPSearch (condition is false)
MSI (c) (2C:C8) [12:00:06:067]: Doing action: SetISUPGRADE
Action 12:00:06: SetISUPGRADE.
Action start 12:00:06: SetISUPGRADE.
MSI (c) (2C:C8) [12:00:06:069]: PROPERTY CHANGE: Modifying ISUPGRADE property. Its current value is '0'. Its new value: '1'.
Action ended 12:00:06: SetISUPGRADE. Return value 1.
MSI (c) (2C:C8) [12:00:06:069]: Doing action: ValidateProductID
Action 12:00:06: ValidateProductID.
Action start 12:00:06: ValidateProductID.
Action ended 12:00:06: ValidateProductID. Return value 1.
MSI (c) (2C:C8) [12:00:06:071]: Doing action: CostInitialize
Action 12:00:06: CostInitialize. Computing space requirements...
Action start 12:00:06: CostInitialize.
MSI (c) (2C:C8) [12:00:06:072]: Machine policy value 'MaxPatchCacheSize' is 10
MSI (c) (2C:C8) [12:00:06:073]: Note: 1: 2705 2: Directory
DEBUG: Error 2705: Invalid table: Directory; Could not be linked as tree.
Answered 07/08/2009 by: capitadev
Senior Yellow Belt

Please log in to comment
0
The problem got worse it regularly failed with the 2705 error. I used Wise to debug the project WSI file and this does show an error in red. I then rebuilt the MSI with Wise and it is working no errors. I dont understand why :(

I routinely generate a new package code. I then set the Product Code and select no to not change the Upgrade Code.
Answered 07/09/2009 by: capitadev
Senior Yellow Belt

Please log in to comment
0
Bumped! Does nobody know what might cause this?
Answered 07/20/2009 by: capitadev
Senior Yellow Belt

Please log in to comment
0
Yes. Kim did, 12 days ago! :) You have a missing/incorrect entry in the 'Directory' table.
Answered 07/20/2009 by: VBScab
Red Belt

Please log in to comment
0
Well yes and no this error is evident only sometimes. I still don't understand why it works mainly but fails quite regularly recently. I am rebuilding the installer now and will report back.
Answered 07/20/2009 by: capitadev
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity