Page 1 of 1
HELP with setting variables from C# function
Posted: Tue Feb 10, 2015 4:47 am
by Riccardo_Amico
Hi,
i need to set some variable inside IA from a C# function.
i know that with IS and his refernce "InstallShield.interop.msi" i can handle the custom action,
is there something similar?is this possible?
thanks
Riccardo
Re: HELP with setting variables from C# function
Posted: Tue Feb 10, 2015 1:47 pm
by FrancescoT
Dear Riccardo,
this is possible via IA Plugin. Please refer to the "Plug-In Authoring Overview" topic available with the InstallAware documentation.
In addition search for "Dot NET plugins" or "Net Bridge Plugins" in the "Plug-In Development" Forum.
Regards
Re: HELP with setting variables from C# function
Posted: Thu Feb 12, 2015 5:46 am
by Riccardo_Amico
Hi francesco,
i read all this post "Bridge plug-in runtime error", i tryed to follow all the steps,but it doesn't work.
i am very new , and if you can help me, i will follow all the steps that i need to do.
can you please tell me every single step?or give me a working sample in this way i can study it.
thanks
Riccardo
Re: HELP with setting variables from C# function
Posted: Thu Feb 12, 2015 2:15 pm
by FrancescoT
Dear Riccardo,
with the link below is available a ready to use "Net Plugin sample".
http://www.installaware.com/forum/viewtopic.php?f=3&t=8868The above sample includes also the VS 2010 Net C# projects with the full source code and it demonstrates with very basic coding, how to handle InstallAware variables during a plugin execution.
Hope this helps you.
Regards
Re: HELP with setting variables from C# function
Posted: Fri Feb 13, 2015 3:29 am
by Riccardo_Amico
hi Francesco,
i tryed to watch your sample but i can't download it, because i can't find the file, and the page showed me the error attached below.
thanks
Riccardo
Re: HELP with setting variables from C# function
Posted: Fri Feb 13, 2015 5:36 am
by bokkie
Riccardo,
If Francesco is okay with my suggestion, let him contact you by email and he can give you my email address. If you then contact me, I can send you a working example of a plugin. I can answer any questions you might have.
Re: HELP with setting variables from C# function
Posted: Fri Feb 13, 2015 6:21 am
by Riccardo_Amico
hi bokkie,
yes no problem if you or Francesco want to contact me.
thanks
Riccardo
Re: HELP with setting variables from C# function
Posted: Fri Feb 13, 2015 6:35 am
by FrancescoT
Dear Riccardo,
contact me at
support@installaware.com and I'll send you Peter's email address.
Thanks Peter!
Regards
Re: HELP with setting variables from C# function
Posted: Fri Feb 13, 2015 10:05 am
by bokkie
Thanks Francesco. Riccardo, over to you.