hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Prerequisites sharing same appdir folder

Hi,

I have a feature based prerequisite that gets its appdir from main installer.
The pre-rep install all its file under [appdir]/local/ap. I have a sync folder on appdir.
The main installer also use [appdir]/local/xx
When uninstalling the main installer, [appdir]/local is deleted. why?

Because of that i need to uninstall the pre-rep before uninstalling the main app. How can I do that?

Thanks,
Hadas
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites sharing same appdir folder

Hi Hadas,

I'm not sure why you encounter this behavior. Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites sharing same appdir folder

Hi Hadas,

Looking on the AIP file that you sent over the email, I noticed that you have an "Uninstall Command Line" added for the prerequisite that are installed in the [APPDIR] location. So, when the main package is uninstalled, those prerequisites are also uninstalled through the command line that you set for them and that is why their related folders are also deleted.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Re: Prerequisites sharing same appdir folder

Hi,

This was part of the tests I tried. Even if i take this out, the folders are still being deleted.

Hadas
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites sharing same appdir folder

Hi Hadas,

I noticed that you have the "Remove folder" operation enabled in the "Operations" tab of the "Application Folder" from the "Files and Folders" page. Can you disable that operation and see if the behavior persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Re: Prerequisites sharing same appdir folder

Hi,

I've removed the remove folder and it worked.
Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites sharing same appdir folder

You're welcome Hadas. I'm glad it worked.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”