HELP with setting variables from C# function

Got a problem you cannot solve? Try here.
Post Reply
Riccardo_Amico
Posts: 5
Joined: Tue Feb 10, 2015 3:22 am

HELP with setting variables from C# function

Post 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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: HELP with setting variables from C# function

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Riccardo_Amico
Posts: 5
Joined: Tue Feb 10, 2015 3:22 am

Re: HELP with setting variables from C# function

Post 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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: HELP with setting variables from C# function

Post by FrancescoT »

Dear Riccardo,

with the link below is available a ready to use "Net Plugin sample".
http://www.installaware.com/forum/viewt ... f=3&t=8868

The 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Riccardo_Amico
Posts: 5
Joined: Tue Feb 10, 2015 3:22 am

Re: HELP with setting variables from C# function

Post 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
Attachments
att.PNG
att.PNG (21.78 KiB) Viewed 7458 times
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: HELP with setting variables from C# function

Post 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.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Riccardo_Amico
Posts: 5
Joined: Tue Feb 10, 2015 3:22 am

Re: HELP with setting variables from C# function

Post by Riccardo_Amico »

hi bokkie,

yes no problem if you or Francesco want to contact me.

thanks

Riccardo
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: HELP with setting variables from C# function

Post by FrancescoT »

Dear Riccardo,

contact me at [email protected] and I'll send you Peter's email address.

Thanks Peter!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: HELP with setting variables from C# function

Post by bokkie »

Thanks Francesco. Riccardo, over to you.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Post Reply