Quantcast

how to control File Sequence no in WIX

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to control File Sequence no in WIX

wix user-2
Hi,

I woluld like to know how we can control the file sequence no in the File
table. If I add newly added file element (with new componet) at the end in
next version of MSI. Still it is not getting sequence no at the end. This
breaks the patches.

Eg. I've a merge module with 50 file. we are using a component per file with
Keypath = "yes". this is in the first version of product.
In the next version of product few files got added, then, in the wix file we
are adding the components for the new files at the end. We've an internal
logic to compare with base builds. But it is getting the sequence no
randomly.

Any advice in this area is appreciated.

Also is this file sequence no is per Module or per Disk? Please throw some
light in this area.

Thanks
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to control File Sequence no in WIX

robmen
WiX toolset doesn't expose a method to control the sequence. You can cause
new files to be added to the end of the sequence using the PatchGroup
element. This is important if you use the old MSI patchwiz tools to create
patches (becuase the MSI tools can't handle sequence changes, pyro doesn't
have that problem).

On Mon, Jan 17, 2011 at 1:25 PM, wix user <[hidden email]> wrote:

> Hi,
>
> I woluld like to know how we can control the file sequence no in the File
> table. If I add newly added file element (with new componet) at the end in
> next version of MSI. Still it is not getting sequence no at the end. This
> breaks the patches.
>
> Eg. I've a merge module with 50 file. we are using a component per file
> with
> Keypath = "yes". this is in the first version of product.
> In the next version of product few files got added, then, in the wix file
> we
> are adding the components for the new files at the end. We've an internal
> logic to compare with base builds. But it is getting the sequence no
> randomly.
>
> Any advice in this area is appreciated.
>
> Also is this file sequence no is per Module or per Disk? Please throw some
> light in this area.
>
> Thanks
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to control File Sequence no in WIX

wix user-2
Thanks Rob.
Could you please give me more details on how this behaves? Is this sequence
no maintained at module level (we have few merge modules in our product) or
at Disk level or Product level.

Also with this patch group, do we need any changes in the PCP file?

Thanks



On Mon, Jan 17, 2011 at 4:46 PM, Rob Mensching <[hidden email]> wrote:

> WiX toolset doesn't expose a method to control the sequence. You can cause
> new files to be added to the end of the sequence using the PatchGroup
> element. This is important if you use the old MSI patchwiz tools to create
> patches (becuase the MSI tools can't handle sequence changes, pyro doesn't
> have that problem).
>
> On Mon, Jan 17, 2011 at 1:25 PM, wix user <[hidden email]> wrote:
>
> > Hi,
> >
> > I woluld like to know how we can control the file sequence no in the File
> > table. If I add newly added file element (with new componet) at the end
> in
> > next version of MSI. Still it is not getting sequence no at the end. This
> > breaks the patches.
> >
> > Eg. I've a merge module with 50 file. we are using a component per file
> > with
> > Keypath = "yes". this is in the first version of product.
> > In the next version of product few files got added, then, in the wix file
> > we
> > are adding the components for the new files at the end. We've an internal
> > logic to compare with base builds. But it is getting the sequence no
> > randomly.
> >
> > Any advice in this area is appreciated.
> >
> > Also is this file sequence no is per Module or per Disk? Please throw
> some
> > light in this area.
> >
> > Thanks
> >
> >
> ------------------------------------------------------------------------------
> > Protect Your Site and Customers from Malware Attacks
> > Learn about various malware tactics and how to avoid them. Understand
> > malware threats, the impact they can have on your business, and how you
> > can protect your company and customers by using code signing.
> > http://p.sf.net/sfu/oracle-sfdevnl
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com<http://robmensching.com/>LLC
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to control File Sequence no in WIX

robmen
Merge Modules mess up patchwiz (aka: PCP) patching because their file
sequencing is  extremely limited. In fact, there is a tool called "melt.exe"
in the WiX toolset that converts a Merge Module in to a .wixlib to make it
more consumable for patching.

Sequencing is calculated at the Product level.

On Mon, Jan 17, 2011 at 5:16 PM, wix user <[hidden email]> wrote:

> Thanks Rob.
> Could you please give me more details on how this behaves? Is this sequence
> no maintained at module level (we have few merge modules in our product) or
> at Disk level or Product level.
>
> Also with this patch group, do we need any changes in the PCP file?
>
> Thanks
>
>
>
> On Mon, Jan 17, 2011 at 4:46 PM, Rob Mensching <[hidden email]>
> wrote:
>
> > WiX toolset doesn't expose a method to control the sequence. You can
> cause
> > new files to be added to the end of the sequence using the PatchGroup
> > element. This is important if you use the old MSI patchwiz tools to
> create
> > patches (becuase the MSI tools can't handle sequence changes, pyro
> doesn't
> > have that problem).
> >
> > On Mon, Jan 17, 2011 at 1:25 PM, wix user <[hidden email]> wrote:
> >
> > > Hi,
> > >
> > > I woluld like to know how we can control the file sequence no in the
> File
> > > table. If I add newly added file element (with new componet) at the end
> > in
> > > next version of MSI. Still it is not getting sequence no at the end.
> This
> > > breaks the patches.
> > >
> > > Eg. I've a merge module with 50 file. we are using a component per file
> > > with
> > > Keypath = "yes". this is in the first version of product.
> > > In the next version of product few files got added, then, in the wix
> file
> > > we
> > > are adding the components for the new files at the end. We've an
> internal
> > > logic to compare with base builds. But it is getting the sequence no
> > > randomly.
> > >
> > > Any advice in this area is appreciated.
> > >
> > > Also is this file sequence no is per Module or per Disk? Please throw
> > some
> > > light in this area.
> > >
> > > Thanks
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Protect Your Site and Customers from Malware Attacks
> > > Learn about various malware tactics and how to avoid them. Understand
> > > malware threats, the impact they can have on your business, and how you
> > > can protect your company and customers by using code signing.
> > > http://p.sf.net/sfu/oracle-sfdevnl
> > > _______________________________________________
> > > WiX-users mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> > --
> > virtually, Rob Mensching - http://RobMensching.com<
> http://robmensching.com/>LLC
> >
> >
> ------------------------------------------------------------------------------
> > Protect Your Site and Customers from Malware Attacks
> > Learn about various malware tactics and how to avoid them. Understand
> > malware threats, the impact they can have on your business, and how you
> > can protect your company and customers by using code signing.
> > http://p.sf.net/sfu/oracle-sfdevnl
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Loading...