amurphy100
Posts: 12
Joined: Mon Jan 15, 2007 12:41 pm

Prevent install if certain applications are running

Hi There,

I am sure that there is a real simple answer to this (he hopes). I have been having problems wereby if a user has our application running and they try and install they get told to reboot (which I expect) but on restart the updated install files are not put in place. The only way to recitify this is by re-running the install and choosing repair.

Do you know why this may be occuring. If not please can a kindly soul out there let me know how to prevent the install from running if certain applications are currently running.

Thanks

Andrew
Adriana
Posts: 28
Joined: Tue Aug 14, 2007 9:32 am
Location: Craiova
Contact: Website

Hi,
I have been having problems wereby if a user has our application running and they try and install they get told to reboot (which I expect) but on restart the updated install files are not put in place. The only way to recitify this is by re-running the install and choosing repair.
This happens because some files are in use during the upgrade and they cannot be deleted (this operation is scheduled after a reboot). However when the files from the new version package must be installed they are not because the existing files with the same name are unversioned and unmodified. Thus, after a reboot, the old files are deleted but the new ones are not put in place.

To avoid this issue you need to assign an explicit version for the files that are missing after a reboot (or simpler, for all the files from the package). In order to do this in AI select the appropriate files in the Files and Folders Page, select "Properties" from their attached context menu and in the "Version" tab of the "Edit Multiple Files" dialog select the option "Ensure that this file overwrites any installed target file".

Hope this helps.

Regards,
Adriana

_____________
Adriana Simion
Advanced Installer Team
http://www.advancedinstaller.com/
amurphy100
Posts: 12
Joined: Mon Jan 15, 2007 12:41 pm

Hi There,

Thanks for the advice, I applied the version changes however now whenever I try to load back the .aip file it fails to load with the following error 'Exception - Current context does not contain an instance of this component [id ReadOnly]'

Please help :shock:
Adriana
Posts: 28
Joined: Tue Aug 14, 2007 9:32 am
Location: Craiova
Contact: Website

Hi,

Please send the AIP file to support at advancedinstaller dot com in order to investigate this issue.

Regards,
Adriana


_____________
Adriana Simion
Advanced Installer Team
http://www.advancedinstaller.com/
amurphy100
Posts: 12
Joined: Mon Jan 15, 2007 12:41 pm

Hi Adriana, I have sent the file and requested.

Thanks

Andrew

Return to “Common Problems”