cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shawntp
Level 3

ISSelfRegisterFiles doesn't finish/return/close handles on Vista

We have been seeing an issue with a setup that only sometimes happens on Vista. During self-registration of flagged files the ISSelfRegisterFiles custom action seems to die out while in the middle of successfully registering files.

It doesnt complete, throw an error, return, or anything - there is just a message that it cant close the handle and then it moves on to the next action skipping the registration of all remaining flagged files and raising no error to the end user.

Here is an excerpt from logging:
Action 15:40:10: ISSelfRegisterFiles.
InstallShield 15:40:11: Initializing Property Bag...
InstallShield 15:40:12: Getting file count from property bag
InstallShield 15:40:12: File Count : 234
InstallShield 15:40:12: Sorting Based On Order...
InstallShield 15:40:12: This setup is running on a 32-bit Windows...No need to load ISBEW64.exe
InstallShield 15:40:55: Registering file xxxxxxxxxxxxxxxxx
InstallShield 15:40:55: Registering file yyyyyyyyyyyyyyyyy
InstallShield 15:40:55: Registering file zzzzzzzzzzzzzzzzzzz
Info 2769.Custom Action ISSelfRegisterFiles did not close 1 MSIHANDLEs.

Then it just continues on with the next action not finishing file registration or raising an error - we only see this on Vista!
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

Is the ISSelfRegisterFiles custom action's in-script execution setting set to "deferred in system context" in your project? Does the action behave any different if you run the setup as administrator?
0 Kudos
shawntp
Level 3

Yes it is deferred in system context and the setup has a defined required execution level of administrator.
0 Kudos