PDA

View Full Version : Check for files to be patched


Jorge Alejandro Lavera
05-19-2005, 01:46 PM
Hi,
How can I make the installer to check the files to be patched before the actual patching begins? (sort of like Clarion do with their hotfixes).
I'm new to scripting, so if you can point me to an example, the better.
TIA,
Jorge Lavera

linder
05-20-2005, 02:02 AM
Jorge,

Because SB5 is script based now, the installer engine cannot check the files before the patching process begins. But we have included a "magic" Delayed File Install function.

Please put "Start Delayed File Install" and "Stop Delayed File Install" script functions around your files (not documented yet). It applies the patch into a temporary folder and, if this process completed successfully, overwrites the files.

HTH,

Jorge Alejandro Lavera
05-20-2005, 06:54 AM
WORKS GREAT!!
Thank you, Linder. I reduced a 21 Mb install file to just 6 Mb.

Keep the great work.
Greetings,
Jorge Lavera

linder
05-20-2005, 07:12 AM
You are welcome Jorge!