Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSI is not deployed through GPO #1801

Closed
bellegarde-c opened this issue Oct 8, 2020 · 2 comments
Closed

MSI is not deployed through GPO #1801

bellegarde-c opened this issue Oct 8, 2020 · 2 comments

Comments

@bellegarde-c
Copy link

bellegarde-c commented Oct 8, 2020

When using a GPO to deploy RocketChat, it fails with error 1603:

Quote from the WEB:

1603 fatal errors usually are caused by one of two things: the account doing the installation can't write where it needs to, or the installation package is corrupted. Since you've ruled out #2 by doing an install with it, I'll assume it's #1.

When you use a computer-based software installation GPO, what you're doing is installing the software as the SYSTEM account. Some software installers misbehave and require that data be written to the installing user's profile. The SYSTEM account doesn't have a traditional profile like other user accounts do, which gives the illusion that required directories do not exist. This could explain why a logon script or manual install works - neither run as SYSTEM.

I'd check with your software vendor and make sure that this software can be deployed the way that you are trying, since all signs point to the software installer itself being the culprit.

When using a GPO computer startup script with msiexec /qn /i \\srv\Scripts\Applications\rocketchat-setup-3.0.2.msi ALLUSERS="1", it works as expected.

Here logs:

=== Verbose logging started: 08/10/2020  10:10:25  Build type: SHIP UNICODE 5.00.10011.00  Calling process: C:\Windows\system32\svchost.exe ===
MSI (c) (44:40) [10:10:25:788]: User policy value 'DisableRollback' is 0
MSI (c) (44:40) [10:10:25:788]: Machine policy value 'DisableRollback' is 0
MSI (c) (44:40) [10:10:25:788]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (44:40) [10:10:25:788]: Note: 1: 2318 2:  
MSI (c) (44:40) [10:10:25:788]: Note: 1: 2318 2:  
MSI (c) (44:40) [10:10:25:788]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (c) (44:40) [10:10:25:804]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1363576628,LangId=1033,Platform=589824,ScriptType=3,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (c) (44:40) [10:10:25:804]: Executing op: ProductInfo(ProductKey={D89F6DC7-88C8-4673-897A-AE3E6C89813D},ProductName=Rocket.Chat,PackageName=rocketchat-setup-3.0.2.msi,Language=1033,Version=50331650,Assignment=0,ObsoleteArg=0,ProductIcon=icon.ico,,PackageCode={5C2E363B-15C2-4378-BF5D-7A5ED75F3C76},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=6)
MSI (c) (44:40) [10:10:25:804]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (c) (44:40) [10:10:25:804]: Executing op: DialogInfo(Type=1,Argument=Rocket.Chat)
MSI (c) (44:40) [10:10:25:804]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (c) (44:40) [10:10:25:804]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1])
MSI (c) (44:40) [10:10:25:804]: Executing op: IconCreate(Icon=icon.ico,Data=BinaryData)
MSI (c) (44:40) [10:10:25:804]: Executing op: SetTargetFolder(Folder=2)
MSI (c) (44:40) [10:10:25:804]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (44:40) [10:10:25:804]: Executing op: ShortcutCreate(Name=k1dr95yf.cha|Rocket.Chat,Feature=ProductFeature,Component={8D41D51D-18F5-5195-9659-B2EDC5377FF9}[~]2,,,WorkingDir=C:\Users\admin-cb\AppData\Local\Programs\rocketchat\,Icon=icon.ico,,,,,,,,)
MSI (c) (44:40) [10:10:25:804]: Executing op: ShortcutPropertyCreate(ShortcutName=k1dr95yf.cha|Rocket.Chat,PropertyKey=System.AppUserModel.ID,PropVariantValue=chat.rocket)
MSI (c) (44:40) [10:10:25:804]: Note: 1: 1402 2: HKEY_CLASSES_ROOT\.Chat 3: 2 
1: 2902 2: ixoShortcutPropertyCreate 
MSI (c) (44:40) [10:10:25:804]: Note: 1: 2318 2:  
MSI (c) (44:40) [10:10:25:804]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1363693901,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (c) (44:40) [10:10:25:804]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (c) (44:40) [10:10:25:804]: Executing op: DialogInfo(Type=1,Argument=Rocket.Chat)
MSI (c) (44:40) [10:10:25:804]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (c) (44:40) [10:10:25:804]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1])
MSI (c) (44:40) [10:10:25:804]: Executing op: SetTargetFolder(Folder=2)
MSI (c) (44:40) [10:10:25:804]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (44:40) [10:10:25:804]: Executing op: ProductInfo(ProductKey={D89F6DC7-88C8-4673-897A-AE3E6C89813D},ProductName=Rocket.Chat,PackageName=rocketchat-setup-3.0.2.msi,Language=1033,Version=50331650,Assignment=0,ObsoleteArg=0,ProductIcon=icon.ico,,PackageCode={5C2E363B-15C2-4378-BF5D-7A5ED75F3C76},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=6)
MSI (c) (44:40) [10:10:25:804]: Executing op: FileRemove(,FileName=C:\Windows\Installer\{D89F6DC7-88C8-4673-897A-AE3E6C89813D}\icon.ico,Elevate=1,)
MSI (c) (44:40) [10:10:25:819]: Note: 1: 2318 2:  
MSI (c) (44:40) [10:10:25:819]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)
MSI (c) (44:40) [10:10:25:819]: Error in rollback skipped.	Return: 5
MSI (c) (44:40) [10:10:25:819]: Note: 1: 2318 2:  
MSI (c) (44:40) [10:10:25:819]: DoAdvertiseScript is returning: 1603
=== Verbose logging stopped: 08/10/2020  10:10:25 ===
@GildasRB
Copy link

Hello,

I have the same problem, with the 3.0.4 release

=== Verbose logging started: 19/10/2020 23:29:08 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\WINDOWS\system32\svchost.exe ===
MSI (c) (18:10) [23:29:08:669]: User policy value 'DisableRollback' is 0
MSI (c) (18:10) [23:29:08:669]: Machine policy value 'DisableRollback' is 0
MSI (c) (18:10) [23:29:08:669]: Note: 1: 2318 2:
MSI (c) (18:10) [23:29:08:669]: Note: 1: 2318 2:
MSI (c) (18:10) [23:29:08:669]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (c) (18:10) [23:29:08:669]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1364441441,LangId=1033,Platform=589824,ScriptType=3,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (c) (18:10) [23:29:08:669]: Executing op: ProductInfo(ProductKey={0401E21A-BB18-4CB4-897E-27A28F54C9A2},ProductName=Rocket.Chat,PackageName=rocketchat-setup-3.0.4.msi,Language=1033,Version=50331652,Assignment=0,ObsoleteArg=0,ProductIcon=icon.ico,,PackageCode={FBD857C4-5623-4EAF-9ADC-AF61157961CF},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=6)
MSI (c) (18:10) [23:29:08:669]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (c) (18:10) [23:29:08:669]: Executing op: DialogInfo(Type=1,Argument=Rocket.Chat)
MSI (c) (18:10) [23:29:08:669]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (c) (18:10) [23:29:08:669]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1])
MSI (c) (18:10) [23:29:08:676]: Executing op: IconCreate(Icon=icon.ico,Data=BinaryData)
MSI (c) (18:10) [23:29:08:676]: Scheduling file 'C:\WINDOWS\Installer\{0401E21A-BB18-4CB4-897E-27A28F54C9A2}\icon.ico' for deletion during post-install cleanup (not post-reboot).
MSI (c) (18:10) [23:29:08:676]: Executing op: SetTargetFolder(Folder=2)
MSI (c) (18:10) [23:29:08:676]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (18:10) [23:29:08:676]: Executing op: ShortcutCreate(Name=k1dr95yf.cha|Rocket.Chat,Feature=ProductFeature,Component={8D41D51D-18F5-5195-9659-B2EDC5377FF9}[~]2,,,WorkingDir=C:\Users\administrator.AD\AppData\Local\Programs\rocketchat\,Icon=icon.ico,,,,,,,,)
MSI (c) (18:10) [23:29:08:676]: Executing op: ShortcutPropertyCreate(ShortcutName=k1dr95yf.cha|Rocket.Chat,PropertyKey=System.AppUserModel.ID,PropVariantValue=chat.rocket)
MSI (c) (18:10) [23:29:08:676]: Note: 1: 1402 2: HKEY_CLASSES_ROOT\.Chat 3: 2
1: 2902 2: ixoShortcutPropertyCreate
MSI (c) (18:10) [23:29:08:676]: Note: 1: 2318 2:
MSI (c) (18:10) [23:29:08:676]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1364442021,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (c) (18:10) [23:29:08:676]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (c) (18:10) [23:29:08:676]: Executing op: DialogInfo(Type=1,Argument=Rocket.Chat)
MSI (c) (18:10) [23:29:08:676]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (c) (18:10) [23:29:08:676]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1])
MSI (c) (18:10) [23:29:08:676]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Microsoft\Windows\CurrentVersion\Installer\TempPackages,,BinaryType=1,,)
MSI (c) (18:10) [23:29:08:676]: Executing op: SetTargetFolder(Folder=2)
MSI (c) (18:10) [23:29:08:676]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (18:10) [23:29:08:676]: Executing op: ProductInfo(ProductKey={0401E21A-BB18-4CB4-897E-27A28F54C9A2},ProductName=Rocket.Chat,PackageName=rocketchat-setup-3.0.4.msi,Language=1033,Version=50331652,Assignment=0,ObsoleteArg=0,ProductIcon=icon.ico,,PackageCode={FBD857C4-5623-4EAF-9ADC-AF61157961CF},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=6)
MSI (c) (18:10) [23:29:08:676]: Executing op: RegRemoveValue(Name=C:\WINDOWS\Installer\{0401E21A-BB18-4CB4-897E-27A28F54C9A2}\icon.ico,Value=#1,)
MSI (c) (18:10) [23:29:08:676]: Executing op: RegRemoveKey()
MSI (c) (18:10) [23:29:08:676]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\TempPackages 3: 2
MSI (c) (18:10) [23:29:08:676]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)
MSI (c) (18:10) [23:29:08:676]: Error in rollback skipped. Return: 5
MSI (c) (18:10) [23:29:08:676]: Note: 1: 2318 2:
MSI (c) (18:10) [23:29:08:676]: DoAdvertiseScript is returning: 1603
=== Verbose logging stopped: 19/10/2020 23:29:08 ===

@jeanfbrito
Copy link
Collaborator

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants