I am looking at developing a new plugin. Could someone post an example plugin code in c++, it can be simple, so that I could review it? I would like something beyond the stubbed out wizard.
Thanks,
Jeff
Sample Plugin code
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Great news! This source just came in for the Eval plug-in. Thank you Christian Zangl for making this source code available!
File Attached:
Eval.zip
File Attached:
Eval.zip
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 6
- Joined: Tue May 23, 2006 3:27 pm
- Location: Ohio
-
- Posts: 6
- Joined: Tue May 23, 2006 3:27 pm
- Location: Ohio
Re: Sample Plugin code
Thank you from 6 years in the future.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Sample Plugin code
Dear tofutim,
Probably you missed that InstallAware actually comes with Plug-in sample projects available for MS VC++ or Delphi.
Click the InstallAware button, then choose New Project Other.
On the Plug-Ins tab, pick a plug-in template.
Regards
Probably you missed that InstallAware actually comes with Plug-in sample projects available for MS VC++ or Delphi.
Click the InstallAware button, then choose New Project Other.
On the Plug-Ins tab, pick a plug-in template.
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
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
Re: Sample Plugin code
I did miss that. I only found empty templates for VC++ and Delphi that are non-working (no dialog or text). Where are the samples?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Sample Plugin code
Dear tofutim,
those are Plugins projects templates examples and contains all the required code to have a plugin working!!
It is supposed that a C++ or Delphi developer already knows how to display a dialog using Win API.
Regards
those are Plugins projects templates examples and contains all the required code to have a plugin working!!
It is supposed that a C++ or Delphi developer already knows how to display a dialog using Win API.
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
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
Re: Sample Plugin code
For the future, it would be nice to include '__declspec(dllexport) int WINAPI DesignTimeText(const char* State, char* Text)' in the template example, as well as returning and filling State/Text. It turned out that I forgot to update 'mIDEPlug.def' with DesignTimeText, so it wasn't working. All good now!
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Sample Plugin code
That's true ... is missed the function prototype declaration.
Regards.
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
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
Return to “Plug-In Development”
Who is online
Users browsing this forum: No registered users and 61 guests