I'm trying to use the MS merge module in my MSI to install some drivers on the client computer.
I't works perfect when I login on the computer as Administrator, but this package will be kicked off from a SMS server. So the package will be installed as a System User.
I've tested the same package (driver package that I made with difxapp msm) under a system user account. The Following error comes up:


[hr]

This is my first log file... this is where the install quits. (Installed under System User)

[hr]


Action 11:44:34: MsiRollbackInstall.
MSI (s) (A4:50) [11:44:34:054]: Executing op: CustomActionSchedule(Action=MsiRollbackInstall,ActionType=3329,Source=BinaryData,Target=RollbackInstall,CustomActionData=2.015{3188CFEC-B16E-4F3D-83BF-29A94174D74D}22DYMOLABELWRITER-76-EN-100MyCompany)
MSI (s) (A4:50) [11:44:34:074]: Executing op: ActionStart(Name=MsiInstallDrivers,,)
Action 11:44:34: MsiInstallDrivers.
MSI (s) (A4:50) [11:44:34:084]: Executing op: CustomActionSchedule(Action=MsiInstallDrivers,ActionType=3073,Source=BinaryData,Target=InstallDriverPackages,CustomActionData=2.015{3188CFEC-B16E-4F3D-83BF-29A94174D74D}C:\Program Files\DYMO Label\Drivers\22DYMOLABELWRITER-76-EN-100MyCompany)
MSI (s) (A4:28) [11:44:34:114]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI2D8.tmp, Entrypoint: InstallDriverPackages
MSI (s) (A4:74) [11:44:34:114]: Generating random cookie.
MSI (s) (A4:74) [11:44:34:174]: Created Custom Action Server with PID 408 (0x198).
MSI (s) (A4:C0) [11:44:34:425]: Running as a service.
MSI (s) (A4:5C) [11:44:34:425]: Hello, I'm your 32bit Elevated custom action server.
DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.01.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {3188CFEC-B16E-4F3D-83BF-29A94174D74D}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\DYMO Label\Drivers\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x2.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is DYMOLABELWRITER-76-EN-100.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is MyCompany.
DIFXAPP: ERROR 0x2 encountered while opening install-info subkey for component '{3188CFEC-B16E-4F3D-83BF-29A94174D74D}'
DIFXAPP: InstallDriverPackages failed with error 0x2
Action ended 11:44:35: InstallFinalize. Return value 3.
MSI (s) (A4:50) [11:44:35:657]: User policy value 'DisableRollback' is 0
MSI (s) (A4:50) [11:44:35:657]: Machine policy value 'DisableRollback' is 0
MSI (s) (A4:50) [11:44:35:677]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=952262031,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (A4:50) [11:44:35:677]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (A4:50) [11:44:35:677]: Executing op: DialogInfo(Type=1,Argument=DYMOLABELWRITER-76-EN-100)
MSI (s) (A4:50) [11:44:35:677]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 11:44:35: Rollback. Rolling back action:
Rollback: MsiInstallDrivers
MSI (s) (A4:50) [11:44:35:687]: Executing op: ActionStart(Name=MsiInstallDrivers,,)
MSI (s) (A4:50) [11:44:35:687]: Executing op: ProductInfo(ProductKey={FF732B05-F329-4232-837F-049BDE8D8CB8},ProductName=DYMOLABELWRITER-76-EN-100,PackageName=DYMOLABELWRITER-76-EN-100.msi,Language=1033,Version=117833828,Assignment=1,ObsoleteArg=0,ProductIcon=Icon_Dymolbl.exe,,PackageCode={8D41B0FC-B085-4D72-8DAB-3DC3869E4DA0},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0)
Rollback: MsiRollbackInstall
MSI (s) (A4:50) [11:44:35:687]: Executing op: ActionStart(Name=MsiRollbackInstall,,)
MSI (s) (A4:50) [11:44:35:697]: Executing op: CustomActionRollback(Action=MsiRollbackInstall,ActionType=3329,Source=BinaryData,Target=RollbackInstall,CustomActionData=2.015{3188CFEC-B16E-4F3D-83BF-29A94174D74D}22DYMOLABELWRITER-76-EN-100MyCompany)
MSI (s) (A4:C8) [11:44:35:727]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI2D9.tmp, Entrypoint: RollbackInstall
DIFXAPP: RollbackInstall
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.01.
DIFXAPP: 'CustomActionData' property 'componentId' is {3188CFEC-B16E-4F3D-83BF-29A94174D74D}.
DIFXAPP: 'CustomActionData' property 'flags' is 0x2.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is DYMOLABELWRITER-76-EN-100.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is MyCompany.
DIFXAPP: ERROR 0x2 encountered while opening install-info key for component '{3188CFEC-B16E-4F3D-83BF-29A94174D74D}'
DIFXAPP: Rollback failed with error 0x2
Rollback: Copying new files




[hr]
Second Install that installed correctly under Administrator Account

[hr]


DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.01.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {3188CFEC-B16E-4F3D-83BF-29A94174D74D}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\DYMO Label\Drivers\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x2.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is DYMOLABELWRITER-76-EN-100.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is MyCompany.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: INFO: DYMO.inf: checking signature with catalog 'C:\Program Files\DYMO Label\Drivers\DYMO.CAT' ...
DIFXAPP: INFO: Driver package 'DYMO.inf' is WHQL signed.
DIFXAPP: INFO: Copied 'DYMO.inf' to driver store...
DIFXAPP: INFO: Copied 'DYMO.CAT' to driver store...
DIFXAPP: INFO: Commiting queue...
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1UI.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1UI.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400T.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400T.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LM450MON.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LM450MON.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW330T.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW330T.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1_128.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1_128.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LP350.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LP350.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1_128.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1_128.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW310.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW310.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400_UI.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400_UI.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LP350.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LP350.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1_128.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1_128.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LP350.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LP350.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUOLW.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUOLW.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1MON.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1MON.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LM450.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LM450.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400C.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400C.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LM450.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LM450.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LM450.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LM450.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LP350MON.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LP350MON.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW330.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW330.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LP350UI.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LP350UI.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW315.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW315.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_D1.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_D1.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW300.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW300.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DYMOCFG.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DYMOCFG.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LMPC2.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LMPC2.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LM450UI.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LM450UI.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LMPC2.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LMPC2.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LMPC2.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LMPC2.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LMPC2_MON.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LMPC2_MON.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\DUO_128MON.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DUO_128MON.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LMPC2UI.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LMPC2UI.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW320.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW320.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400TT.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400TT.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400.INI' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400.INI'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400MON.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400MON.DLL'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400.GPD' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400.GPD'.
DIFXAPP: INFO: Copied file: 'C:\Program Files\DYMO Label\Drivers\LW400.DLL' -> 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\LW400.DLL'.
DIFXAPP: INFO: Installing INF file "C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DYMO.inf" of Type 6.
DIFXAPP: INFO: Looking for Model Section ...
DIFXAPP: INFO: No matching devices found in INF "C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DYMO.inf" on the Machine.
DIFXAPP: INFO: No drivers installed. No devices found that match driver(s) contained in 'C:\WINDOWS\system32\DRVSTORE\DYMO_74C79D5401940CEA298520EB33954A694226B66F\DYMO.inf'.
DIFXAPP: SUCCESS:Installation completed with code 0xE000020B.
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE000020B)
DIFXAPP: The device(s) for which the driver is being installed has not been plugged into the computer.
DIFXAPP: INFO: ENTER: DriverPackageGetPathW
DIFXAPP: SUCCESS:Found driver store entry.
DIFXAPP: INFO: RETURN: DriverPackageGetPathW (0x7A)
DIFXAPP: INFO: ENTER: DriverPackageGetPathW
DIFXAPP: SUCCESS:Found driver store entry.
DIFXAPP: INFO: RETURN: DriverPackageGetPathW (0x0)


[hr]

Does anyone know this problem? And can it be fixed in some sort of way?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Have you verified that the "System User" is the actual System account.
Verify that the System account has access to the temp folder (C:\WINDOWS\temp).
From SMS; test to copy the MSI locally on the client and run it from there.

I've installed drivers using the DIFxApp.msm before using SMS and can't say I've seen that issue before.
Could try using dpinst.exe instead and see if that helps.
Answered 06/02/2008 by: AngelD
Red Belt

Please log in to comment
0
I don't know HOW I missed this yesterday. Sorry about that...

Firstly, a request. Could you use the 'code' tag when posting code or log extracts? Posting them as-is makes threads much harder to read.

Next, error 02 almost always means 'File not found'. Equally almost always, when I have encountered this error, copying the MSI locally and running it from there makes it go away. I suspect the reason is that the System account has no network access.
Answered 06/03/2008 by: VBScab
Red Belt

Please log in to comment
0
I've had this issue for a long time. It appears to be a bug in the DifXapp framework. If the user account under which the MSI is invoked has its profile loaded then all works fine. For a remote install where the driving account's profile is not loaded it breaks. I'm not sure of what is going on under the hood, but it looks like difxapp is trying to detect component codes in the user's profile as part of the install, which fails if there's no user profile available.

To work around this you have to either log into the machine and run it locally, or else you have to find some way to forcibly load the user profile into the registry before starting the installation, e.g. by pushing down a bootstrapper to the remote device which will launch the MSI on your behalf, or at least that is the way we do it.
Answered 07/15/2008 by: stephen_connolly
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity