Binder variables from Votive

16 Messages Forum Options Options
Permalink
Christopher Karper
Binder variables from Votive
Reply Threaded More
Print post
Permalink
I'm trying to update my MMC Snap In installer to automatically pull version
info from the managed snap-in dll.  I've used the variable
"!(bind.assemblyFullName.SampleSnapIn.dll)" to get the fullname, but in
Orca, it has the actual binder variable text in the registry table, instead
of the replaced value I'm looking for.

I followed
http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspxas
my assembly is not GACed.  I also read through the previous threads in
the group about binder variables, and Ias a result, I've added the -fv
switch to the "Linker" box (for light, for non Votive users)...

Still no dice.  Is there something I'm missing?  Shouldn't this be working
as I have it?

Chris

*
*
-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-2
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
More likely than not, your "FileId" is wrong.  A bug is open on the fact that the binder doesn't fail when it hits an unknown binder variable.

-----Original Message-----
From: wix-users-bounces@... [mailto:wix-users-bounces@...] On Behalf Of Christopher Karper
Sent: Thursday, July 24, 2008 10:50
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Binder variables from Votive

I'm trying to update my MMC Snap In installer to automatically pull version
info from the managed snap-in dll.  I've used the variable
"!(bind.assemblyFullName.SampleSnapIn.dll)" to get the fullname, but in
Orca, it has the actual binder variable text in the registry table, instead
of the replaced value I'm looking for.

I followed
http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspxas
my assembly is not GACed.  I also read through the previous threads in
the group about binder variables, and Ias a result, I've added the -fv
switch to the "Linker" box (for light, for non Votive users)...

Still no dice.  Is there something I'm missing?  Shouldn't this be working
as I have it?

Chris

*
*
-------------------------------------------------------------------------
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@...
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Christopher Karper
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
I copied the FileId from the File's ID into the binder variable.  Then I
double checked the spelling, then I triple checked it.   That was my first
big theory.
Just to help out, here's the pertinent pieces...

<Component Id="VisibilitySnapIn.dll"
Guid="{B813CED8-CDA2-44CC-B809-116A987789F9}">
    <File Id="VisibilitySnapIn.dll" KeyPath="yes" Source="$(var.Visibility
Monitor MMC SnapIn.TargetDir)VisibilitySnapIn.dll" Assembly=".net"
AssemblyApplication="VisibilitySnapIn.dll" />
</Component>

<RegistryValue Root="HKLM"
Key="SOFTWARE\Microsoft\MMC\SnapIns\FX:{244B7462-C89A-427e-8D1B-CF4E37878699}"
Name="Type" Value="VisibilitySnapIn.VisibilitySnapIn,
!(bind.assemblyFullName.VisibilitySnapIn.dll)" Type="string" Action="write"
/>


Any ideas?

Chris

On Thu, Jul 24, 2008 at 3:25 PM, Rob Mensching <Rob.Mensching@...>
wrote:

> More likely than not, your "FileId" is wrong.  A bug is open on the fact
> that the binder doesn't fail when it hits an unknown binder variable.
>
> -----Original Message-----
> From: wix-users-bounces@... [mailto:
> wix-users-bounces@...] On Behalf Of Christopher Karper
> Sent: Thursday, July 24, 2008 10:50
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Binder variables from Votive
>
> I'm trying to update my MMC Snap In installer to automatically pull version
> info from the managed snap-in dll.  I've used the variable
> "!(bind.assemblyFullName.SampleSnapIn.dll)" to get the fullname, but in
> Orca, it has the actual binder variable text in the registry table, instead
> of the replaced value I'm looking for.
>
> I followed
>
> http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspxas
> my assembly is not GACed.  I also read through the previous threads in
> the group about binder variables, and Ias a result, I've added the -fv
> switch to the "Linker" box (for light, for non Votive users)...
>
> Still no dice.  Is there something I'm missing?  Shouldn't this be working
> as I have it?
>
> Chris
>
> *
> *
> -------------------------------------------------------------------------
> 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@...
> 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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-2
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
Nothing off the top of my head... I'd have to debug this to get to the root of it.

-----Original Message-----
From: wix-users-bounces@... [mailto:wix-users-bounces@...] On Behalf Of Christopher Karper
Sent: Thursday, July 24, 2008 14:12
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Binder variables from Votive

I copied the FileId from the File's ID into the binder variable.  Then I
double checked the spelling, then I triple checked it.   That was my first
big theory.
Just to help out, here's the pertinent pieces...

<Component Id="VisibilitySnapIn.dll"
Guid="{B813CED8-CDA2-44CC-B809-116A987789F9}">
    <File Id="VisibilitySnapIn.dll" KeyPath="yes" Source="$(var.Visibility
Monitor MMC SnapIn.TargetDir)VisibilitySnapIn.dll" Assembly=".net"
AssemblyApplication="VisibilitySnapIn.dll" />
</Component>

<RegistryValue Root="HKLM"
Key="SOFTWARE\Microsoft\MMC\SnapIns\FX:{244B7462-C89A-427e-8D1B-CF4E37878699}"
Name="Type" Value="VisibilitySnapIn.VisibilitySnapIn,
!(bind.assemblyFullName.VisibilitySnapIn.dll)" Type="string" Action="write"
/>


Any ideas?

Chris

On Thu, Jul 24, 2008 at 3:25 PM, Rob Mensching <Rob.Mensching@...>
wrote:

> More likely than not, your "FileId" is wrong.  A bug is open on the fact
> that the binder doesn't fail when it hits an unknown binder variable.
>
> -----Original Message-----
> From: wix-users-bounces@... [mailto:
> wix-users-bounces@...] On Behalf Of Christopher Karper
> Sent: Thursday, July 24, 2008 10:50
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Binder variables from Votive
>
> I'm trying to update my MMC Snap In installer to automatically pull version
> info from the managed snap-in dll.  I've used the variable
> "!(bind.assemblyFullName.SampleSnapIn.dll)" to get the fullname, but in
> Orca, it has the actual binder variable text in the registry table, instead
> of the replaced value I'm looking for.
>
> I followed
>
> http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspxas
> my assembly is not GACed.  I also read through the previous threads in
> the group about binder variables, and Ias a result, I've added the -fv
> switch to the "Linker" box (for light, for non Votive users)...
>
> Still no dice.  Is there something I'm missing?  Shouldn't this be working
> as I have it?
>
> Chris
>
> *
> *
> -------------------------------------------------------------------------
> 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@...
> 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@...
> 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@...
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Christopher Karper
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
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

Chris

On Fri, Jul 25, 2008 at 4:14 AM, Rob Mensching
<Rob.Mensching@...>wrote:

> Nothing off the top of my head... I'd have to debug this to get to the root
> of it.
>
> -----Original Message-----
> From: wix-users-bounces@... [mailto:
> wix-users-bounces@...] On Behalf Of Christopher Karper
> Sent: Thursday, July 24, 2008 14:12
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Binder variables from Votive
>
> I copied the FileId from the File's ID into the binder variable.  Then I
> double checked the spelling, then I triple checked it.   That was my first
> big theory.
> Just to help out, here's the pertinent pieces...
>
> <Component Id="VisibilitySnapIn.dll"
> Guid="{B813CED8-CDA2-44CC-B809-116A987789F9}">
>    <File Id="VisibilitySnapIn.dll" KeyPath="yes" Source="$(var.Visibility
> Monitor MMC SnapIn.TargetDir)VisibilitySnapIn.dll" Assembly=".net"
> AssemblyApplication="VisibilitySnapIn.dll" />
> </Component>
>
> <RegistryValue Root="HKLM"
>
> Key="SOFTWARE\Microsoft\MMC\SnapIns\FX:{244B7462-C89A-427e-8D1B-CF4E37878699}"
> Name="Type" Value="VisibilitySnapIn.VisibilitySnapIn,
> !(bind.assemblyFullName.VisibilitySnapIn.dll)" Type="string" Action="write"
> />
>
>
> Any ideas?
>
> Chris
>
> On Thu, Jul 24, 2008 at 3:25 PM, Rob Mensching <
> Rob.Mensching@...>
> wrote:
>
> > More likely than not, your "FileId" is wrong.  A bug is open on the fact
> > that the binder doesn't fail when it hits an unknown binder variable.
> >
> > -----Original Message-----
> > From: wix-users-bounces@... [mailto:
> > wix-users-bounces@...] On Behalf Of Christopher Karper
> > Sent: Thursday, July 24, 2008 10:50
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Binder variables from Votive
> >
> > I'm trying to update my MMC Snap In installer to automatically pull
> version
> > info from the managed snap-in dll.  I've used the variable
> > "!(bind.assemblyFullName.SampleSnapIn.dll)" to get the fullname, but in
> > Orca, it has the actual binder variable text in the registry table,
> instead
> > of the replaced value I'm looking for.
> >
> > I followed
> >
> >
> http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspxas
> > my assembly is not GACed.  I also read through the previous threads in
> > the group about binder variables, and Ias a result, I've added the -fv
> > switch to the "Linker" box (for light, for non Votive users)...
> >
> > Still no dice.  Is there something I'm missing?  Shouldn't this be
> working
> > as I have it?
> >
> > Chris
> >
> > *
> > *
> > -------------------------------------------------------------------------
> > 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@...
> > 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@...
> > 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@...
> 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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Bob Arnson-6
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Christopher Karper
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
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 <bob@...> 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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-2
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
What version of the WiX toolset?

-----Original Message-----
From: wix-users-bounces@... [mailto:wix-users-bounces@...] 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 <bob@...> 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@...
> 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@...
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Christopher Karper
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
3.0.4325

On Thu, Jul 31, 2008 at 1:51 PM, Rob Mensching
<Rob.Mensching@...>wrote:

> What version of the WiX toolset?
>
> -----Original Message-----
> From: wix-users-bounces@... [mailto:
> wix-users-bounces@...] 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 <bob@...> 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@...
> > 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@...
> 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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-2
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
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: wix-users-bounces@... [mailto:wix-users-bounces@...] 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
<Rob.Mensching@...>wrote:

> What version of the WiX toolset?
>
> -----Original Message-----
> From: wix-users-bounces@... [mailto:
> wix-users-bounces@...] 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 <bob@...> 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@...
> > 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@...
> 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@...
> 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@...
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Christopher Karper
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
Breakthrough!!!

It's a merge module, and the file id needs the GUID put in to work.   I
wouldn't think that was how it's *supposed* to work, but adding the package
guid to the file id in the binder variable makes it work...

Chris

On Thu, Jul 31, 2008 at 2:05 PM, Rob Mensching
<Rob.Mensching@...>wrote:

> 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: wix-users-bounces@... [mailto:
> wix-users-bounces@...] 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
> <Rob.Mensching@...>wrote:
>
> > What version of the WiX toolset?
> >
> > -----Original Message-----
> > From: wix-users-bounces@... [mailto:
> > wix-users-bounces@...] 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 <bob@...> 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@...
> > > 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@...
> > 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@...
> > 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@...
> 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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Bob Arnson-6
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
Christopher Karper wrote:
> It's a merge module, and the file id needs the GUID put in to work.   I
> wouldn't think that was how it's *supposed* to work, but adding the package
> guid to the file id in the binder variable makes it work...
>  

Is the !(bind...) in the merge module itself or are you referring to it
from another product/merge module?

--
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Christopher Karper
Re: Binder variables from Votive
Reply Threaded More
Print post
Permalink
It's in the merge module itself.  I would have expected it to get
modularized like all of my other file/component references, but alas,
alack... it was not to be.

Chris

On Thu, Jul 31, 2008 at 5:40 PM, Bob Arnson <bob@...> wrote:

> Christopher Karper wrote:
> > It's a merge module, and the file id needs the GUID put in to work.   I
> > wouldn't think that was how it's *supposed* to work, but adding the
> package
> > guid to the file id in the binder variable makes it work...
> >
>
> Is the !(bind...) in the merge module itself or are you referring to it
> from another product/merge module?
>
> --
> 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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
cvuppala
Re: Binder variables from Votive
Reply Threaded More