Hi,
Have you tried putting <Payload> elements under your <ExePackage> for the
extra files?

Dave

-----Original Message-----
From: John Robbins [mailto:j...@wintellect.com] 
Sent: 14 April 2011 07:00
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX 3.6 Burn <ExePackage> Problem -- How to run EXE in
place instead of caching?

Hello,

I'm chugging along with a Burn installer and its going quite well. Burn is
downright cool! That is until I ran into Chrystal Reports. I've gotten Burn
to include all the loose Chrystal Reports files with the LayoutDirectory and
LayoutFile elements into my installer directory structure. However, when I
run through the install Burn insists on copying the ExePackage
Name/SourceFile element to the C:\ProgramData\Cache\{GUID} directory even
with Cache='no'. Hence, Chrystal Reports SETUP.EXE can't find the rest of its
files. Kind of makes it hard to install. :) 

Is there anything I can do to tell ExePackage to run in place relative to the
main EXE instead of caching? I'm sure I'm missing something obvious.

    <PackageGroup Id="CrystalReportsXIR2">
      <ExePackage Id="CrystalReportsXIR2"
                  Compressed="no" <--- Tried yes, too.
                  Cache="no"          <--- Tried yes, too.
                  PerMachine="yes"
                  Vital="yes" 
                  Name=".\PreReq\CrystalReportsXIR2\Setup.exe"
                  SourceFile=".\PreReq\CrystalReportsXIR2\Setup.exe"
                  InstallCommand="/qn CLIENTLANGUAGE=EN PIDKEY=XXXXXX
REBOOT=ReallySuppress ADDLOCAL=ALL"
                  DetectCondition="CrystalReportsXIR2Installed"/>
    </PackageGroup>

    <LayoutDirectory Id="PreReqCRXIR2" Name=".\PreReq\CrystalReportsXIR2">
      <LayoutFile SourceFile=".\PreReq\CrystalReportsXIR2\autorun.inf"/>
      <LayoutFile
SourceFile=".\PreReq\CrystalReportsXIR2\CRXIR2_Autorun.exe"/>
      <LayoutFile SourceFile=".\PreReq\CrystalReportsXIR2\Setup.exe"/>
      <LayoutFile SourceFile=".\PreReq\CrystalReportsXIR2\setup.ini"/>
      <LayoutDirectory Name="win32">
        <LayoutFile
SourceFile=".\PreReq\CrystalReportsXIR2\win32\CrystalReports.cab"/>
.....

John
Wintellect
http://www.wintellect.com
+1-877-968-5528

-----------------------------------------------------------------------------
-
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to