plug-in writing

Interested in developing new plug-ins? Got one to share? Post here!
Post Reply
HelloWorld
Posts: 25
Joined: Wed Nov 23, 2005 10:21 am

plug-in writing

Post by HelloWorld »

Hi,

i need to make a check/install plug-in for a product. Is there an example for this particulare need?
HelloWorld
Posts: 25
Joined: Wed Nov 23, 2005 10:21 am

Post by HelloWorld »

OK, made a plugin by myself.

Now a Delphi-question. I need to install a application, like
msiexec -p "somepackage.msi" /silent /noreboot

How can I check if everything went ok? :roll: If someone has an example in any other language, please help....
sinan
Site Admin
Posts: 1036
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Hmm, might be best if you use the built-in (Un)Install MSI Setup plug-in for that. It already features:

* full command line support
* full install/uninstall support
* full progress capture
* pretty much everything else

No need to reinvent the wheel :)
HelloWorld
Posts: 25
Joined: Wed Nov 23, 2005 10:21 am

Post by HelloWorld »

If i use the Install MSI Setup the msi-package can't be in a media block. Or how can I achieve that?
sinan
Site Admin
Posts: 1036
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Good point. You may use the Bundle Files plug-in available on this forum to put the MSI in a weblock. Or you may use the Download File plug-in to download it dynamically.
HelloWorld
Posts: 25
Joined: Wed Nov 23, 2005 10:21 am

Post by HelloWorld »

The problem of Download File that it makes the Single Setup pretty useless and i cant see how Bundle Files will solve my problem...
sinan
Site Admin
Posts: 1036
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Bundle Files does exactly what you want - it adds files to a project as sort of "support files", but can put them in web media blocks. So you can serve both single and web builds automatically with it.
HelloWorld
Posts: 25
Joined: Wed Nov 23, 2005 10:21 am

Post by HelloWorld »

Just a question, Bundle Files has a result value. What can be the possible result values?
sinan
Site Admin
Posts: 1036
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

I do not know - I believe the plug-in author should be able to help.
wolbrink
Posts: 76
Joined: Wed Nov 17, 2004 3:00 pm

Post by wolbrink »

HelloWorld wrote:Just a question, Bundle Files has a result value. What can be the possible result values?
"SUCCESS" or "ERROR"

--Troy
Post Reply