tags:

views:

1903

answers:

3

Hi all, I has an msi installer which was working fine. I added an extrenal merge module . There were some directory merge errors during compilation. I removed the directories causing the error from the directory table of merge module.

I am getting the error MSI error 2732 error :Directory Manager not initialized

Please help in solving the issue

Thanks Praveen

A: 

One possibility is that you may not have put a backslash (\) after a directory path in the set directory action or the custom action should be CostInitialize

Codeslayer
+1  A: 

The Windows Installer Error Messages documentation for error 2732 says:

"The directory manager is responsible for determining the target and source paths. It is initialized during the costing actions (CostInitialize action, FileCost action, and CostFinalize action). A standard action or custom action made a call to a function requiring the directory manager before the initialization of the directory manager. This action should be sequenced after the costing actions."

Mike Dimmick
A: 

As Mike Dimmick said get the sequence number of CostIntialize from "InstallUISequence" table now got to InstallExecuteSequence table and find your custom action and update the sequence value to the CostIntialize value

I worked fine for me you have to check for ur case

Mohit