PDA

View Full Version : File Install problem in 5.1.1300



sphair
11-03-2005, 04:04 AM
I have a web update script which updates our software to latest version. For all files I use the patching process with multiple previous versions.

We had a problem with one of the files, and I had to change it from using patching, to always copying the whole file. So I removed all the previous file versions in the Patch tab of the file. Also, I checked ON the "Disable Version Patching".

When compiling the project i get an error (see below).

If I leave "Disable Version Patching" to OFF, it compiles fine.

------ Build started: Project: FixitUpdate.sb5, Configuration: Release Win32 ------

SetupBuilder (tm) Script Compiler and Linker
Copyright (C) 1997-2005 Lindersoft
SetupScript (tm) Installation Script Language
Copyright (C) 2003-2005 Lindersoft
Developer Edition
Version 5.1.1300

Deleting intermediate files and output files for project 'FixitUpdate.sb5', configuration 'Release|Win32'.
Loading compiler variables...
Compiling...
fixitupdate.sb5
Script version detected: 5.1.1267
Recursive compile(0:28): Common Definitions.sbi
Continue(0:1:29): \\loke\felles\FixIT\Installasjonssett Kode\FixitUpdate.sb5
FixitUpdate.sb5(186): warning GEN1044: New and previous files have the same contents. Patch file generation skipped: \\loke\Felles\FixIT\Installasjonssett Kode\Files\B37\wupdate.exe
FixitUpdate.sb5(186): warning GEN1044: New and previous files have the same contents. Patch file generation skipped: \\loke\Felles\FixIT\Installasjonssett Kode\Files\B38\wupdate.exe
Script(s) processed
Generating code...
Finished generating code
Building executable and web cluster files...
Linking kernel...
Code size: 96,921 bytes
Generating and optimizing [1033] string resources [2]...
Linking [1033] language resource(s)...
Code size: 4,018 bytes
Linking dialog side bitmap...
Code size: 2,761 bytes
Linking dialog top bitmap...
Code size: 484 bytes
Including 4 service file(s)...
Compressing service file: C:\Program Files\Lindersoft\SetupBuilder 5 Developer\bin32\0002.lib
Code size: 5,903 bytes
Compressing service file: C:\Program Files\Lindersoft\SetupBuilder 5 Developer\bin32\0003.lib
Code size: 3,963 bytes
Compressing service file: C:\Program Files\Lindersoft\SetupBuilder 5 Developer\bin32\0005.lib
Code size: 14,616 bytes
Compressing service file: C:\Program Files\Lindersoft\SetupBuilder 5 Developer\bin32\0006.lib
Code size: 4,341 bytes
Linking uninstall script...
Code size: 287 bytes
Calculating Feature and Type sizes...
Resolving compiler variables...
Analyzing installation script...
Linking installation script...
Code size: 3,903 bytes
FixitUpdate.sb5(188): error GEN1055: File not found or locked:


--------------------------------------- Done ---------------------------------------

FixitUpdate.sb5 - 1 error(s), 2 warning(s)

Compilation Time: 331.5 sec.

------------------------------- Compilation finished -------------------------------

linder
11-03-2005, 05:15 AM
Seems to me you are trying to add FixitUpdate.sb5 to itself (file #188 in your script).

HTH,

sphair
11-03-2005, 05:54 AM
I am not.. I will send the script to you in email.

linder
11-03-2005, 06:57 AM
Thank you. I misinterpreted the compiler report. I would suggest to comment out your line 188 and then recreate it.