SetupBuilder Community  

Go Back   SetupBuilder Community > SetupBuilder Software Installation System > SetupBuilder - NNTP

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2012, 02:39 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Skip Invalid Patch

Hey,

the Function:

Install File(s) => Patch =>

> Skip Invalid Patch
>
>
> [in] If this checkbox is marked, the file will be skipped during the file installation process if the file to be updated is not a valid update candidate.
>


Can you tell what is not a valid candidate update ?
What is considered in order to apply it?

Best Regards

db
Reply With Quote
  #2  
Old 03-21-2012, 02:40 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

> [in] If this checkbox is marked, the file will be skipped
> during the file installation process if the file to be
> updated is not a valid update candidate.
>
> Can you tell what is not a valid candidate update ?
> What is considered in order to apply it?

It's exactly what the message says. The file will be skipped during the
file installation process if the file to be updated is not a valid update
candidate. A patch file is an update or revision file that contains only
the differences between two or more files. If the previous file version on
the target machine is detected as "invalid" (means you forgot to build a
binary patch for it) then the installation skips that file (if the option is
enabled).

For example, you build a patch for file revision 1.01 and 1.03. On the
target machine, the installer detects build 1.02 and it will not (and can't)
apply the patch (because you did not generate the binary difference).

Hope this helps.

BTW, you need a rock-solid deployment strategy to successfully use delta
differences. Only use it if it really makes sense. It adds an extra layer
of complexity to your project!

Friedrich
Reply With Quote
  #3  
Old 03-21-2012, 02:41 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

Thanks for the info's.

Unfortunately, it helps me not with my problem further

db
Reply With Quote
  #4  
Old 03-21-2012, 02:42 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

> Thanks for the info's.
>
> Unfortunately, it helps me not with my problem further

What is your problem

Friedrich
Reply With Quote
  #5  
Old 03-22-2012, 03:00 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

OK

I try to explain our problem

We have a very special software to be created actually always individual.

This works fine with the compiler variables in the configuration!

Now it's about the updates.

If user A the file xyz.cfs or xyz.exe in abc directory has, it does not
mean the user B has the same files appear if the same file name.

Example:

User A:

directory abc =>
xyz.cfs => Date 21.03.2012
xyz.exe => Version 8.05

User B:

directory abc =>
xyz.cfs => Date 24.03.2012
xyz.exe => Version 8.04

If I create an update to user A, and wants to replace the files above, I
must specify the previous file version, so that the files are updated.
But the files from the user B can not be replaced.

My problem is the previous versions.

1. We always replace the entire file - no binary patch
2. The file may only be replaced if any of the previous file is found.
And I must have the ability to say the date is important - or the
checksum or the file version.

The management of the previous version, is too complicated for me.

I must always select the files and I must always have the files on the
computer at any future patch.

But if I do not need binary patch and store the information of the
previous files in an XML file would, I could delete the old versions or
overwrite for the next patch.

We create for our customers individual patches sometimes 2-3 per week.

Since then an administration makes an XML file, the whole thing easier,
I think.

db
Reply With Quote
  #6  
Old 03-22-2012, 05:01 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

Hello,

As I understand it, you do not need the "binary patch" feature at all for
your project. If the expected "bandwidth saving" is not at least 1TB then I
would avoid the extra layer of complexity imposed by delta updates.

Similar to the following. One of our customers releases 12 updates per year
to 45,000 customers. The full update install size was 178MB, the binary
patch file size is only 12MB.

Some impressive figures:

45,000 x 178MB = 7,822GB x 12 = ~93,864GB
45,000 x 12MB = 527GB x 12 = ~ 6,324GB

The company has to pay $0.110 per GB (data transfer pricing). That means,
before using binary patching they had to pay $10,325 per year for update
data transfer. But with binary patching (delta update), they pay only $695
per year and SAVE $9,630!!!!

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner
Reply With Quote
  #7  
Old 03-22-2012, 05:01 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

I think it's so nice to me that you are recreating a calculation, but

First it does not solve my problem
Second we have no limitation in terms of our traffic

db
Reply With Quote
  #8  
Old 03-22-2012, 05:01 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

> I think it's so nice to me that you are recreating a calculation, but
>
> First it does not solve my problem

I think your problem is "only" a deployment strategy problem.
Unfortunately, it's not related to SetupBuilder itself and out of the scope
of technical support, so I fear I can't help with that.

You mentioned the "Skip Invalid Patch" function which is a "binary patch"
option. That's why I posted the real-life delta patch scenario. But (as
far as I can see) you are not using binary patch at all. And as I
understand it, your project is not even a cadidate for the binary patch
strategy (because your bandwidth is not limited).

BTW, you can use the "Get File Info..." script function to retrieve
information about existing files. So you can check for "valid" previous
versions (based on CRC-32, version, date/time, etc.) and then act
accordingly.

> Second we have no limitation in terms of our traffic

Cool

Friedrich
Reply With Quote
  #9  
Old 03-21-2012, 02:42 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

Deployment is cool.<g>

>
>BTW, you need a rock-solid deployment strategy to successfully use delta
>differences. Only use it if it really makes sense. It adds an extra layer
>of complexity to your project!

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
This post may self-destruct at any moment
Reply With Quote
  #10  
Old 03-21-2012, 02:43 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Skip Invalid Patch

>
> Deployment is cool.<g>
>

Yep <g>

Friedrich
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004-2012 Lindersoft