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: setup not returing from Custom Action
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
‎Jul 04, 2008
09:39 AM
setup not returing from Custom Action
Hi,
I have custom action which I am runnnig in deferred execution in system context.
I have few .net assemblies and this installscript registers these assemblies.
This msi registess the file correctly, after the registration it is not returing from the custom action and the installation hangs. It is not even ending when I selected cancle. I am returing ERROR_SUCCESS from CA ( even I tried without any return statement ). Return Processing in the custom action property is set to Synchonous ( check exit code )
Am I doing anything wrong. I don't have roll back custom action.
please advice.
MSI log is having following line
05507: (Unknown): 1: RegisterAssembly :: regasmPath C:\WINNT\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe E:\Client_08.07.040\Dlls\UIComponent.dll /codebase /tlb /register /s
05508: (Unknown): 1: RegisterAssembly:: Ends here, returning ERROR_SUCCESS [This is my last line in the script ]
05508: (Unknown): InstallShield 8:58:55: CallScriptFunctionFromMsiCA() ends
05509: (Unknown): Action 9:12:58: CancelSetup. Dialog created
[This is the last line...I had to kill the setup to terminate the msi]
Thanks....
I have custom action which I am runnnig in deferred execution in system context.
I have few .net assemblies and this installscript registers these assemblies.
This msi registess the file correctly, after the registration it is not returing from the custom action and the installation hangs. It is not even ending when I selected cancle. I am returing ERROR_SUCCESS from CA ( even I tried without any return statement ). Return Processing in the custom action property is set to Synchonous ( check exit code )
Am I doing anything wrong. I don't have roll back custom action.
please advice.
MSI log is having following line
05507: (Unknown): 1: RegisterAssembly :: regasmPath C:\WINNT\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe E:\Client_08.07.040\Dlls\UIComponent.dll /codebase /tlb /register /s
05508: (Unknown): 1: RegisterAssembly:: Ends here, returning ERROR_SUCCESS [This is my last line in the script ]
05508: (Unknown): InstallShield 8:58:55: CallScriptFunctionFromMsiCA() ends
05509: (Unknown): Action 9:12:58: CancelSetup. Dialog created
[This is the last line...I had to kill the setup to terminate the msi]
Thanks....
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2008
04:27 PM
Howdy,
have you tried changing the Return Processing to Synchronous (Ignores Exit Code)? I had something similar to your issue but had to change mine to Asynchronous (No wait for completion).
Hope this helps.
have you tried changing the Return Processing to Synchronous (Ignores Exit Code)? I had something similar to your issue but had to change mine to Asynchronous (No wait for completion).
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2008
12:09 AM
Thanks Arnold for the reply.
I didn't try Synchronous (Ignores Exit Code), instead I recreated the custom action, this solved the problem. I didn't make any changes to the InstallScript, just the recreation of the CA worked. I really don't know what went wrong.
Thanks....
I didn't try Synchronous (Ignores Exit Code), instead I recreated the custom action, this solved the problem. I didn't make any changes to the InstallScript, just the recreation of the CA worked. I really don't know what went wrong.
Thanks....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2008
06:53 AM
rrbilgi wrote:
Thanks Arnold for the reply.
I didn't try Synchronous (Ignores Exit Code), instead I recreated the custom action, this solved the problem. I didn't make any changes to the InstallScript, just the recreation of the CA worked. I really don't know what went wrong.
Thanks....
Maybe the entry in the Table "Custom Action" where corrupted or whatelse.. and therefore the CA fails.. however.. deleteing and recreating often helps to cleanup table
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)