problem with a Patch Generated using Advanced Installer - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

luisvera
Posts: 2
Joined: Wed Apr 01, 2009 2:04 am

problem with a Patch Generated using Advanced Installer

Hello,

I have the following problem with a Patch Generated using Advanced Installer.

We have in our application a Shortcut that executes the updater.exe file ,

The updater has been configured in the Updater.ini file with a connection string to
access a virtual directory in order to download the Patch.msp,

This file is then downloaded successfully to upgrade the application
also we have the command line “CommandLine=/passive” to execute the upgrade application,
avoiding that the final User interacts with the upgrade screen.

Using this command the Log file of installer show the following error:

MSI (s) (90:0C) [13:54:26:352]: Executing op: FileCopy(SourceName=AltaAr~3.dll|AltaArticulos.View.dll,SourceCabKey=AltaArticulos.View.dll,DestName=AltaArticulos.View.dll,Attributes=0,FileSize=876544,PerTick=32768,,VerifyMedia=1,,TotalPatches=1,PatchHeadersStart=23,,CheckCRC=0,Version=1.0.0.0,Language=0,InstallMode=327417856,,,,,,,VariableStart=BinaryData)
MSI (s) (90:0C) [13:54:26:352]: File: C:\Sistemas\Manufactura\AltaArticulos.View.dll; Won't Overwrite; Won't patch; Existing file is of an equal version

When we don’t use the command line argument and the user is able to interact with the upgrade screen,
the Patch is successfully upgraded and this file is overwriten, but we don’t want to let the user
have control of the upgrade screen.

So my question is the following … is there a command line argument that forces to overwrite
the file without any user interaction with the upgrade screen like the “CommandLine=/passive”? or
do I need to change something in the Project Patch Settings to specify that this one must overwrite the file
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: problem with a Patch Generated using Advanced Installer

Hi,
So my question is the following … is there a command line argument that forces to overwrite the file without any user interaction with the upgrade screen like the “CommandLine=/passive”? or
do I need to change something in the Project Patch Settings to specify that this one must overwrite the file
The patch itself doesn't have an option for overwriting existing files. However, in the upgraded package you can try using the "Ensure that this file overwrites any installed target file" option in the Version tab of the "Edit File" dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”