vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Installer problem on Vista

Hi!

Let me explain the things first, there are two ways to install an MSI for new version of already installed product.
1: Uninstall the old version and then install the new msi.
2: Install the new MSI, it will uninstall the old version and install the new one.

The problem occurred on Vista machine which is as follows:
Everything is running fine on client's sytem if he is installing the MSI using OPTION-1,
but, when he is using OPTION-2, an error msg displayed :The installer has insufficient privileges to access this directory: C:\Program Files\.

This happens when installer has uninstalled the product and going to create folders.
I have attached the log and my aip project with this post.

I don't understand why the OPTION-1 is working fine and OPTION-2 gives problem on Vista machines.
I have tried on Vista 32-bit and 64-bit machines same problem occurrs on both the machines.

I am using AI-6.4.1 Enterprize editon.

Thanks in anticipation.

Regards,
Zia
Attachments
aipwithlog.zip
This zip contains AI project and log file.
(333.63 KiB) Downloaded 452 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problem on Vista

Hello,

I am afraid the sample you attached is corrupt.
Also, please send the .aip project files of both versions, not just one.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Re: Installer problem on Vista

Hi Gabriel!

Thanks for ur reply.
I am attaching the aip file and log file again with this post, plz find the same.
One thing more, i am using this aip project file to generate MSIs there is no other aip projects.
I don't generate MSI as version specific.

Let me explain again, say 8.8.1 version is installed on client's machine and he wants to upgrade the product to 8.8.6.
To upgrade the product when he uninstall the old version from uninstall shortcut on windows start menu and then install new version, product get installed correctly.
But, when client tries to install 8.8.6 without uninstalling the old version the problem occurrs.
As we know that if 8.8.6 finds old version on client's machine it will uninstall it first then install the new version.

What peculiar is happening , i wanna find out.

Regards,
Vicky
Attachments
Vista-Issues.zip
This zip contains aip project and log.
(268.1 KiB) Downloaded 408 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problem on Vista

Hello Vicky,

Each new version of your product must have a different aip. It is best if you read the following guides:
- How do I upgrade an older version of the package
- The Upgrades page

These two articles describe how to create upgrades for your product.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Re: Installer problem on Vista

Hi Gabriel!

Thanks for your reply.

1. "Automatically upgrade older product versions" option is set in the "Upgrades" page.
2. I have to update the product version and add/remove some files/folders in "Files and Folders" section as per our requirement.

Each time, I build an MSI, I performed above steps always.

Nothing else will be changed in aip project, and, it is the only aip project file which I have been using to build MSIs since years.


Regards,
Vicky
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problem on Vista

Hi Vicky,

This is odd. It should work.
Does the behavior manifest itself on other machines as well?

If so, please send us links to both the installers and your .aip project file to support at advanced installer dot com so we can further investigate the issue. We will need them to further analyze the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

Re: Installer problem on Vista

Hi Gabriel!

Problem only occurred on Vista, not on Windows-XP machines.

Regards,
Zia
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installer problem on Vista

Hi Zia,

Did you test this on more than one Vista?
Also, please provide us with the information I requested in my previous post. We will need it to further troubleshoot the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”