Note that there are some explanatory texts on larger screens.

plurals
  1. POWiX multi-instance install error (The error code is 2755. The arguments are: 1639)
    primarykey
    data
    text
    <p>I've been working on creating multiple instances for my install and this is the code I have so far NOTE: Obvious data has been removed. I get the UI come up and I get all the way up to the Install phase and just when it hits the Progress Dialog I get an error message.</p> <p>I know it's not my msiexec version or the service as I have checked everything. Can anyone let me know exactly what is causing this issue?</p> <pre><code>&lt;!--Multi-instance--&gt; &lt;InstanceTransforms Property="INSTANCEID"&gt; &lt;Instance Id="Inst1" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductInst1"/&gt; &lt;Instance Id="Inst1Stage" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductInst1Stage"/&gt; &lt;Instance Id="Inst3" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductInst3"/&gt; &lt;Instance Id="Inst4" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductInst4"/&gt; &lt;Instance Id="Other" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductOther"/&gt; &lt;Instance Id="Other2" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductOther2"/&gt; &lt;Instance Id="Other3" Inst1PProductductCode="**GUID**" Inst1PProductductName="Inst1PProductductOther3"/&gt; &lt;/InstanceTransforms&gt; &lt;!--Registering Multiple Instances--&gt; &lt;Property Id="Inst1INSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="Inst1Inst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Inst1" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;Property Id="Inst1STAGEINSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="Inst1StageInst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Inst1Stage" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;Property Id="Inst3INSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="Inst3Inst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Inst3" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;Property Id="Inst4INSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="Inst4Inst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Inst4" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;Property Id="OTHERINSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="OtherInst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Other" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;Property Id="OTHER2INSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="Other2Inst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Other2" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;Property Id="OTHER3INSTALLEDInst1PProductductCODE"&gt; &lt;RegistrySearch Id="Other3Inst1PProductductCodeLookUp" Key="$(var.RegKeyDir)\Other3" Name="**GUID**" Productot="HKLM" Type="raw"/&gt; &lt;/Property&gt; &lt;!--Installation Files--&gt; &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt; &lt;Directory Id="PProductgramFilesFolder" Name="PProductgramFiles"&gt; &lt;Directory Id="INSTALLDIR" Name="Inst1PProductduct"&gt; &lt;Directory Id="Inst1PProductductWEB"&gt; &lt;!--Name="Inst1PProductduct(Inst1) Web"--&gt; &lt;!--RegCompCode--&gt; &lt;!--IISWebPoolCode--&gt; &lt;Component Id="IISWebPool" Guid="$(var.IISWebPoolCode)" Win64="no" MultiInstance="yes" Permanent="yes"&gt; &lt;iis:WebAppPool Id="Inst1PProductduct" Name="Inst1PProductductAppPool" ManagedRuntimeVersion="[NET_VER]" IdleTimeout="0" RecycleMinutes="0" ManagedPipelineMode="integrated"/&gt; &lt;CreateFolder /&gt; &lt;/Component&gt; &lt;!--IISWebRegCode--&gt; &lt;Component Id="IISWebReg" Guid="$(var.IISWebRegCode)" KeyPath="yes" MultiInstance="yes"&gt; &lt;iis:WebVirtualDir Id="ProductVirtualDir" Alias="[SHORTCUT]" Directory="Inst1PProductductWEB" WebSite="DefaultWebSite" &gt; &lt;iis:WebApplication Id="ProductWebApp" Name="[SHORTCUT]" WebAppPool="Inst1PProductduct" /&gt; &lt;iis:WebDirPProductperties Id="ProductWebDir" AnonymousAccess="yes" WindowsAuthentication="yes" /&gt; &lt;/iis:WebVirtualDir&gt; &lt;CreateFolder /&gt; &lt;/Component&gt; &lt;!--WebDataFilesCode--&gt; &lt;Component Id="WebDataFiles" Guid="$(var.WebDataFilesCode)" MultiInstance="yes"&gt; &lt;File Id="clientaccesspolicy.xml" Source="$(var.Inst1PProductductWebFiles)\clientaccesspolicy.xml" Vital="yes" DiskId="1"/&gt; &lt;File Id="Default.aspx" Source="$(var.Inst1PProductductWebFiles)\Default.aspx" Vital="yes" DiskId="1"/&gt; &lt;File Id="Global.asax" Source="$(var.Inst1PProductductWebFiles)\Global.asax" Vital="yes" DiskId="1"/&gt; &lt;File Id="Global.asax.cs" Source="$(var.Inst1PProductductWebFiles)\Global.asax.cs" Vital="yes" DiskId="1"/&gt; &lt;File Id="Help.aspx" Source="$(var.Inst1PProductductWebFiles)\Help.aspx" Vital="yes" DiskId="1"/&gt; &lt;File Id="Help.aspx.cs" Source="$(var.Inst1PProductductWebFiles)\Help.aspx.cs" Vital="yes" DiskId="1"/&gt; &lt;File Id="Print.aspx" Source="$(var.Inst1PProductductWebFiles)\Print.aspx" Vital="yes" DiskId="1"/&gt; &lt;File Id="Report.aspx" Source="$(var.Inst1PProductductWebFiles)\Report.aspx" Vital="yes" DiskId="1"/&gt; &lt;File Id="Inst1PProductductHelp.aspx" Source="$(var.Inst1PProductductWebFiles)\Inst1PProductductHelp.aspx" Vital="yes" DiskId="1"/&gt; &lt;File Id="Silverlight.js" Source="$(var.Inst1PProductductWebFiles)\Silverlight.js" Vital="yes" DiskId="1"/&gt; &lt;File Id="WcfPortal.svc" Source="$(var.Inst1PProductductWebFiles)\WcfPortal.svc" Vital="yes" DiskId="1"/&gt; &lt;File Id="WcfSecurePortal.svc" Source="$(var.Inst1PProductductWebFiles)\WcfSecurePortal.svc" Vital="yes" DiskId="1"/&gt; &lt;File Id="Web.sample.config" Source="$(var.Inst1PProductductWebFiles)\Web.sample.config" Vital="yes" DiskId="1"/&gt; &lt;File Id="WpfWcfPortal.svc" Source="$(var.Inst1PProductductWebFiles)\WpfWcfPortal.svc" Vital="yes" DiskId="1"/&gt; &lt;File Id="Web.config" KeyPath="yes" Source="$(var.Inst1PProductductWebFiles)\Web.config" Vital="yes" /&gt; &lt;util:XmlFile Id="SetConn" Action="setValue" ElementPath="/configuration/connectionStrings/add[\[]@name='Inst1PProductductConnectionString'[\]]/@connectionString" Value="Data Source=[SERVERNAME];Initial Catalog=[DBNAME];Password=&amp;quot;encrypted:kUrWr7n47L3akvAu89Evew==&amp;quot;;User ID=Productster;" File="[#Web.config]" SelectionLanguage="XPath" Sequence="1" /&gt; &lt;/Component&gt; &lt;!--RegisterFolderCode--&gt; &lt;!--&lt;Component Id="RegisterFolder" Guid="$(var.RegisterFolderCode)"&gt; &lt;RegistryValue Id="AppAlias" Name="AppAlias" Productot="HKLM" Key="SOFTWARE\Inst1PProductduct\Inst1PProductductWeb(Inst1)" Type='string' Value="[SHORTCUT]" KeyPath='yes'/&gt; &lt;RegistryValue Id="VirtualDir" Name='VirtualDir' Productot='HKLM' Key='SOFTWARE\Inst1PProductduct\Inst1PProductductWeb(Inst1)' Type='string' Value='[SHORTCUT]'/&gt; &lt;/Component&gt;--&gt; &lt;!--Registering Individual Instances--&gt; &lt;Component Id="Registry_Inst1" Guid="$(var.RegInst1Comp)"&gt; &lt;Condition&gt;&lt;![CDATA[INSTANCEID = "Inst1"]]&gt;&lt;/Condition&gt; &lt;RegistryKey Productot="HKLM" Key="$(var.RegKeyDir)\[INSTANCEID]" &gt; &lt;RegistryValue Id="Presence_Inst1" Action="write" Name="Inst1Inst1PProductductCode" Value="[Inst1PProductductCode]" Type="string" KeyPath="yes" /&gt; &lt;/RegistryKey&gt; &lt;/Component&gt; &lt;Component Id="Registry_Inst1Stage" Guid="$(var.RegInst1StageComp)"&gt; &lt;Condition&gt;&lt;![CDATA[INSTANCEID = "Inst1Stage"]]&gt;&lt;/Condition&gt; &lt;RegistryKey Productot="HKLM" Key="$(var.RegKeyDir)\[INSTANCEID]" &gt; &lt;RegistryValue Id="Presence_Inst1Stage" Action="write" Name="Inst1StageInst1PProductductCode" Value="[Inst1PProductductCode]" Type="string" KeyPath="yes" /&gt; &lt;/RegistryKey&gt; &lt;/Component&gt; &lt;Component Id="Registry_Inst3" Guid="$(var.RegInst3Comp)"&gt; &lt;Condition&gt;&lt;![CDATA[INSTANCEID = "Inst3"]]&gt;&lt;/Condition&gt; &lt;RegistryKey Productot="HKLM" Key="$(var.RegKeyDir)\[INSTANCEID]" &gt; &lt;RegistryValue Id="Presence_Inst3" Action="write" Name="Inst3Inst1PProductductCode" Value="[Inst1PProductductCode]" Type="string" KeyPath="yes" /&gt; &lt;/RegistryKey&gt; &lt;/Component&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;!--Create web applicaton under Default Website--&gt; &lt;iis:WebSite Id="DefaultWebSite" Description="[SHORTCUT]" Directory="Inst1PProductductWEB"&gt; &lt;iis:WebAddress Id="AllUnassigned" Port="80" /&gt; &lt;/iis:WebSite&gt; &lt;Feature Id="$(var.Feature)Install" Title="$(var.InstallName) Installer" Description="$(var.InstallName) Setup Wizard" Display="expand" Level="1" ConfigurableDirectory="Inst1PProductductWEB"&gt; &lt;Feature Id="$(var.Feature)" Title="$(var.InstallName)" Description="$(var.InstallName)" Level="1"&gt; &lt;ComponentRef Id="IISWebPool" /&gt; &lt;ComponentRef Id="IISWebReg" /&gt; &lt;ComponentRef Id="WebDataFiles" /&gt; &lt;ComponentRef Id="BinFiles" /&gt; &lt;ComponentRef Id="ClientBinFiles" /&gt; &lt;ComponentRef Id="Registry_Inst1" /&gt; &lt;ComponentRef Id="Registry_Inst1Stage" /&gt; &lt;ComponentRef Id="Registry_Inst3" /&gt; &lt;/Feature&gt; &lt;/Feature&gt; &lt;!--UI--&gt; &lt;UI Id="Installer_UI"&gt; &lt;UIRef Id="WixUI_Mondo"/&gt; &lt;Property Id="WIXUI_INSTALLER" Value="TARGETDIR"/&gt; &lt;DialogRef Id="InstallerUIDlg"/&gt; &lt;DialogRef Id="InstallDlg"/&gt; &lt;DialogRef Id="InstallPProductgressDlg"/&gt; &lt;Publish Dialog="ExitDialog" ContProductl="Finish" Event="EndDialog" Value="Return" Order="999"&gt;&lt;/Publish&gt; &lt;Publish Dialog="LicenseAgreementDlg" ContProductl="Next" Event="NewDialog" Value="InstallerUIDlg" Order="2"&gt;LicenseAccepted = "1"&lt;/Publish&gt; &lt;Publish Dialog="SetupTypeDlg" ContProductl="Back" Event="NewDialog" Value="InstallerUIDlg" Order="2"&gt;1&lt;/Publish&gt; &lt;Publish Dialog="PProductgressDlg" ContProductl="Next" Event="NewDialog" Value="InstallerUIDlg" Order="2"&gt;1&lt;/Publish&gt; &lt;/UI&gt; &lt;UIRef Id="WixUI_Common"/&gt; &lt;!--Custom Actions--&gt; &lt;CustomAction Id="SetInst1PProductductName" Property="Inst1PProductductName" Value="[[Inst1PProductductNameProperty][INSTANCEID]]" /&gt; &lt;CustomAction Id="SetInstanceDirectory" Property="Inst1PProductductWEB" Value="[INSTALLDIR][INSTANCEID]\"/&gt; &lt;CustomAction Id="SetTransforms" Property="TRANSFORMS" Value="{:[INSTANCEID];}[TRANSFORMS]" /&gt; &lt;CustomAction Id="SetNewInstance" Property="MSINEWINSTANCE" Value="1" /&gt; &lt;CustomAction Id="SetInstance_Inst1" Property="INSTANCEID" Value="Inst1" /&gt; &lt;CustomAction Id="SetInstance_Inst1Stage" Property="INSTANCEID" Value="Inst1Stage" /&gt; &lt;CustomAction Id="SetInstance_Inst3" Property="INSTANCEID" Value="Inst3" /&gt; &lt;CustomAction Id="SetInstance_Inst4" Property="INSTANCEID" Value="Inst4" /&gt; &lt;CustomAction Id="SetInstance_Other" Property="INSTANCEID" Value="Other" /&gt; &lt;CustomAction Id="SetInstance_Other2" Property="INSTANCEID" Value="Other2" /&gt; &lt;CustomAction Id="SetInstance_Other3" Property="INSTANCEID" Value="Other3" /&gt; &lt;InstallExecuteSequence&gt; &lt;Custom Action="SetInst1PProductductName" Before="ValidateInst1PProductductID" /&gt; &lt;Custom Action="SetInstanceDirectory" Before="CostFinalize"&gt;&lt;![CDATA[Inst1PProductductWEB = ""]]&gt;&lt;/Custom&gt; &lt;RemoveExistingInst1PProductducts Before="InstallInitialize" /&gt; &lt;/InstallExecuteSequence&gt; &lt;InstallUISequence&gt; &lt;Custom Action="SetInstance_Inst1" Before="SetTransforms"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND Inst1INSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetInstance_Inst1Stage" After="SetInstance_Inst1"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND Inst1STAGEINSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetInstance_Inst3" After="SetInstance_Inst1Stage"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND Inst3INSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetInstance_Inst4" After="SetInstance_Inst3"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND Inst4INSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetInstance_Other" After="SetInstance_Inst4"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND OTHERINSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetInstance_Other2" After="SetInstance_Other"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND OTHER2INSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetInstance_Other3" After="SetInstance_Other2"&gt;&lt;![CDATA[ACTION = "INSTALL" AND INSTANCEID = "Default" AND OTHER3INSTALLEDInst1PProductductCODE = ""]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetTransforms" Before="ExecuteAction"&gt;&lt;![CDATA[ACTION = "INSTALL"]]&gt;&lt;/Custom&gt; &lt;Custom Action="SetNewInstance" Before="ExecuteAction"&gt;&lt;![CDATA[ACTION = "INSTALL"]]&gt;&lt;/Custom&gt; &lt;/InstallUISequence&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload