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

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
Make sure the msidbCustomActionTypeNoImpersonate attribute bit is set on the custom action (MsiInstallDrivers).
Answered 06/24/2008 by: AngelD
Red Belt

Please log in to comment
0
Hi Kim Bokholm ,
where can i find this attribute??

Thanks in advance
Answered 06/24/2008 by: prashanth
Orange Belt

Please log in to comment
0
Hi Kim Bokholm ,
i set attritube as mentioned above .After setting , while installing application its follwing a fatal error.
Answered 06/24/2008 by: prashanth
Orange Belt

Please log in to comment
0
Hey Kim Bokholm ,

It worked.....................
Thanks for the solution.
Answered 06/24/2008 by: prashanth
Orange Belt

Please log in to comment
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..
Answered 06/24/2008 by: prashanth
Orange Belt

Please log in to comment
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.
Answered 06/24/2008 by: AngelD
Red Belt

Please log in to comment
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
Answered 06/24/2008 by: jmcfadyen
Fifth Degree Black Belt

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