cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kumarmudedla
Level 2

Setting permissions for 64 bit registry Error 27555. Error attempting to apply permis

Hello,

I am using Installshield 2013

I am trying to give "Users" group full permissions to the below registry key in 64 bit, the registry key is installing fine to 64 bit registry but when I try to give permissions in the msi using the "[SIZE=2]Custom Installshield Handling[/SIZE]" method getting the below errors at msi install
HKEY_LOCAL_MACHINE\SOFTWARE\MyApp

I made the components 64 bit and msi to 64 bit (template summary x64;1033) th reg key install in correct 64 bit location but at the time of applying the permissions getting the below errors it seems that there is a problem with "ISLockPermissions.dll" file

Flexera said this issue already fixed in Installshield 2012 but still the issue is there we cant use "Custom Installshield Handling" for 64 bit registry permissions.


InstallShield 21:18:22: Error extracting ISBEW64.exe from ISLockPermissions.dll
..
..
InstallShield 21:18:22: Failed to initialize 64-bit helper, error 80070002
InstallShield 21:18:22: Failed to obtain 64-bit helper process for permission item 'MACHINE\Software\MyApp', error '80070002'
InstallShield 21:18:22: Failed to apply permissions for object 'MACHINE\Software\MyApp', error 0x80070002
Error 27555. Error attempting to apply permissions to object 'MACHINE\Software\MyApp'. System error: The system cannot find the file specified.
(-2147024894)
MSI (s) (90!D8) [21:19:05:244]: Product: My Project Name-1 -- Error 27555. Error attempting to apply permissions to object 'MACHINE\Software\MyApp'. System error: The system cannot find the file specified.
(-2147024894)

InstallShield 21:19:05: Error returned from ApplyPermissionsItems: 0x00000643
CustomAction ISLockPermissionsInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

We've tried this here in a sample Basic MSI project and the installation completes successfully with permissions set as expected.

Does this behavior occur with any project or just this one? For example, if you create a Basic MSI project (with x64;1033 template summary) that includes one feature, one component (set to 64-bit), and a HKEY_LOCAL_MACHINE registry key, does the project install successfully if permissions are set for this test key?

If this issue occurs only with one project, does this project fail on any 64-bit machine? Can you successfully configure permissions on other 64-bit registry entries (such as ones in other components)?
0 Kudos