PDA

View Full Version : Installer do not overwrites older files on minor updates



murlex
06-29-2004, 10:29 AM
What the main reasons for Windows Installer do not overwrite files changed since last installation? I really tired experimenting...
I run

MSIEXEC /i myinstall.msi REINSTALL=ALL REINSTALLMODE=voums

- It executes everything during upgrade except COPY of changed files
Somebody can help? I have logs, I have everything, but cannot see any clue...

Here is excerpts from .log I think important:

Action ended 16:33:33: MoveFiles. Return value 1.
MSI (s) (90:EC): Doing action: InstallFiles
Action start 16:33:33: InstallFiles.
MSI (s) (90:EC): Note: 1: 2262 2: LockPermissions 3: -2147287038
MSI (s) (90:EC): Note: 1: 2262 2: Patch 3: -2147287038
MSI (s) (90:EC): Note: 1: 2235 2: 3: StreamRef_ 4: SELECT `Patch`.`File_`, `Patch`.`Header`, `Patch`.`Attributes`, `Patch`.`StreamRef_` FROM `Patch` WHERE `Patch`.`File_` = ? AND `Patch`.`Sequence` > ?ORDER BY `Patch`.`Sequence`
MSI (s) (90:EC): Note: 1: 2262 2: Patch 3: -2147287038
MSI (s) (90:EC): Note: 1: 2205 2: 3: MsiPatchOldAssemblyFile
MSI (s) (90:EC): Note: 1: 2228 2: 3: MsiPatchOldAssemblyFile 4: SELECT `MsiPatchOldAssemblyFile`.`Assembly_` FROM `MsiPatchOldAssemblyFile` WHERE `MsiPatchOldAssemblyFile`.`File_` = ?
MSI (s) (90:EC): Note: 1: 2205 2: 3: MsiSFCBypass
MSI (s) (90:EC): Note: 1: 2228 2: 3: MsiSFCBypass 4: SELECT `File_` FROM `MsiSFCBypass` WHERE `File_` = ?
MSI (s) (90:EC): Note: 1: 2205 2: 3: MsiPatchHeaders
MSI (s) (90:EC): Note: 1: 2228 2: 3: MsiPatchHeaders 4: SELECT `Header` FROM `MsiPatchHeaders` WHERE `StreamRef` = ?
GenerateScript: Copying new files
Action ended 16:33:33: InstallFiles. Return value 1.
MSI (s) (90:EC): Doing action: PatchFiles
.
.
.
.
.
.
MSI (s) (90:EC): Executing op: ODBCDriverManager(,BinaryType=1)
MSI (s) (90:EC): Executing op: ActionStart(Name=InstallFiles,Description=Copying new files,Template=File: , Directory: , Size: )
Action 16:33:36: InstallFiles. Copying new files
MSI (s) (90:EC): Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (90:EC): Executing op: ActionStart(Name=RegisterClassInfo,Description=Registering class servers,Template=Class ID: )
.
.
.
.
.