Prerequisites packaging incorrect files - Advanced Installer Community

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!

charris333
Posts: 3
Joined: Mon Jan 12, 2009 8:32 pm

Prerequisites packaging incorrect files

I am currently using version 6.7.1, and I have a project that contains 3 prerequisites: Windows installer 3.1, Acrobat Reader 9, and a VPN client. I am not using the default adobe prerequisite option because I have modified my adobe setup with the adobe setup tuner. Both the adobe reader installer and the VPN client installer have a data1.cab in them. I have made sure that both of these prerequisites have a folder established in the prereq. properties, and I have verified that the setup files are going into these folders when they are extracted, however, the data1.cab will be the same in both folders, instead of the correct data1.cab in the correct folder. In this case, adobe is listed in the prerequisites tab before the VPN client, so I always get the adobe data1.cab in both the adobe install folder and the vpn client install folder. If I move the vpn client up above the adobe prerequisite, I will get the vpn data1.cab in both folders instead.

I have attempted recreating both prerequisites a few times with various options, and always get this same behavior. I have been able to reproduce this behavior in another bare-bones project, so long as there are multiple prerequisites installed from 'file in package' and more than one of these prerequisites includes a 'data1.cab'.

Please let me know if further information is required, or if there is any workaround for this problem, other than wrapping one of my prerequisites inside yet another installer.

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

Re: Prerequisites packaging incorrect files

Hi,

I'm afraid we are unable to reproduce this behavior on our test machines. Can you please send us the AIP you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
charris333
Posts: 3
Joined: Mon Jan 12, 2009 8:32 pm

Re: Prerequisites packaging incorrect files

I made a test case for you, which failed for me in the past, but this time the test case installed the prerequisites as expected. I transferred the prerequisites I made to the repository, then in my real project I removed the prerequisites I made and added them from the repository. It works as expected now.

I'm sorry, by the time you requested the aip file, I had already modified it to install the second prereq. using a custom action, so I do not have an aip file that currently reflects this problem. I am confident that I was experiencing some sort of a bug, and I was able to reproduce it several different ways when I was researching it, but I suppose I could have been doing the same wrong steps over and over as well.

Either way, it works now. Thanks for your attention, sorry to have wasted your time.

-Chris
charris333
Posts: 3
Joined: Mon Jan 12, 2009 8:32 pm

Re: Prerequisites packaging incorrect files

I have experienced this problem again. I have sent the .aip file to the address requested. If you would like me to send you the file tree I am using, let me know and I will.

In it's current incarnation, the data1.cab from the SWGVPN folder(s) is also being copied to the adobe reader folder, instead of the adobe reader data1.cab, which is almost 50MB in size.

Thank you,
-Chris
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Prerequisites packaging incorrect files

Hi Chris,

After investigating the project you provided we found that the problem is caused by a bug in Advanced Installer. The bug will be fixed in a future version. Thank you for bringing this to our attention.

Until the bug is fixed, a workaround is to disable the LZMA compression for your prerequisites in the Options tab of the "Edit Prerequisite" dialog.

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

Return to “Common Problems”