zaki
Posts: 9
Joined: Fri Aug 24, 2007 6:14 am

While installing patch its going to search old MSI file.

I have create Installer in 5.0.0 with following specification :

In Bootsrapper Tab
"Create EXE setup file" option checked
Under Package ,"Leave Install files outside" option selected
I have select option that remove MSI file after installation.

Now I have create patch in 5.1.1 for that. Both target MSI and Update MSI is created in 5.0.0.
But when i am going to install patch on client machine ,its going to search old MSI file.


Zaki..
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

On how to prevent a patch from requiring access to the original installation source see:
http://msdn2.microsoft.com/en-us/library/aa370841.aspx

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
zaki
Posts: 9
Joined: Fri Aug 24, 2007 6:14 am

Hi Gigi,

This link is not so helpful to me. I apply whatever suitable. Still I am getting same problem. This is very critical for me. That still
going to search old MSI file. If we specify it's to Old MSI during installation then it's fine.

Mainly I have not checked "Do not delete extracted MSI and CAB file" option in First Installer.
Please reply as early as possible.

Regards
Zaki
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Zaki,
Mainly I have not checked "Do not delete extracted MSI and CAB file" option in First Installer.
If the installation files are included in the EXE bootstrapper, selecting the option "Do not delete extracted MSI and CAB files" is required in order to prevent the patch from requesting the original (Target) MSI package.

http://www.advancedinstaller.com/user-g ... tches.html

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
zaki
Posts: 9
Joined: Fri Aug 24, 2007 6:14 am

Hi,

How can i overcome from this position? We have already distributed Installer, and now we have to send patch.

Please give some solution for this. It's very crucial for me.

I think you should remove that option from Installer and you have to set "Don't delete MSI and Cab after installation" as default.



Regards,
Zaki
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Zaki,

I am afraid that it is not possible to avoid this issue if the original package was not built with this option selected.
I think you should remove that option from Installer and you have to set "Don't delete MSI and Cab after installation" as default.
Removing the option altogether would not be appropriate since keeping the extracted files is not required when using full MSI updates (not patches). However, the checkbox could be selected by default. Thank you for your suggestion.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
zaki
Posts: 9
Joined: Fri Aug 24, 2007 6:14 am

Hi,
First thanks for reply. My second problem is as follow:

How can i create Installer, which should not delete files which were installed by first Installer? It just over right files which specify in Next Installer.

I want like this because, in my case user can save their data in that Application folder. So I don’t want that if users run Installer and they lost their Data.

Thanks in advance

Regards
Zaki
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Zaki,

Note that if the files are not installed by the package (they are created by the user), they will not be deleted when the package is uninstalled.

If however the files are installed by the package and you want to preserve them between upgrades, you need to use Custom Actions in order to backup/restore them. See the following HowTo for details on how to achieve this:

http://www.advancedinstaller.com/user-g ... le-ca.html

As a note, it is not a good approach to save the user's data in the Application Folder because this will require the application to be executed with Admin privileges and will pose problems in Vista. The data files should be saved in a subfolder of the "Application Data" directory for the current user (or for all users).

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
zaki
Posts: 9
Joined: Fri Aug 24, 2007 6:14 am

Hi,

I have created one MSI Installer with Auto Update and Auto Run utility, burn it on CD. After installing from CD, I remove CD from CD drive.
Now I check the Auto Update utility. Its detected updates [Patch] and downloading properly, but when it's going to install it's going to search old MSI in CD drive. Why it's going to search Old MSI?

Please give solution to come out from this problem.
Thanks in advance

Regards,
Zaki
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Did you use an EXE bootstrapper for the first installation? If so did you check the "Do not delete extracted MSI and CAB files" for the installation you are updating?

Please check this without using the updater (apply the patch directly).

If the problem persists please give more details about how you configured the installation (the one you want to patch). If possible, please send us the .aip files (if they do not contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can investigate the problem.

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

Return to “Common Problems”