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!

Parag
Posts: 4
Joined: Wed Oct 09, 2013 11:39 am

Installation issue via GPO

Hi,

We are been using Advanced Installer 9.6 Professional version to generate packages for VSTO MS Outlook Addin (targeting version 2007, 2010)
MSI if built for Local Machine.
Manual installation of addin works fine. But the problem starts when tried to push via GPO, addin is not getting installed. Followed http://www.advancedinstaller.com/user-g ... l-gpo.html

The error is 1605 (action is only valid for products that are currently installed)
Have enabled windows installer logging. And here is what it dumps

=== Verbose logging started: 10/9/2013 15:10:37 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\system32\svchost.exe ===
MSI (c) (9C:98) [15:10:37:287]: Resetting cached policy values
MSI (c) (9C:98) [15:10:37:287]: Machine policy value 'Debug' is 3
MSI (c) (9C:98) [15:10:37:287]: ******* RunEngine:
******* Product: {b0094b69-7702-431d-a0df-d15e4dbb553d}
******* Action:
******* CommandLine: **********
MSI (c) (9C:98) [15:10:37:287]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (9C:98) [15:10:37:287]: Grabbed execution mutex.
MSI (c) (9C:98) [15:10:37:287]: Cloaking enabled.
MSI (c) (9C:98) [15:10:37:287]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (9C:98) [15:10:37:287]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (6C:58) [15:10:37:287]: Running installation inside multi-package transaction {b0094b69-7702-431d-a0df-d15e4dbb553d}
MSI (s) (6C:58) [15:10:37:287]: Grabbed execution mutex.
MSI (s) (6C:BC) [15:10:37:287]: Resetting cached policy values
MSI (s) (6C:BC) [15:10:37:287]: Machine policy value 'Debug' is 3
MSI (s) (6C:BC) [15:10:37:287]: ******* RunEngine:
******* Product: {b0094b69-7702-431d-a0df-d15e4dbb553d}
******* Action:
******* CommandLine: **********
MSI (s) (6C:BC) [15:10:37:287]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (6C:BC) [15:10:37:287]: MainEngineThread is returning 1605
MSI (s) (6C:58) [15:10:37:287]: User policy value 'DisableRollback' is 0
MSI (s) (6C:58) [15:10:37:287]: Machine policy value 'DisableRollback' is 0
MSI (s) (6C:58) [15:10:37:287]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (6C:58) [15:10:37:287]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (6C:58) [15:10:37:287]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (6C:58) [15:10:37:287]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (6C:58) [15:10:37:287]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (6C:58) [15:10:37:287]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (6C:58) [15:10:37:287]: Restoring environment variables
MSI (c) (9C:98) [15:10:37:287]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (9C:98) [15:10:37:287]: MainEngineThread is returning 1605
=== Verbose logging stopped: 10/9/2013 15:10:37 ===

I have made the MSI package to be very basic, that is "Limit to very basic UI" is turned on.
Addin is a 32bit installer.
Setup that we are using is:
Server side: windows 2008 R2 Active Directory services
Target Machine: Win 7 (64 bit) with Outlook 32 bit
The target machine is a cleaner one and have ensured all the per-requisites are installed. No older versions are there.
(As said earlier manual installation succeeds)

Shipping of 7zip, Skype worked fine, it only our installer does not work.
Any pointers, to what we are missing or going wrong ?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installation issue via GPO

Hi and welcome to Advanced Installer forums.

This issue may appear if some resources (especially registry entries) of the package remained on the machine from a previous installation (test), and when the Operating System finds them it tries to uninstall the package, but it finally finds that the package is not currently installed. You can take a look on this article for more details.

Can you reproduce the behavior on multiple clean machines where the package was never installed before? Also, can you please send us the full log of the installation?

The problem may also occur if you configured many times the package from the Group Policy Object by removing and adding it. When a package is removed, the "Immediately uninstall the software from users and computers" and "Allow users to continue to use the software, but prevent new installations" options are prompted and if they are not used correctly, the result might be that the GPO will try to uninstall a package that is not installed on the user's machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Parag
Posts: 4
Joined: Wed Oct 09, 2013 11:39 am

Re: Installation issue via GPO

Hi Eusebiu,

Thanks for your reply.

Before we start with the GPO push, we always ensure about the left over registry in case if any.
All clean is been done. Tried to look for the product code in registry but no traces were found.

Issue is reproducible on every clean machine we try out.

Agreed to the point that, may be because of too many attempts to do that something might have screwed up, but the question lies where exactly.

Here are logs which yo asked for.

Thanks,
Parag
Attachments
MSI48f2.LOG
(8.74 KiB) Downloaded 486 times
MSI48f1.LOG
(5.69 KiB) Downloaded 545 times
MSI48ef.LOG
(11.92 KiB) Downloaded 599 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installation issue via GPO

Hi Parag,
Agreed to the point that, may be because of too many attempts to do that something might have screwed up, but the question lies where exactly.
I'm not sure what is the configuration that got you to that problem, but I can give you an example which might lead to a problem like that:
- add a package to the "Group Policy Object", but do not start and install it on the user's machine
- remove it from the GPO and choose the "Immediately uninstall the software from users and computers" option
- add it again to the GPO and then start the user's machine to install it

In this case the GPO may first try to uninstall the package, but then it finds that the package is not currently installed on the machine.

A solution that I can think of, would be to try to generate new UpgradeCode and ProductCode for your package and then add and configure it as a new package to the GPO.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Parag
Posts: 4
Joined: Wed Oct 09, 2013 11:39 am

Re: Installation issue via GPO

Hi Eusebiu,

I am about to do a fresh setup of GPO (server and client), discarding the current one.
However, I will follow the steps you mentioned and let you know.

Also, the package that I have generated has new product and upgrade code.
Wompipomp
Posts: 6
Joined: Thu Jul 18, 2013 8:02 am

Re: Installation issue via GPO

We had the same problem.
The installer finished with the error 1605. If we published(not assigned) the package through GPO and tried to install it on the client it cancelled with "action is only valid for products that are currently installed".

Finally we solved the problem as follows:
We have a multilingual installer (en-us, en-gb, and de).
In the package for the gpo we had set the option "create only multilingual package" which caused the error.
If we set create seperate packages and then take the en-us package for rollout it worked.
Multi language options
Multi language options
Unbenannt.png (3.08 KiB) Viewed 10159 times
Maybe this helps someone with the same problem. ;)
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installation issue via GPO

Hi,

Thank you for sharing with us your solution, I'm sure it will help other users in the future.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installation issue via GPO

Hello,

You can try the workaround (add neutral language ID to your multilingual setup) debated in our "cannot add neuteral language" thread and see if this helps.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”