/build/static/layout/Breadcrumb_cap_w.png

Driver Repair in test user account

Hi ,
The driver package which i am installing is working fine in admin account ( i mean i am able to repair it ) . But in test user account i am unable to repair the driver package .
The log file in the test user account is as follows :

MSI (s) (40:78) [21:24:04:310]: File: C:\WINDOWS\system32\Setup\aladdin\hasphl\Driver1\akshasp.sys; Won't Overwrite; Won't patch; Existing file is of an equal version
MSI (s) (40:78) [21:24:04:310]: Executing op: CacheSizeFlush(,)
MSI (s) (40:78) [21:24:04:310]: Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (40:78) [21:24:04:310]: Executing op: ActionStart(Name=MsiRollbackInstall,,)
MSI (s) (40:78) [21:24:04:310]: Executing op: CustomActionSchedule(Action=MsiRollbackInstall,ActionType=1281,Source=BinaryData,Target=RollbackInstall,CustomActionData=2.03{D184627A-85F6-4C72-8F5F-01C439210709}23Aladdin HASP HL Driver 5.20.130.1Aladdin)
MSI (s) (40:78) [21:24:04:325]: Executing op: ActionStart(Name=MsiInstallDrivers,,)
MSI (s) (40:78) [21:24:04:325]: Executing op: CustomActionSchedule(Action=MsiInstallDrivers,ActionType=1025,Source=BinaryData,Target=InstallDriverPackages,CustomActionData=2.03{D184627A-85F6-4C72-8F5F-01C439210709}C:\WINDOWS\system32\Setup\aladdin\hasphl\Driver2\23Aladdin HASP HL Driver 5.20.130.1Aladdin)
MSI (s) (40:E4) [21:24:04:357]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI35F.tmp, Entrypoint: InstallDriverPackages
DIFXAPP: InstallDriverPackages
DIFXAPP: ERROR - You do not have sufficient security privileges to install drivers on this machine.
MSI (s) (40:78) [21:24:04:513]: User policy value 'DisableRollback' is 0
MSI (s) (40:78) [21:24:04:513]: Machine policy value 'DisableRollback' is 0
Action ended 21:24:04: InstallFinalize. Return value 3.
MSI (s) (40:78) [21:24:04:622]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=953723650,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (40:78) [21:24:04:622]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (40:78) [21:24:04:638]: Executing op: DialogInfo(Type=1,Argument=Aladdin HASP HL Driver 5.20.130.1)
MSI (s) (40:78) [21:24:04:638]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files...,CleanupTemplate=File: [1])




Where as in the admin account there is no such error , The log file is as follows :

MSI (s) (00:0C) [20:18:54:713]: Executing op: FileCopy(SourceName=akshasp.sys,SourceCabKey=akshasp.sys,DestName=akshasp.sys,Attributes=1024,FileSize=327808,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,Version=4.11.62.1,Language=1033,InstallMode=128188416,,,,,,,)
MSI (s) (00:0C) [20:18:54:713]: File: C:\WINDOWS\system32\Setup\aladdin\hasphl\Driver1\akshasp.sys; Won't Overwrite; Won't patch; Existing file is of an equal version
MSI (s) (00:0C) [20:18:54:713]: Executing op: CacheSizeFlush(,)
MSI (s) (00:0C) [20:18:54:713]: Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (00:0C) [20:18:54:713]: Executing op: ActionStart(Name=MsiRollbackInstall,,)
MSI (s) (00:0C) [20:18:54:728]: Executing op: CustomActionSchedule(Action=MsiRollbackInstall,ActionType=1281,Source=BinaryData,Target=RollbackInstall,CustomActionData=2.03{D184627A-85F6-4C72-8F5F-01C439210709}23Aladdin HASP HL Driver 5.20.130.1Aladdin)
MSI (s) (00:0C) [20:18:54:728]: Executing op: ActionStart(Name=MsiInstallDrivers,,)
MSI (s) (00:0C) [20:18:54:728]: Executing op: CustomActionSchedule(Action=MsiInstallDrivers,ActionType=1025,Source=BinaryData,Target=InstallDriverPackages,CustomActionData=2.03{D184627A-85F6-4C72-8F5F-01C439210709}C:\WINDOWS\system32\Setup\aladdin\hasphl\Driver2\23Aladdin HASP HL Driver 5.20.130.1Aladdin)
MSI (s) (00:04) [20:18:54:760]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI317.tmp, Entrypoint: InstallDriverPackages
DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.0.
DIFXAPP: 'CustomActionData' property 'UI Level' is 3.
DIFXAPP: 'CustomActionData' property 'componentId' is {D184627A-85F6-4C72-8F5F-01C439210709}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\WINDOWS\system32\Setup\aladdin\hasphl\Driver2\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x2.
DIFXAPP: 'CustomActionData' property 'installState' is 3.
DIFXAPP: 'CustomActionData' property 'ProductName' is Aladdin HASP HL Driver 5.20.130.1.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Aladdin.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: INFO: Checking signature with catalog 'C:\WINDOWS\system32\Setup\aladdin\hasphl\Driver2\aksusb.cat' ...
DIFXAPP: INFO: Driver package 'aksusb.inf' approved.
DIFXAPP: INFO: Copying 'aksusb.inf' to driver store...
DIFXAPP: INFO: Copying 'aksusb.cat' to driver store...
DIFXAPP: INFO: Copying 'aksusb.sys' to driver store...
DIFXAPP: INFO: Copying 'aksclass.sys' to driver store...



First i thought it was permission problem , so i gave the permissions to the insaller folder , even then its not working. Moreover the package is looking for the .tmp file in the installer folder . Can anyone help me in solving this problem.



Thanks in advance.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: AngelD 15 years ago
Red Belt
0
Make sure the msidbCustomActionTypeNoImpersonate attribute bit is set on the custom action (MsiInstallDrivers).
Posted by: prashanth 15 years ago
Orange Belt
0
Hi Kim Bokholm ,
where can i find this attribute??

Thanks in advance
Posted by: prashanth 15 years ago
Orange Belt
0
Hi Kim Bokholm ,
i set attritube as mentioned above .After setting , while installing application its follwing a fatal error.
Posted by: prashanth 15 years ago
Orange Belt
0
Hey Kim Bokholm ,

It worked.....................
Thanks for the solution.
Posted by: prashanth 15 years ago
Orange Belt
0
Hey Kim Bokholm,
Can you please the use of the attritube you mentioned above ??
What does it do ??
Why the repairing worked fine in admin account and not in test user account without this property being set?

Thanks in Advance..
Posted by: AngelD 15 years ago
Red Belt
0
Hi prashanth,

This attribute bit will make sure the custom action is launched under the system context instead of the user who executed the installation or triggered the repair.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
have a read of this ..

http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724!167.entry

the deferred phase has two processes it can run in.

System (msidbCustomActionTypeNoImpersonate) / User
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ