No..  That would be normal.
http://sourceforge.net/tracker/index.php?func=detail&aid=2034934&group_id=105970&atid=642714

You need to add the Module GUID to the file ID.

Wix does a lot of nice things for us, including handling the ID redirection
that occurs with modularization.   When you refer to your simple
Assembly.dll ID, in almost every case Wix will turn that into a properp
merged reference.   But, the binder variables are missing this step right
now, so you need to manually work around by referening the final form.   You
can cut & paste it from orca, or you can use your module's guid to figure it
out yourself.   (I highly suggest the Orca route)

So, don't mess with your file's declaration, just change your binder
variable references.   I would suggest going through the archives for this
group about binder variables.  There are quite a few gotchas involved, and
you can make sure you're installing as you expect if you do the reading.
:-)   Let me know if I can be of any further assistance.

Chris

On Tue, Aug 5, 2008 at 10:55 AM, Cristian Libardo <
[EMAIL PROTECTED]> wrote:

> Thank you. I'm just about to read up on modularization. Do you mean
> something like this?:
>
> <File Id="MyModule.MyFolder.MyAssembly.dll"
>
>
> On Tue, Aug 5, 2008 at 4:45 PM, Christopher Karper <
> [EMAIL PROTECTED]> wrote:
>
> > You're probably facing the same issue I did..  There's currently a bug
> that
> > binder variables need the fully modularized id in merge modules.  I don't
> > know if there's a way to pass this in to SnapIn extension, but you can
> try
> > modularizing the file key yourself as a workaround.
> >
> > Chris
> >
> > On Tue, Aug 5, 2008 at 10:31 AM, Cristian Libardo <
> > [EMAIL PROTECTED]> wrote:
> >
> > > Hi. I've been diving into the amazing world of wix and I just came to
> the
> > > point where I could use some help (newbie alert).
> > >
> > > We have a setup with two solutions. One that builds merge modules. The
> > > other
> > > that picks the previously generated msm:s and creates msi:s.
> > >
> > > My problem occurs when I use the <ps:SnapIn extension. It seems that
> > > certain
> > > registry values aren't bound as they should somewhere during the
> process.
> > > Using orca I can see that the Version key is
> > > "!(bind.assemblyVersion.MyAssembly.dll)" in both the intermediate msm
> and
> > > the final msi (that value is inserted in the registry when I install).
> > >
> > > I have tried Andy Burgess tips:
> > >
> > >
> >
> http://ajbdeveloper.blogspot.com/2008/01/i-recently-tried-to-create-wix-msi.html
> > >
> > > I've also created a minimal wixproject with the same assembly and this
> > > works
> > > like a charm.
> > >
> > > And an excerpt from the wxs file:
> > > ...
> > >          <Directory Id="Tools" Name="Tools"
> > > FileSource="$(var.AssemblyRootPath)\$(var.Configuration)\">
> > >            <Component Id="MyAssembly.dll" Guid="...">
> > >              <File Id="MyAssembly.dll" Name="MyAssembly.dll"
> > > Assembly=".net" KeyPath="yes">
> > >                <ps:SnapIn Id="MyAssembly.SnapIn" Description="Installer
> > > Cmdlets" Vendor="..." />
> > >              </File>
> > >            </Component>
> > >          </Directory>
> > > ...
> > >
> > >  Any ideas on what might be the culprit?
> > >  I noticed that the minimal project defines a <wix><product...> while
> the
> > > complete one defines a <wix><module...>. At what stage is the version
> > > information supposed to be bound?
> > >
> > > Thanks
> > >
> -------------------------------------------------------------------------
> > > 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

Reply via email to