You mentioned you had to take out all of the <FragmentRef> elements you had
(since 3.0 doesn't support them). Each of those caused the fragment
containing the FragmentRef to "target" the identified fragment so that the
linker would look for them (instead of ignore them).

Since there are no more <FragmentRef> elements, you need to use other Ref
elements (such as ComponentRef, FeatureRef, BinaryRef, etc.) to do the same
thing. Basically, each place you used to have a FragmentRef you need to look
at elements declared in the referenced Fragment and find an appropriate one
that you can find a ".*Ref" (using reg-ex syntax) element for in 3.0.

You did save a copy of your 2.0 wxs files, right?

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: Tuesday, July 27, 2010 3:48 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade from WiX 2.0 to Wix 3.0.5419.0

Can I get any additional information on this? I'm finding what you said
to be a bit vague. I'll provide any code I can to give an idea of how
it's structured. Here's how the folders are layed out.

Product.wxs
Components\*.wxs
Features\*.wxs
UI\*.wxs

I can see Candle finds all the WXS files, and is now creating all the
wixobj files, but not sure how to link everything beyond using
light.exe. Which <...Ref/> and where do they all go?

This is obviously a fundamental change they've made to WiX, but I didn't
see any information on it.

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Tuesday, July 27, 2010 3:34 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade from WiX 2.0 to Wix 3.0.5419.0

You probably need to replace each <FragmentRef/> with a different
<...Ref/>
element to link everything in. WixCop isn't going to know what other
element
to use for the reference.

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: Tuesday, July 27, 2010 3:22 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade from WiX 2.0 to Wix 3.0.5419.0

This is blowing my mind. The MSI seems to get created, but it's way
smaller than it should be. In looking at it using Orca there is no
Component table and the File table is there, but completely empty. No
Feature table, either.

What's the situation with 3.0? Does WixCop not do everything needed to
convert the project? At this point I'm not getting much in the way of
feedback, but it sure isn't working well at all.



-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Tuesday, July 27, 2010 3:00 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade from WiX 2.0 to Wix 3.0.5419.0

Put a <FeatureRef Id="FrameworkRole" /> next to your <Merge> elements
(inside of the same fragment).

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: Tuesday, July 27, 2010 12:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade from WiX 2.0 to Wix 3.0.5419.0

I can see Candle load the comFlowMan.wxs file, but in my OBJ folder
there is no resulting comFlowMan.wixobj. No message from Candle
indicating a problem. This is very strange.

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: Tuesday, July 27, 2010 11:50 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Upgrade from WiX 2.0 to Wix 3.0.5419.0

Updated WiX. Ran WiXCop against all my WXS source files. They look good.
I can compile, but when I go to link it is saying this for nearly ever
file.

[exec] C:\Installation\Packages\E3_3_0\Components\comFlowMan.wxs(21) :
erro
r LGHT0215 : The merge module 'merge_policy_VC80_MFC' is not assigned to
a feature.  All merge modules must be assigned to at least one feature.


<Feature Id="FrameworkRole" Title="Framework Role" Description="Installs
those components required for the framework role." AllowAdvertise="no"
Absent="allow" Display="collapse" InstallDefault="local" Level="1">


                <!-- Merge Modules -->
                <MergeRef Id="merge_atl71"/>
                <MergeRef Id="merge_mfc71"/>
                <MergeRef Id="merge_mfc71_loc"/>
                <MergeRef Id="merge_msvcp71"/>
                <MergeRef Id="merge_msvcr71"/>
                <MergeRef Id="merge_msxml4sxs"/>
                <MergeRef Id="merge_msxml4sys"/>
          <MergeRef Id="merge_VC80_ATL"/>
          <MergeRef Id="merge_policy_VC80_ATL"/>
          <MergeRef Id="merge_VC80_CRT"/>
          <MergeRef Id="merge_policy_VC80_CRT"/>
          <MergeRef Id="merge_VC80_MFC"/>
          <MergeRef Id="merge_policy_VC80_MFC"/>
          <MergeRef Id="merge_VC80_MFCLOC"/>
          <MergeRef Id="merge_policy_VC80_MFCLOC"/>
          <MergeRef Id="merge_VC80_OpenMP"/>
          <MergeRef Id="merge_policy_VC80_OpenMP"/>



I removed all the old <FragmentRef Id=""/> entries because they didn't
seem to be allowed any longer. Not sure what else I'm missing. Any
ideas?

Thanks
Chad


------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
----
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
----
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



----------------------------------------------------------------------------
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to