Hello,

We are trying to build an MSI that supports MultipleInstances and wrap it
with a custom Burn bootstrapper application.
Our MSIs install MultipleInstances successfully when we run them with
msiexec from the command line.
But running it through Burn doesn't do anything... the first instance
installs well, but any successive run of the bundle doesn't run the MSI at
all.
I can see that by the fact that a Burn log file is created - but an MSI log
is not.

*InstanceTransforms is defined in the MSI (inside <Product> element) in the
following way:*

  <Property Id="INSTANCEID" Value="Default" />
  <InstanceTransforms Property="INSTANCEID">
      <Instance Id="I01"
ProductCode="{D9CCCA81-18A0-4f8c-B75B-3C639EF0F8C0}" ProductName="INST_I01"
/>
      <Instance Id="I02"
ProductCode="{E43649D0-FCDE-451f-9CB9-E1C40B992B09}" ProductName="INST_I02"
/>
      <Instance Id="I03"
ProductCode="{961A1D9E-030A-4cf7-A981-BB40A950336C}" ProductName="INST_I03"
/>
      <Instance Id="I04"
ProductCode="{B409081C-BF0F-40d4-B472-CE69D2546869}" ProductName="INST_I04"
/>
      <Instance Id="I05"
ProductCode="{960B4CBC-356F-430f-89B3-6F1E0FE66740}" ProductName="INST_I05"
/>
       ....
  </InstanceTransforms>

In addition to application specific params, we pass MSINEWINSTANCE="1" and
"TRANSFORMS=":I01" (for example) - which should be enough for the MSI to
transform itself.
(Using the standard way (Chain/MsiPackage/MsiProperty) - and these
parameters do show up in the Burn log, so I don't think there's a problem
there)
but it has no effect, seems like Burn doesn't run the MSI at all... maybe
it detects that the whole Bundle is already installed and gives up? anyhow,
there's no indication of this in the log.

*Here is the Burn log that is generated:*
[8AE4:AF24][2013-06-05T14:10:13]i001: Burn v3.7.1224.0, Windows v6.1 (Build
7601: Service Pack 1), path:
C:\Dev\V3\Agents\Infrastructure\Installers\WIX.Installer\AgentBundle\bin\Debug\Agent
Installer.exe, cmdline: '-burn.unelevated
BurnPipe.{FDDCC669-1042-481D-9BF2-8D1E7E09B7A5}
{29E02C10-FDE4-4E58-BCFA-A96EC95D6CE3} 44248'
[8AE4:AF24][2013-06-05T14:10:13]i000: Setting string variable
'WixBundleLog' to value
'C:\Users\ADMINI~1.XXX\AppData\Local\Temp\Agent_Framework_20130605141013.log'
[8AE4:AF24][2013-06-05T14:10:13]i000: Setting string variable
'WixBundleOriginalSource' to value
'C:\Dev\V3\Agents\Infrastructure\Installers\WIX.Installer\AgentBundle\bin\Debug\Agent
Installer.exe'
[8AE4:AF24][2013-06-05T14:10:13]i000: Loading managed bootstrapper
application.
[8AE4:AF24][2013-06-05T14:10:13]i000: Creating BA thread to run
asynchronously.
[8AE4:A4B0][2013-06-05T14:10:13]i000: Running the Installer BA
[8AE4:AF24][2013-06-05T14:10:13]i100: Detect begin, 1 packages
[8AE4:AF24][2013-06-05T14:10:13]i101: Detected package: Installer.msi,
state: Present, cached: Complete
[8AE4:AF24][2013-06-05T14:10:13]i199: Detect complete, result: 0x0
[8AE4:A4B0][2013-06-05T14:10:18]i000: Setting string variable
'MSINEWINSTANCE' to value '1'
[8AE4:A4B0][2013-06-05T14:10:18]i000: Setting string variable 'TRANSFORMS'
to value ':I01'
[8AE4:AF24][2013-06-05T14:12:41]i500: Shutting down, exit code: 0x0
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleAction = 4
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleElevated = 1
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleInstalled = 1
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleLog =
C:\Users\ADMINI~1.XXX\AppData\Local\Temp\Agent_Framework_20130605141013.log
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleManufacturer = My
Company Ltd.
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleName = Agent
Framework
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleOriginalSource =
C:\Dev\V3\Agents\Infrastructure\Installers\WIX.Installer\AgentBundle\bin\Debug\Agent
Installer.exe
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleProviderKey =
{f30559a9-1b94-4897-8975-ab96ebeaedc4}
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleTag =
[8AE4:AF24][2013-06-05T14:12:41]i410: Variable: WixBundleVersion = 1.0.0.0
[8AE4:AF24][2013-06-05T14:12:41]i007: Exit code: 0x0, restarting: No


Are we doing something wrong?
Is there a way to operate a Multiple Instances through Burn at this stage?


Thanks in advance for any help...
Roman.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to