Sep 05

I never could find a good script to check to see if a Macromedia Contribute key had been installed for a user on a machine, and if not then to run the key. So I made one. This one is for Contribute 2, but I think it will work with 3 (if you change the Site folder to 3). And it assumes that the user will only be running one Site. I make the Contribute Icon/Shortcut point to this script.

You will need to change “h:\” to the location of your key. You will need to save the following script as a .vbs

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objNetwork = WScript.CreateObject(“WScript.Network”)
strUserName = objNetwork.UserName
If objFSO.FileExists(“C:\Documents and Settings\” & strUserName & “\Local Settings\Application Data\Macromedia\Contribute 2\Sites\Site1\_mm\contribute.xml”) Then
Set wshShell = WScript.CreateObject (“”) “””C:\Program Files\Macromedia\Contribute 2\Contribute.exe”””, 6, True
set wshshell = nothing
Wscript.Echo “Your Contribute Key needs to be installed on this computer. Click OK to begin.”
Set wshShell = WScript.CreateObject (“”) “h:\”, 6, True
set wshshell = nothing
End If



3 Responses to “Script to Install Macromedia Contribute Key”

  1. Says:

    I’m Christina Mills by title. I dwell in South Africa, i want to
    use this medium to alert all loan seekers to be very careful as a result of there are scammers months ago I was financially strained, and as a result of my desperation I used to be scammed by several online

  2. Andro Boost X Says:

    I appreciate, result in I found exactly what I was taking a look for.
    You have ended my 4 day long hunt! God Bless you man. Have a great day.

  3. Says:

    Awesome! Its truly remarkable paragraph, I hae got muxh cpear idea regarding from this post.

Leave a Reply