Product Upgrade - Feature missing - 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!

rhphoenix
Posts: 3
Joined: Tue Mar 12, 2013 8:35 am

Product Upgrade - Feature missing

Hello, we have a strange problem with our installers:

We have products with 2 Features: MAIN & AUTOUPDATE.
the MAIN Feature is always enabled, the AUTOUPDATE Feature must be activated by user or via Commandline Switch (ADDLOCAL=MAIN,AUTOUPDATE).

So far the installation runs perfectly when installed for the first time.
But now we made an Update (not the first time), und the rollout shows a problem: After Installation, the second Feature is just uninstalled, und the Files are missing.
The Only way to solve the problem is to uninstall the software and reinstall with same parameters - and the feature is complete.

Logs from normal Install, no older Version of software installed:
MSI (s) (18:80) [08:06:06:034]: Doing action: InstallValidate
Action ended 08:06:06: SetODBCFolders. Return value 0.
MSI (s) (18:80) [08:06:06:035]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is 'f4aab52df176b34d9e95353e155605ae'.
MSI (s) (18:80) [08:06:06:035]: Feature: AUTOUPDATE; Installed: Absent; Request: Local; Action: Local
MSI (s) (18:80) [08:06:06:035]: Feature: MAIN; Installed: Absent; Request: Local; Action: Local
MSI (s) (18:80) [08:06:06:035]: Component: Presento; Installed: Absent; Request: Local; Action: Local
MSI (s) (18:80) [08:06:06:035]: Component: presento.exe; Installed: Absent; Request: Local; Action: Local
MSI (s) (18:80) [08:06:06:035]: Component: PresentoAU; Installed: Absent; Request: Local; Action: Local
MSI (s) (18:80) [08:06:06:035]: Component: AutoUpdate.exe; Installed: Absent; Request: Local; Action: Local
Here the Log from an upgrade:
MSI (s) (38:4C) [08:22:40:559]: Doing action: InstallValidate
Action ended 08:22:40: SetODBCFolders. Return value 0.
MSI (s) (38:4C) [08:22:40:560]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '52b08f3b77bb0f468fa47633045a5fec'.
MSI (s) (38:4C) [08:22:40:560]: Feature: AUTOUPDATE; Installed: Absent; Request: Local; Action: Local
MSI (s) (38:4C) [08:22:40:560]: Feature: MAIN; Installed: Absent; Request: Local; Action: Local
MSI (s) (38:4C) [08:22:40:560]: Component: Presento; Installed: Absent; Request: Local; Action: Local
MSI (s) (38:4C) [08:22:40:560]: Component: presento.exe; Installed: Absent; Request: Local; Action: Local
MSI (s) (38:4C) [08:22:40:560]: Component: PresentoAU; Installed: Absent; Request: Local; Action: Local
MSI (s) (38:4C) [08:22:40:560]: Component: AutoUpdate.exe; Installed: Absent; Request: Local; Action: Null
Hint: The Component "AutoUpdate.exe" belongs to the Feature "AUTOUPDATE".
As you can see, the Feature Action is correctly set to "local" but the action on the Files itself is set to Null. Therefor no installation of this feature is happening.
Are we making something wrong here?

Funny thing is, we use the Update mechanism for a while, an we had sometimes reports of this behaviour of our clients, but could not reproduce it.
But with newest 9.9 Build I can reproduce the behaviour everytime.
All tests were made on Windows 7, 64Bit Systems.

If you need more Information or even the complete Logs or Installations, I can send them to you.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Product Upgrade - Feature missing

Hi,

It is recommended to attach the full log for the upgrade and the aip file, or send them to support at advancedinstaller dot com.

The situation you are encountering may appear if:

1) the component is been seen as shared with another application and Windows decides to skip it. If so you should find something like this in the log: "Disallowing ...<component GUID>"

As a solution you can change the component GUID.

2) You have an install condition on your component that is not true, check the "Condition" field for that, when the component is select in Organization page.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rhphoenix
Posts: 3
Joined: Tue Mar 12, 2013 8:35 am

Re: Product Upgrade - Feature missing

thanks for the quick response, I send you an email with more informations.
there is no condition in Files or the Feature, and I couldn't find a log entry like you mentioned.

kind regards
rhphoenix
Posts: 3
Joined: Tue Mar 12, 2013 8:35 am

Re: Product Upgrade - Feature missing

after response from support we fixed the Issue.

It seems that using the same shared folder for a component used in three different products is not a good idea.

We could change to put that feature into a seperate MSI Package, or simply install the Components to each Installation.
Our Component wasn't big in size, so that was no Problem for us to put it into a subfolder to every product, and not to share the component anymore.

thanks for superb support and fast feedback!

Return to “Common Problems”