- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Msi installation custom action is skipped during installation, how to fix that?
- 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
Msi installation custom action is skipped during installation, how to fix that?
When I keep the custom action condition to "Not Installed", it is running during installation. So, to be able to run the custom action during repair also, I set the condition to "NOT REMOVE".
But, it is not running during installation also now. On the fresh machine, not installed before the msi.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi rsingh1
Did you sequence the customaction in UI Sequence or install Exec sequence ? If its sequenced properly and still its not running the customaction, then please share the installation verbose log,
Here is a link to documentation about how to generate a verbose Installation log:
https://community.flexera.com/t5/InstallShield-Knowledge-Base/Logging-an-MSI-Installation/ta-p/4323
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Now there is one more issue. We are trying to provide permissions using LockPermissions table and we are getting error on non-english OS machines. So, removed that added as a custom action vbscript using icacls command. And that is failing to add permissions to non-english and working on english machines. It can't apply permissions to users group. How to provide that?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
What error you are seeing on non english machine could you please share error message or error screenshot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
With LockPermissions table entry, shown in image.png attached.
With icacls:
Operation failed Return code 1332.
And it described as "No mapping between account names and security IDs was done."
And I understood Users is written as Usuarios in the Brazilian machine.
But how to set permissions to Users folder using a language independent code so that it would apply to all the machines even the languages are different.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
It due to the specific user is not available in that machine and its available in different name.
Could you please try the suggestions provided in the community discussion for similar issue
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)