ischafer
Posts: 8
Joined: Fri Dec 06, 2013 12:03 pm

Problems using prerequisites

Hi

I'm using multiple feature-based prerequisites (device drivers with exe-installers) in my project. The application to install has subfeatures, and the driver-prerequisites are subfeatures of these subfeatures, so that only these drivers are installed, that are needed. Now I encounter two problems with this setup:

- The drivers are installed, when the concerning subfeatures are selected during install. But in maintenance mode, when adding a subfeature, the needed drivers are not installed.
- I set an uninstall command line in the "Maintenance Command Line" section of the prerequisites. But they don't seem to be called, neither during maintenance, nor during uninstall.

What could cause this behavior?

Thanks in advance

Iwan
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problems using prerequisites

Hello Iwan,

I'm not sure why you encountered this behavior.

In order to have a better view about this, please send us the .AIP (project file) and a verbose log of the maintenance process to support at advancedinstaller dot com so we can investigate them.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ischafer
Posts: 8
Joined: Fri Dec 06, 2013 12:03 pm

Re: Problems using prerequisites

Hi Dan

I've attached the project and some logs. Now I must say, that the behavior in maintenance seems to be better than the first time I tested.

Here is what I have done when creating the logs:
1. Install with all features -> all prerequisites installed, ok
2. Uninstalled all subfeatures in maintenance mode -> unneeded prerequisites have been uninstalled, ok
3. Installed the subfeatures again -> prerequisites have been installed again, ok
4. Complete uninstall -> not all prerequisites were uninstalled, not ok

So, my main problem is that the uninstall doesn't seem to work as expected. This is also the case when uninstalled directly after the install. So the maintenance doesn't seem to influence that.

Concerning the maintenance, I have to analyze that a bit more. I noticed, that there are differences between the modifying through the control panel, and when starting the installer-exe again and then select modify. But this is something for next year, time for holidays :D

Thanks in advance for your help, best regards
Iwan
Attachments
Installer_project_and_logs.zip
(333.97 KiB) Downloaded 381 times
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problems using prerequisites

Hi Iwan,

I'm not sure why you encountered this behavior. Can you please tell us what prerequisites are not uninstalling?

Also, can you please try to isolate the behavior in a sample or send us a detailed step by step test case scenario which always reproduces the behavior so we can investigate it?

Happy New Year,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ischafer
Posts: 8
Joined: Fri Dec 06, 2013 12:03 pm

Re: Problems using prerequisites

Hi Dan

Thanks for your reply and I wish you happy new year too!

Attached you can find a shrinked down version of my project folder. It does need a x64 Windows Version (tested with Windows 7 Pro x64) and an installed JRE 7 x86 to be built, all the other things should be included.

When being installed, the only thing to check is to include all the available features (EyeSuite and EyeSuite Biometry). This way, the prerequisite ls900_driver_64 is being installed (shows up as Haag-Streit AG Biometry USB2 Driver). And when the sample application is being uninstalled, this driver is not being uninstalled.

Hope you can find something, which explains this behavior. Thanks in advance for your help.

Best regards
Iwan
Attachments
1020848_EyeSuite_Installer_sample.zip
(639.88 KiB) Downloaded 351 times
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problems using prerequisites

Hi Iwan,

I've tested your sample and indeed I can replicate the behavior which you described. I'm not sure why is this happening. Currently, this is under investigation and as soon as I have a conclusive answer I'll get back to you.

As a workaround you can check the Disable Remove option from Product Details page so the user cannot “Remove” directly from the Control Panel and go through the Maintenance mode. This way the prerequisite will be completely uninstalled.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problems using prerequisites

Hello Iwan,

This behavior is caused by the fact that there is a folder removal operation on uninstall process which deleted the prerequisite files extracted on install. The launcher then cannot find the prerequisite file.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”