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

Modify option displays wrong installation path

Hi!

I am using AI-6.4.1 and building an enterprise project.
When I go for re-installation of the version which was already installed, MSI asks for Modify/Repair/Remove options.
If i choose Modify it shows wrong installation directory as "C:\Program Files", whereas I've installed the product in "D:\Program Files".

What could be the reason? Please help me rectifying this problem.

Thanks in anticipation.

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

Re: Modify option displays wrong installation path

Hi Vicky,

I am not sure what path you are referring to. Can you please send us a screenshot with the dialog you are referring to and your .aip project file to support at advancedinstaller dot com?

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

Re: Modify option displays wrong installation path

Hi Gabriel!

Thanks for ur response and i do apologize for my late reply.

I have attached verbose log of my installer. This version is already installed on client machine and he wants to install it again so installer will ask to choose 'Modify', 'Repair' and 'Remove'. On choosing 'Modify' option it displays wrong installation path(plz refer to the attached image).

Regards,
Zia
Attachments
Screenshot of modify dialog
Screenshot of modify dialog
Screen-Modify-wrong path.gif (14.99 KiB) Viewed 11858 times
xasetup.log
Verbose log
(426.22 KiB) Downloaded 866 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Modify option displays wrong installation path

Hi Vicky,

Please send us your .aip project file (or a stripped down version that accurately reproduces this behavior) to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
FoamyUK
Posts: 3
Joined: Tue Sep 29, 2009 7:22 pm

Re: Modify option displays wrong installation path

Just to add, I have experienced the same issue today.
The modify dialog doesn't remember the path that was used in the initial install session.

Is this a bug that has crept in recently? Surely this would have been noticed many times before otherwise.
If so, do you know what version we could revert back to in order to avoid this issue? (7.0, or 7.1 perhaps?).

Thanks,

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

Re: Modify option displays wrong installation path

Hi Gabriel!

I am using AI-6.4.1 and build an enterprise project. I think you can just check this by making a MSI using this version.
Install this MSI and on re-installation it will ask for 'Modify', 'Repair' and 'Remove', choose modify.
You can easily reproduce this behavior.

FYI: I have made 4 MSIs (all different and very simple) using AI-6.4.1 and all behaves in same manner that they don't remember the installation location on choosing MODIFY option.

I think it is a bug in this version, if so, please suggest some solution.

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

Re: Modify option displays wrong installation path

Hi Vicky,

I am afraid I could not replicate this behavior with AI 6.4.1. Please send us your .aip project file so we can properly analyze this problem.

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

Re: Modify option displays wrong installation path

Hi Gabriel!

Please find the .aip project as an attachment.

Regards,
Vicky
Attachments
MSI_Eclipse.aip
.aip project file
(837.76 KiB) Downloaded 1236 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Modify option displays wrong installation path

Hello,

This seems to be a limitation in Windows Installer when the Application Folder does not contain any files, only folders. We have no control over this behavior.
A workaround would be to place a file in that folder.

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

Re: Modify option displays wrong installation path

hi Gabriel!

Can't we do anything using Custom Action?
I mean, can we tell installer the installation location using custom action on MODIFY.

Regards,
Vicky
FoamyUK
Posts: 3
Joined: Tue Sep 29, 2009 7:22 pm

Re: Modify option displays wrong installation path

I have tried the fix you suggest, it seems to work. :D Thanks for the workaround. Let's hope that in future it won't be necessary.

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

Re: Modify option displays wrong installation path

hi Gabriel!

I have asked the following question earlier, but, did not get any answer, so posting again.

Can't we do anything using Custom Action?
I mean, can we tell installer the installation location using custom action on MODIFY.

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

Re: Modify option displays wrong installation path

Hello,

No, this can not be achieved since it is a limitation in Windows Installer. Your APPDIR should not be empty (should not contain only folders). You should place your files in it, than change your Application Folder from the Install Parameters page.

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

Return to “Common Problems”