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: Passing parameters to Managed-Code CA
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
‎Aug 11, 2011
02:11 AM
Passing parameters to Managed-Code CA
Hi there
I'm converting an old visual deployment project to IS LE for VS 2010.
The .NET assemblies that I'm installing have classes derived from Installer. For each of these assemblies I have checked "Installed Class" check box on COM & .NET Settings tab of the File Properties dialog.
As expected protected override void OnBeforeInstall(IDictionary savedState) is called but I can't figure out how to pass parameters to the method. My aim is to use Context.Parameters["XYZ"].
Is it achievable in IS LE? Or do I need full edition of Install Shield to do it?
Please point me to some samples or docs.
Unfortunately the documentation for IS LE is a bit light on this subject. I found some threads within this forum but they point to dead references.
Thank you
Boris
I'm converting an old visual deployment project to IS LE for VS 2010.
The .NET assemblies that I'm installing have classes derived from Installer. For each of these assemblies I have checked "Installed Class" check box on COM & .NET Settings tab of the File Properties dialog.
As expected protected override void OnBeforeInstall(IDictionary savedState) is called but I can't figure out how to pass parameters to the method. My aim is to use Context.Parameters["XYZ"].
Is it achievable in IS LE? Or do I need full edition of Install Shield to do it?
Please point me to some samples or docs.
Unfortunately the documentation for IS LE is a bit light on this subject. I found some threads within this forum but they point to dead references.
Thank you
Boris
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2011
09:52 AM
Hello Boris,
DLL Custom Action functionality is available in InstallShield Premier/Professional/Express Edition. InstallShield Limited Edition includes support for executable file, VBScript, and JScript custom actions, but it does not include support for DLL custom actions.
Thanks,
Bharath
DLL Custom Action functionality is available in InstallShield Premier/Professional/Express Edition. InstallShield Limited Edition includes support for executable file, VBScript, and JScript custom actions, but it does not include support for DLL custom actions.
Thanks,
Bharath
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2011
02:08 PM
"Installed Class" check box on COM & .NET Settings tab of the File Properties dialog is editable and Installer overrides are called in this version - the only functionality missing is settinf Context.Parameters dictionary.
Just to clarify - I'm not after calling C-style functions from a DLL, my question is about Managed .NET CLR custom actions that appesr to be available in this version.
Please confirm
Just to clarify - I'm not after calling C-style functions from a DLL, my question is about Managed .NET CLR custom actions that appesr to be available in this version.
Please confirm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 17, 2011
10:37 AM
Hello Boris,
Could you kindly refer the following KB article which states about COM and .NET Settings Tab.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=InstallShield2011Express-IDlgFilePropertiesComNetSettingshtm&sliceId=&docTypeID=DT_MACROVISIONHELPNET_1_1&dialogID=114152676&stateId=0%200%20114150249
You can also check the following topic under help of InstallShield Limited Edition.
Thanks,
Bharath
Could you kindly refer the following KB article which states about COM and .NET Settings Tab.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=InstallShield2011Express-IDlgFilePropertiesComNetSettingshtm&sliceId=&docTypeID=DT_MACROVISIONHELPNET_1_1&dialogID=114152676&stateId=0%200%20114150249
You can also check the following topic under help of InstallShield Limited Edition.
Thanks,
Bharath
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2012
08:13 PM
Did anyone ever provide a response to this? Looks like the converter from setup projects transfers over the arguments as specified in the setup project. But then there is no way to edit them through the InstallShield LE UI... I was able to edit using Orca, of course, but this is no solution.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2012
06:13 AM
Hello Eric,
I'm currently working on the issue and i would update you as soon as i have further information.
Thanks,
Bharath
I'm currently working on the issue and i would update you as soon as i have further information.
Thanks,
Bharath