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!

gmib92
Posts: 2
Joined: Thu Jul 27, 2006 9:26 am

updating patch problem

hi there,
i successfully made a patch using AI 4.2 of my java app. In my jar files i have a code that executes the updater.exe and download the patch,but at the end of the installation of the path i got an error of "some of files are failed to update".there is no erroe code shown by updater. if i run the patch manually then every thing is fine.
i am using the updater files extention that is "aiu" instead of .ini because this generated automatecally by the AI in "updates configuration project type"
my updater file look likes:

Code: Select all

;aiu;

[patrol]
Name=PrintCounts Patrol patch 1.0.1
URL=http://192.168.10.110:8080/jsp-examples/patrolPatch.msp
Size=23552
ReleaseDate=7/29/2006
MD5=dd82a94ef7e51adc1da16b6dcea5e9e1
Flags=Critical
FilePath=[APPDIR]Application.exe
i also use this command

Code: Select all

msiexec /I patrolPatch.msp /L*V "C:\package.log"
but it shows me an error that error opening the package please contact to ur vendor
thanks for the help.
GM
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I see that you use the default value for the "File" field in the "Updates Configuration" project. The "FilePath" key is used to detect if the update is already installed and also to verify if the update was installed properly. The default value for this key is informative only, so replace in the "File" field the "Application.exe" with your main executable file name.

This field must look like this: "[APPDIR]YourApplicationFileName.exe"

For the command line use "/p" instead of "/i".

Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”