jstart
Posts: 18
Joined: Fri Apr 17, 2015 10:48 am

Service Failure Operation with Custom Setups

Hi,

I'm using Advanced Installer v11.4.1, my source binaries are x64, .NET3.5, VS2010.
Target OS: Windows 2008 R2.

I can create an AI project to install two features, a simple exe and a service.
For the service I've configured a Control Operation and a Failure Operation, containing 3x Failure Actions of Restart the service.

The setup installs completely without any issues when the Custom Setup has both features selected to be Installed on local hard drive.

However, if in the Custom Setup I choose only the 'simple exe' feature (not the service feature), the setup fails and rollsback.
If I then remove just the Failure Operation and rebuild the setup, I can then use Custom Setup to successfully install just the 'simple exe' feature with out any issues.

Out of interest, when the orignal setup (not this test setup) is used on Windows 2012 R2 I see a message "configuring service" even though the service feature is not selected, followed by a MSI app crash and it fails to roll back leaving the dev system in a 'mess'.

I can supply a simple AI project and MSI logs.

Thanks,
James.
jstart
Posts: 18
Joined: Fri Apr 17, 2015 10:48 am

Re: Service Failure Operation with Custom Setups

It looks like this issue doesn't repro with AI v12.0 (trial license).
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service Failure Operation with Custom Setups

Hi James,

Each Advanced Installer version includes new features and enhancements to the existing ones as you can see on the Advanced Installer Version History page. Maybe this issue has been fixed too. Please make sure that using the latest version everything is working as expected.

If using the latest version of Advanced Installer everything is working as expected, please send us an email to support at advancedinstaller dot com with your license key.

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

Return to “Common Problems”