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: How to run Installer class in deferred execution (Terminal Server Aware)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Feb 07, 2012
11:37 PM
How to run Installer class in deferred execution (Terminal Server Aware)
I have an installer class which i am adding it to one basic msi project.
I wanted to set the Installer class in-script execution to deferred execution (Terminal Server Aware). but when ever i try to add the installer class dll to a component and take a build i can see that in the generated msi that its in-script is set as Deferred Execution in system context.
Can anyone tell me How to set the in-script execution to deferred execution (Terminal Server Aware) for the installer class?
I wanted to set the Installer class in-script execution to deferred execution (Terminal Server Aware). but when ever i try to add the installer class dll to a component and take a build i can see that in the generated msi that its in-script is set as Deferred Execution in system context.
Can anyone tell me How to set the in-script execution to deferred execution (Terminal Server Aware) for the installer class?
(4) Replies
‎Feb 09, 2012
12:48 AM
Found the issue:
There is this file in the path\InstallShield\2011\Support\0409\ called Settings.xml where all the CAs settings are set by default.
In it one entry under
For deferred execution (Terminal Server Aware) the Type value should be 17409 editing this xml file has done the job for me.
One downside is that after setting this all the installer class you add to anyproject will be built with this only.
I hope Flexera would come up with some fix for this issue.
There is this file in the path
In it one entry under
For deferred execution (Terminal Server Aware) the Type value should be 17409 editing this xml file has done the job for me.
One downside is that after setting this all the installer class you add to anyproject will be built with this only.
I hope Flexera would come up with some fix for this issue.
‎Feb 13, 2012
10:40 AM
You can always create the actions which launch the installer class yourself, and disable the option for that component. I would not expect to see the addressed further in future releases, as installer classes have horrible failure behaviors that can only be fixed by the providers of InstallUtilLib.dll
‎Feb 14, 2012
08:08 AM
I would take MichaelU's advice about how horrible InstallUtil is. I would also note that there is a most excellent alternative to Installer Classes you just won't ever see it muttered from his lips.
Google Windows Installer XML DTF Custom Actions. In a nutshell it's a very rich SDK for building .NET custom actions that appear as C++ custom actions ( Type 1 ) to Windows Installer. It gives you the full power of the MSI Interop at runtime and is fully compatible with InstallShield.
It's the gold standard for managed code custom actions.
Google Windows Installer XML DTF Custom Actions. In a nutshell it's a very rich SDK for building .NET custom actions that appear as C++ custom actions ( Type 1 ) to Windows Installer. It gives you the full power of the MSI Interop at runtime and is fully compatible with InstallShield.
It's the gold standard for managed code custom actions.