Quantcast

BootStraper Not working proper

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

BootStraper Not working proper

vipul langalia
This post has NOT been accepted by the mailing list yet.
Hello

I have prepare some BootStraper project. In it I am checking that if version is 64 bit then AccessDatabaseEngine_x64.exe should be installed else 32 bit exe should be installed.
After that my local application setup should be installed.

If I directly run my local application setup then at the time of installation it will ask for path on which setup should be installled. But If I use bootStraper then it will directly install to static path It will not ask for path on which setup should be installed.

Ref link :
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-Install-Prerequisites-using-WIX-td7595769.html#a7595925

Can you please guide me for this?

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
        <Bundle Name="Bootstrapper1" Version="1.0.0.0" Manufacturer="Acty-sys"  UpgradeCode="05d8b3d1-f903-47c3-8070-c51539040d81">

    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" >
      </BootstrapperApplicationRef>
   
    <Chain>
   
     
       <ExePackage Id="Dependency1_x86" SourceFile=".\EXE\AccessDatabaseEngine.exe" UninstallCommand="/q /norestart /ACTION=Uninstall /lang:ENU"
                   RepairCommand="/q /norestart /lang:ENU"
    InstallCondition="(NOT VersionNT64) AND (VersionNT &gt; v6.0)"  DetectCondition="Found32=1"
    Name="Dependency1_x86\AccessDatabaseEngine.exe"
     />
 
     
    <ExePackage Id="Dependency1_x64"   SourceFile=".\EXE\AccessDatabaseEngine_x64.exe" UninstallCommand="/q /norestart /ACTION=Uninstall /lang:ENU"
                RepairCommand="/q /norestart /lang:ENU"
     InstallCondition="VersionNT64 AND (VersionNT &gt; v6.0)"  DetectCondition="Found64"
     Name="Dependency1_x64\AccessDatabaseEngine.exe"
     />
 
       <MsiPackage Id="MyApplication"  SourceFile=".\EXE\SetupProject1.msi" />
     
                </Chain>
   
        </Bundle>
<Fragment>
  <util:RegistrySearch Id="Installed64" Root="HKLM" Key="SOFTWARE\Microsoft\Office\14.0\Access Connectivity Engine\Engines\ACE" Value="UserCommitSync" Variable="Found64"/>
  <util:DirectorySearch Id="Installed32" Path="[ProgramFilesFolder]\Microsoft Office\Office14" Variable="Found32"/>
</Fragment>
</Wix>

can you please guide me for this?

Regards
Vipul



Loading...