Resolve "Portrait Dialogue Database -- Error 1720" in V6 Portrait Dialogue

Issue



Event Viewer entry will look like this

Product: Portrait Dialogue Database -- Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action MHDoSystemDataUpdates script error -2146824582, ADODB.Command: Provider cannot be found. It may not be properly installed. Line 15, Column 1, 
Event Xml: 
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
<System> 
<Provider Name="MsiInstaller" /> 
<EventID Qualifiers="0">11720</EventID> 
<Level>2</Level> 
<Task>0</Task> 
<Keywords>0x80000000000000</Keywords> 
<TimeCreated SystemTime="2013-09-24T07:33:45.000000000Z" /> 
<EventRecordID>4394</EventRecordID> 
<Channel>Application</Channel> 
<Computer>fdai-2008-en.pbsdemo.local</Computer> 
<Security UserID="S-1-5-21-1781999340-4134081829-4286718399-500" /> 
</System> 
<EventData> 
<Data>Product: Portrait Dialogue Database -- Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action MHDoSystemDataUpdates script error -2146824582, ADODB.Command: Provider cannot be found. It may not be properly installed. Line 15, Column 1, </Data> 
<Data>(NULL)</Data> 
<Data>(NULL)</Data> 
<Data>(NULL)</Data> 
<Data>(NULL)</Data> 
<Data>(NULL)</Data> 
<Data> 
</Data> 
<Binary>7B42413137374432372D354443352D343030432D413337442D4145454230343937373437307D</Binary>
</EventData> 
</Event> 

Cause

Error 1720.There is a problem with this Windows Installer package while installing potrait dialogue

Resolution

UPDATED: August 24, 2017

1.To remove bad entries from your machine please run program given on this link prior to installing PD 

http://support.microsoft.com/mats/Program_Install_and_Uninstall 


2. Please ensure that you have the pre requisite prior installing PD. For more details refer page number 14 and 15 of pd server installation guide. 
3. Enable IIS to run 32 bit application on 64-bit windows. Below are the steps. You can refer these details on pd server installation guide page 21 

Enabling IIS to run 32-bit applications on 64- bit Windows (optional) 
If installing Portrait Dialogue on a 64-bit server, you must enable IIS to run 32-bit applications on 64-bit 
Windows. 
1. Open a command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts directory. 
2. Type the following command: cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 
3. Press ENTER. Note: Ensure that the IIS application pool used to run the Dialogue Web Applications 
is configured with a Managed Pipeline Mode of Classic. By default, Dialogue Web Applications use the De faultAppPool application pool. 
4.Run the installer by right clicking “run as administrator”.