Service doesn't reinstall on upgrade - Advanced Installer Community
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Service doesn't reinstall on upgrade

I have an MSI that is not reinstalling 2 of its 3 services when performing an upgrade (it functions fine installing fresh).

During an upgrade I get this :

Code: Select all

MSI (s) (2C:50) [13:27:10:527]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2])
MSI (s) (2C:50) [13:27:10:532]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
During a fresh install :

Code: Select all

MSI (s) (2C:F8) [13:37:28:614]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2])
MSI (s) (2C:F8) [13:37:28:619]: Executing op: ProgressTotal(Total=3,Type=1,ByteEquivalent=1300000)

Why during a fresh install does it find all 3 services ProgressTotal(Total=3) and only 1 during an upgrade?

The differences between the 2 non-working services and the working one :
Install :
Working service has no description
Working service is marked as "Allow the service to interact with desktop"
Working service is marked as "The service is vital for installation"
Working service has different dependencies

Control Operations:
Working service is marked as "Start" on Install
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service doesn't reinstall on upgrade

Hello,

I'm not sure why you encountered this behaviour.
In order to have a better view about this, can you please send us the .AIP (project file) and the full verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Re: Service doesn't reinstall on upgrade

Email sent with install and upgrade logs, as well as AIP file.
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Re: Service doesn't reinstall on upgrade

Any updates?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service doesn't reinstall on upgrade

Hello,

In the log I can see several messages as:
MSI (c) (AC:B4) [13:25:41:183]: Disallowing installation of component: {A3B60D1D-0551-4810-AB77-22C46EC4D089} since the same component with higher versioned keyfile exists
MSI (c) (AC:B4) [13:25:41:195]: Disallowing installation of component: {7CFD881B-233D-41F1-A4E4-6C89435A7B4B} since the same component with higher versioned keyfile exists
MSI (c) (AC:B4) [13:25:41:209]: Disallowing installation of component: {46273959-6908-4BDF-B38B-6F7033583EEB} since the same component with higher versioned keyfile exists
MSI (c) (AC:B4) [13:25:41:226]: Disallowing installation of component: {11AC0984-E680-4C7C-BCE5-30C0BF187B44} since the same component with higher versioned keyfile exists
This is the reason why your file is not copied on the target machine.
The upgrade process performs the following actions:
  • Detect and completely remove older products. During this operation the file will be removed from the machine.
  • Install the new product. The file from the upgraded version will not be installed since its component was not marked for installation.
To overcome this behaviour, you can enable the Always overwrite existing file option from the File Operations Tab of the File Properties.

Please let me know if the behaviour still persist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Re: Service doesn't reinstall on upgrade

Makes perfect sense, thanks a ton!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service doesn't reinstall on upgrade

You're always welcome,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

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

Return to “Common Problems”