Hi,
Can  anyone send me sample to use Wix lib in project, I have made one it is 
working fine if i dont add any directory in the project file. 
 
code of project file and wix lib given below.
 
 
WIX LIB :
 
<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

<Fragment>

<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="ProgramFilesFolder">

<Directory Id="Installlocation" Name="WIXLIBTEST">

<Component Id="compQAS" Guid="{9570CDF6-7B4A-4dbe-B975-A4A84C563999}" >

<File Id="QAS.Doc" src="C:\Users\chandrashekar.vuppal\Desktop\QAS.Doc" 
KeyPath="yes" Name="QAS.Doc"></File>

</Component>

<Component Id="compuntitled" Guid="{A75C187E-8730-4b36-AE1D-8ED52B3832AA}" >

<File Id="untitled.bmp" 
src="C:\Users\chandrashekar.vuppal\Desktop\untitled.bmp" 
Name="untitled.bmp"></File>

</Component>

</Directory>

</Directory>

</Directory>

</Fragment>

</Wix>

 

 

Wix Prject File:

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

<Product Id="73ed18f2-d948-43e6-83ba-bb14a25c4a35" Name="WixProjectTestLib" 
Language="1033" Version="1.0.0.0" Manufacturer="WixProjectTestLib" 
UpgradeCode="dcac5b98-af2c-4108-a292-5638ba74899d">

<Package InstallerVersion="200" Compressed="yes" />

<Media Id="1" Cabinet="WixProjectTestLib.cab" EmbedCab="yes" />

<!--<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="ProgramFilesFolder1">

<Directory Id="INSTALLLOCATION" Name="WixProjectTestLib">

<Component Id="ProductComponent" Guid="14d7f24c-aaf9-42d8-bb06-1287708e8cc8">

<File Id="PhoneList" src="C:\Users\chandrashekar.vuppal\Desktop\Phone List IMES 
NOVA TEAM PHASE 2 v0.03.pdf" Name="Phone List IMES NOVA TEAM PHASE 2 
v0.03.pdf"></File>

</Component> 

</Directory>

</Directory>

</Directory>-->

<Feature Id="ProductFeature" Title="WixProjectTestLib" Level="1">

<ComponentRef Id="compuntitled"/>

<ComponentRef Id="compQAS"/>

<!--<ComponentRef Id="ProductComponent"/>-->

<!-- TODO: Remove the comments around this ComponentRef element and the 
Component above in order to add resources to this installer. -->

<!-- <ComponentRef Id="ProductComponent" /> -->

</Feature>

</Product>

</Wix>

 

 

 
 
 
 
 

________________________________

From: [EMAIL PROTECTED] on behalf of Rob Mensching
Sent: Thu 31/07/2008 11:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Binder variables from Votive



Well, there goes that theory.  Here is what I have and it is working:

    <Product Id="$(var.PRODUCT_CODE)"
             Name="My Product"
             Language="1033"
             Manufacturer="Microsoft Corporation"
             UpgradeCode="$(var.UPGRADE_CODE)"
             Version="!(bind.FileVersion.foo.exe)">

Can you verify whether that works for you?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher 
Karper
Sent: Thursday, July 31, 2008 11:02
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Binder variables from Votive

3.0.4325

On Thu, Jul 31, 2008 at 1:51 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> What version of the WiX toolset?
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Christopher Karper
> Sent: Thursday, July 31, 2008 10:16
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Binder variables from Votive
>
> Neither of these worked.  I don't understand why *none* of the binder
> variables are working.  I tried this for my x86 and x64 configs to make
> sure
> it wasn't a platform issue.  I get the same issue either way though.
>
> Thanks for the ideas.
>
> Chris
>
> On Thu, Jul 31, 2008 at 12:06 PM, Bob Arnson <[EMAIL PROTECTED]> wrote:
>
> > Christopher Karper wrote:
> > > I still can't get any of these binder variables to work.  Does anyone
> > have
> > > some time to take a look at it?  Thanks in advance. :-D
> > >
> >
> > Two random things to try:
> >
> > 1. Rename the File/@Id so it doesn't have a dot in it. (The RegEx looks
> > right, but...)
> > 2. Try putting the assembly in the GAC, just to see if that's enough.
> >
> > --
> > sig://boB
> > http://joyofsetup.com/
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



IMPORTANT
1.      This email and any attachments are confidential.  Any unauthorised 
dissemination or other use of these materials is prohibited.  If received in 
error, please contact us and delete all copies.  
2.      Before opening or using attachments, check them for viruses and 
defects.  Our liability is limited to resupplying any affected attachments. 
3.      Protecting your privacy is important to us.  Our privacy statement and 
further information is available at www.oakton.com.au.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to