Hi,

I have a fragment that i have created through Heat. Basically i want to 
create a db directory that has db files inside it through the installer. 
It has the structure as below:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
     <Fragment>
         <DirectoryRef Id="">
             <Directory Id="" Name="db">
                 <Component Id="cmpCB46AAB9A4F3EB62F8247A194B4BBB4B" 
Guid="{DE25A51B-AD43-4C74-8F84-9336AAC18BA0}">
                     <File Id="fil8B6B2F5720D83AD50A3898087E4DADF1" 
KeyPath="yes" Source="SourceDir\alarm.db" />
                 </Component>
                  ...... many components follow here
                  ........
                  ........
                 .
                 .
                 .
             </Directory>
         </DirectoryRef>
     </Fragment>
</Wix>

My main WiX installer file is as below:

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
   <Product Name='Tort Demo 1.0' 
Id='0A6A060C-20A5-4716-994D-BC728A904F27' 
UpgradeCode='3F665FE5-D9A9-4C9E-B260-7D54970C99F3'
     Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme 
Ltd.'>

     <Package Id='*' Keywords='Installer' Description="Tort 1.0 
Installer" Comments='Tort Ltd.' Manufacturer='ESI Ltd.'
       InstallerVersion='300' Languages='1033' Compressed='yes' 
SummaryCodepage='1252' />

     <Media Id='1' Cabinet='Tort.cab' EmbedCab='yes' DiskPrompt="CD-ROM 
#1" />
     <Property Id='DiskPrompt' Value="Tort Demo Installation [1]" />

     <Directory Id='TARGETDIR' Name='SourceDir'>
       <Directory Id='PersonalFolder' Name='PFiles'>
         <Directory Id='TORTDEMO' Name='Tort Demo'>
           <Component Id="TORTDEMO" 
Guid="8D286AB1-8C00-4A88-A7EB-C83BB92C480A">
             <RemoveFolder Id='TORTDEMO' On='uninstall' />
           </Component>
         </Directory>
       </Directory>
     </Directory>

     <Feature Id='Complete' Level='1'>
       <ComponentRef Id='TORTDEMO' />
     </Feature>

   </Product>
*
**  <Fragment>**
**    <DirectoryRef Id="TORTDEMO">**
**    </DirectoryRef>**
**  </Fragment>*

</Wix>

I have tried to reference as given in the bold, but the directory 
structure does not get created when i run the .msi installer an i am 
getting the error C:\Program Files (x86)\WiX Toolset 
v3.7\bin\TortEngineDemo.wxs(15) : error LGHT0
204 : ICE38: Component TORTDEMO installs to user profile. It must use a 
registry
  key under HKCU as its KeyPath, not a file.

Please help..

Regards,
Suvra Jyoti

On 15-11-2013 16:28, uholeschak wrote:
> I have two burn bundles (with different UpgradeCodes)
> that contain the same MsiPackage, but with different versions (different
> ProductCode).
> When I install the first burn bundle all is working fine,
> but when installing the second bundle nothing is happening (the MsiPackage
> is not installed).
> Is there a way to force burn to update an existing MsiPackage?
>
>
>
>
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSI-packages-in-different-burn-bundles-not-updated-tp7590668.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to