plug-in writing

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

plug-in writing

Postby HelloWorld » Wed Nov 30, 2005 8:43 am

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

Postby HelloWorld » Thu Dec 01, 2005 2:28 pm

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Dec 01, 2005 3:37 pm

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

Postby HelloWorld » Thu Dec 01, 2005 3:41 pm

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Dec 01, 2005 3:46 pm

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

Postby HelloWorld » Thu Dec 01, 2005 3:54 pm

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Dec 01, 2005 3:55 pm

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

Postby HelloWorld » Thu Dec 01, 2005 4:16 pm

Just a question, Bundle Files has a result value. What can be the possible result values?

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Dec 01, 2005 4:34 pm

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

Postby wolbrink » Fri Dec 02, 2005 10:16 am

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


"SUCCESS" or "ERROR"

--Troy


Return to “Plug-In Development”

Who is online

Users browsing this forum: No registered users and 33 guests