[wix-users] Need some help fixing this Burn script...
egcastr at gmail.com
Wed Mar 20 08:54:27 PDT 2019
Can you share logs?
Edwin G. Castro
On Wed, Mar 20, 2019 at 8:15 AM Mike Franchitti <
mfranchitti at redshift-tech.com> wrote:
> Thanks a lot - I am now using the DetectCondition & InstallCondition
> My script is still trying to execute installers in the chain multiple
> times. To be specific - it asks me to install Gazepoint, Consensys, etc...
> two times during a single run of the burn installer...
> On Wed, Mar 20, 2019 at 10:43 AM Edwin Castro <egcastr at gmail.com> wrote:
>> Logs are very helpful in determining what the bundle is doing. Here are
>> some general comments instead...
>> I think you use DetectCondition to determine if a package is installed.
>> I think you use InstallCondition to decide whether to install a package
>> that is not installed.
>> For example, I use DetectCondition to determine if an ExePackage is
>> already installed *but* I use InstallCondition to install the 32-bit
>> package on a 32-bit OS and the 64-bit package on a 64-bit OS.
>> MsiPackage can already determine if an MSI is already is installed so you
>> probably do not need the RegistrySearch for it. I use InstallCondition with
>> MsiPackage to install the 32-bit package on a 32-bit OS and the 64-bit
>> package on a 64-bit OS.
>> Edwin G. Castro
>> On Wed, Mar 20, 2019, 06:49 Mike Franchitti via wix-users <
>> wix-users at lists.wixtoolset.org> wrote:
>>> The following script is not working correctly, and I am not sure how to
>>> proceed - if someone could take a look and provide some feedback I'd
>>> appreciate it...
>>> My target is to get this working on Windows 10.
>>> Here are the problems I've seen so far:
>>> - The generated .exe tries to run some of the installers listed in the
>>> chain multiple times.
>>> - The Sparkwave installer (which works on it's own) fails to run if
>>> placed AFTER the CDM installer with errors related to verifying it's
>>> (If I place the Sparkwave installer BEFORE the CDM installer in the
>>> it works correctly)...
>>> - The CDM installer appears to run all the way through, but upon click
>>> the final "finish" button in that installer the Burn script fails
>>> with Error 0x80070001. I think this is related to it's attempt to run
>>> same installers multiple times...
>>> Here is my script:
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="
>>> <Bundle Name="Bootstrap" Version="18.104.22.168" Manufacturer="Bootstrap"
>>> Id="WixStandardBootstrapperApplication.RtfLicense" />
>>> Result="exists" />
>>> Result="exists" />
>>> Key="Software\Spark Neuro\Sparkwave"
>>> <PackageGroupRef Id="NetFx472Redist"/>
>>> <ExePackage Id='GazepointControl'
>>> SourceFile="../../ExternalSoftware/Gazepoint_5.3.0.exe" Vital='yes'
>>> PerMachine='yes' InstallCondition='NOT GazepointFound'/>
>>> <ExePackage Id='Consensys'
>>> SourceFile="../../ExternalSoftware/Setup.exe" Vital='yes'
>>> InstallCondition='NOT ConsensysFound'/>
>>> <MsiPackage Id='Sparkwave' SourceFile='Sparkwave.msi' Vital='yes'
>>> InstallCondition='NOT SparkwaveFound' Visible='yes'
>>> <ExePackage Id='SerialPortDriver'
>>> SourceFile="../../ExternalSoftware/CDM21228_Setup.exe" Vital='yes'
>>> PerMachine='yes' InstallCondition='NOT FTDIFound'/>
>>> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users