This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: ISSelfRegisterFiles doesn't finish/return/close handles on Vista
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
03:03 PM
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!
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!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
03:51 PM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2008
09:03 AM
Yes it is deferred in system context and the setup has a defined required execution level of administrator.