I am using InstallShield 2009 to generate an MSI for a codebase I have inherited. The code is comprised of VB6, and .NET 2.0 code (C# and C++). I'm developing and installing on Windows XP SP2.
I created the Install Shield project (call it "MyClient.ISM") by reverse engineering it from the MSI provided by the previous team. Their configurations are the now the same.
I then configured InstallShield to produce the MSI. This built, without error.
However, when I try to run my MSI it fails with two "Error 1001 InstallUtilLib.dll: Unknown Error" dialogs and then successfully backs out the changes it has made.
I then ran MyClient.MSI with the msiexec command. E.g.
msiexec /lvx C:\inst_server.log /i "C:\MyClient.MSI"
It seemed that the problem was due to a 2769 error. The error locations from the log files resulting from this are below.:
DEBUG: Error 2769: Custom Action _A11801EAD1E34CFF981127F7B95C3BE5.install did not close 1 MSIHANDLEs.
This Custom Action was trying to install .NET services. So I then went to InstallShield and removed all custom actions (install, uninstall, commit and rollback as well as the associated SetProperty's) and built and installed again. This worked, but the services were no longer installed. I now need to install these .NET Services using an InstallShield method which works.
Any help in this would be greatly appreciated.
Kind Regards, Andrew