hello,
I am using Wix for making a chain of installations : (.net framework
2.1, own-program1.msi, own-program2.msi, FirebirdODBC.exe,
Sentinel_SafeNet_Drivers.exe, VisualStudio_Redistributale_9.exe,
VisualStudio_Redistributale_10.exe)
When This chain runs, all goes fine, except on Windows XP.
Then when the wix-installer (Burn) has installed the
'Sentinel_SafeNet_Drivers.exe' then the start-dialog appears above the
normal ending-dialog. This is very confusing because the user sees this
start-dialog (the one containnig the the license-agreement and the
'install' and 'cancel' button)
Is it some 'bug' ? or ...
here is some code-snippet
// Start code-snippet
<!--setting default on 'installation=TRUE'-->
<Variable Name="AutoFit_Total_FireBirdODBC" Value="1"/>
<Variable Name="AutoFit_Total_AutoFit" Value="1"/>
<Variable Name="AutoFit_Total_ITD" Value="1"/>
<Variable Name="AutoFit_Total_Sentinel_Driver" Value="1"/>
<Chain>
<!-- TODO: Define the list of chained packages. -->
<PackageGroupRef Id="Netfx2SP1"/>
<ExePackage Id="Firebird_odbc"
SourceFile="InstallFiles\firebirdodbc.exe"
Cache="no"
Vital="no"
Compressed="yes"
PerMachine="yes"
Permanent="yes"
InstallCondition="AutoFit_Total_FireBirdODBC"
/>
<MsiPackage Id="AutoFit_V5"
SourceFile="C:\svn\vs2010\Wix_WindowsInstaller\AutoFitV5-wix-installer\AutoFitV5-wix-installer\bin\Release\AutoFit-V5.msi"
DisplayInternalUI="yes"
Vital="no"
Cache="no"
InstallCondition="AutoFit_Total_AutoFit"
/>
<MsiPackage Id="ITD"
SourceFile="C:\svn\vs2010\Wix_WindowsInstaller\ITD-wix-installer\ITD-wix-installer\bin\Release\ITD.msi"
DisplayInternalUI="yes"
Cache="no"
Vital="no"
InstallCondition="AutoFit_Total_ITD"
/>
<PackageGroupRef Id="vcredist9sp1_x86"/>
<PackageGroupRef Id="vcredist10sp1_x86"/>
<!--This will ask for a reboot-->
<!--If the user does not reboot then the 'start-dialog' will
appear above the normal 'ending-dialog'-->
<PackageGroupRef Id="Sentinel_Driver"/>
</Chain>
</Bundle>
<Fragment>
<!--This will ask for a reboot-->
<PackageGroup Id="Sentinel_Driver">
<ExePackage Id="Sentinel_Driver"
SourceFile="InstallFiles\Sentinel_System_Driver_Installer_7.5.8.exe"
Cache="no"
Vital="no"
PerMachine="yes"
Permanent="yes"
Name="Sentinel_Driver"
InstallCondition="AutoFit_Total_Sentinel_Driver"
>
<!--<ExitCode Value ="3010" Behavior="forceReboot" />-->
</ExePackage>
</PackageGroup>
<!--<InstallExecuteSequence>
<ScheduleReboot After="InstallFinalize" />
</InstallExecuteSequence>-->
</Fragment>
<!--detection and installation of Vc_redist10-->
<Fragment>
<!--DetectCondition="vcredist9 AND (vcredist9 >= 1)">-->
<!--<util:RegistrySearch Root="HKLM"
Key="SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0\RED\1033" Value="SP"
Variable="vcredist9" />-->
<PackageGroup Id="vcredist9sp1_x86">
<ExePackage Id="vcredist9sp1_x86"
Cache="no"
Compressed="yes"
PerMachine="yes"
Permanent="yes"
Vital="yes"
Name="vcredist9sp1_x86.exe"
SourceFile="res\vcredist9sp1_x86.exe"
InstallCommand="/q">
<ExitCode Value ="3010" Behavior="forceReboot" />
</ExePackage>
</PackageGroup>
</Fragment>
<!--detection and installation of Vc_redist10-->
<Fragment>
<!--DetectCondition="vcredist10 AND (vcredist10 >= 1)">-->
<!--<util:RegistrySearch Root="HKLM"
Key="SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0\RED\1033" Value="SP"
Variable="vcredist10" />-->
<PackageGroup Id="vcredist10sp1_x86">
<ExePackage Id="vcredist10sp1_x86"
Cache="no"
Compressed="yes"
PerMachine="yes"
Permanent="yes"
Vital="yes"
Name="vcredist10sp1_x86.exe"
SourceFile="res\vcredist10sp1_x86.exe"
InstallCommand="/q">
<ExitCode Value ="3010" Behavior="forceReboot" />
</ExePackage>
</PackageGroup>
</Fragment>
// End code-snippet
This behaviour is only on Windows XP (Windows Vista, Windows7 has no
trouble)
Thx !
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users